You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH query_vector AS (
SELECT bm25_query_to_svector(
'documents_content_bm25',
'Paris capital france',
'pgvector'
)::sparsevec AS qv
)
SELECT qv FROM query_vector;
This suggests there is some weighting of the three tokens in that query.
My understanding is that bm25 typically has no term weighting, but perhaps I'm misunderstanding the implementation (or what is considered standard for bm25).
The text was updated successfully, but these errors were encountered:
For example running a query like:
yields:
This suggests there is some weighting of the three tokens in that query.
My understanding is that bm25 typically has no term weighting, but perhaps I'm misunderstanding the implementation (or what is considered standard for bm25).
The text was updated successfully, but these errors were encountered: