Skip to content

Commit

Permalink
docs: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
charnould committed Dec 15, 2024
1 parent d0fa51d commit 0a1a76f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/search-by-bm25.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export const bm25_search = (keyword: string, context: AIContext) => {
export const query_db = (db_name: Db_Name, keyword: string) => {
const stemmed_keywords = stem(keyword)

console.log('FTS5 search with: ', stemmed_keywords)

if (stemmed_keywords !== '') {
// The rank column is the negative bm25 score
// https://www.sqlite.org/fts5.html#:~:text=The%20%22%2D1%22%20term,numerically%20lower%20scores.
Expand Down

0 comments on commit 0a1a76f

Please sign in to comment.