We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8138e26 commit 2e446d0Copy full SHA for 2e446d0
src/apis/kewordSearchTigerDocs.ts
@@ -64,9 +64,9 @@ SELECT
64
id::int,
65
content,
66
metadata::text,
67
- -(content <@> to_tpquery($1, 'docs.timescale_chunks_content_idx')) as score
+ -(content <@> to_bm25query($1, 'docs.timescale_chunks_content_idx')) as score
68
FROM ${schema}.timescale_chunks
69
- ORDER BY content <@> to_tpquery($1, 'docs.timescale_chunks_content_idx')
+ ORDER BY content <@> to_bm25query($1, 'docs.timescale_chunks_content_idx')
70
LIMIT $2
71
`,
72
[keywords, limit || 10],
0 commit comments