Closed xansrnitu closed 7 months ago
Thanks for reporting. The bm25 feature is correct during ranking (e.g if you output it as the first-phase score), but becomes 0 in sumary-features/match-features.
This is fixed in Vespa 8.302.40. System tests added in https://github.com/vespa-engine/system-test/pull/3322 and https://github.com/vespa-engine/system-test/pull/3327.
Describe the bug I am always getting bm25 score as zero even though the target text field contains my search key.
To Reproduce Steps to reproduce the behavior:
My Schema and ranking definition (python)-
Now, if I query with -
returns 'features': {'my_bm25': 0.0} despite the fact that "content" field contains "Jaganmohan". I have tried with some other queries as well, all giving 0 score.
Environment (please complete the following information):
Vespa version 8.279.6
Additional context nativeRank(content) is returning positive score ( > 0)