Add BM25 and TFIDF Scoring to the text index #1688
82.37% of diff hit (target 89.86%)
View this Pull Request on Codecov
82.37% of diff hit (target 89.86%)
Annotations
Check warning on line 227 in src/index/Index.cpp
codecov / codecov/patch
src/index/Index.cpp#L225-L227
Added lines #L225 - L227 were not covered by tests
Check warning on line 278 in src/index/IndexImpl.Text.cpp
codecov / codecov/patch
src/index/IndexImpl.Text.cpp#L278
Added line #L278 was not covered by tests
Check warning on line 661 in src/index/IndexImpl.Text.cpp
codecov / codecov/patch
src/index/IndexImpl.Text.cpp#L661
Added line #L661 was not covered by tests
Check warning on line 1018 in src/index/IndexImpl.Text.cpp
codecov / codecov/patch
src/index/IndexImpl.Text.cpp#L1018
Added line #L1018 was not covered by tests
Check warning on line 1027 in src/index/IndexImpl.Text.cpp
codecov / codecov/patch
src/index/IndexImpl.Text.cpp#L1020-L1027
Added lines #L1020 - L1027 were not covered by tests
Check warning on line 279 in src/index/IndexImpl.h
codecov / codecov/patch
src/index/IndexImpl.h#L279
Added line #L279 was not covered by tests
Check warning on line 35 in src/index/TextScoring.cpp
codecov / codecov/patch
src/index/TextScoring.cpp#L34-L35
Added lines #L34 - L35 were not covered by tests
Check warning on line 122 in src/index/TextScoring.cpp
codecov / codecov/patch
src/index/TextScoring.cpp#L116-L122
Added lines #L116 - L122 were not covered by tests
Check warning on line 132 in src/index/TextScoring.cpp
codecov / codecov/patch
src/index/TextScoring.cpp#L129-L132
Added lines #L129 - L132 were not covered by tests
Check warning on line 145 in src/index/TextScoring.cpp
codecov / codecov/patch
src/index/TextScoring.cpp#L141-L145
Added lines #L141 - L145 were not covered by tests
Check warning on line 18 in src/index/TextScoring.h
codecov / codecov/patch
src/index/TextScoring.h#L18
Added line #L18 was not covered by tests
Check warning on line 24 in src/index/TextScoring.h
codecov / codecov/patch
src/index/TextScoring.h#L24
Added line #L24 was not covered by tests
Check warning on line 18 in src/parser/WordsAndDocsFileParser.cpp
codecov / codecov/patch
src/parser/WordsAndDocsFileParser.cpp#L17-L18
Added lines #L17 - L18 were not covered by tests