Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ public ElasticSearchBase.SearchResult searchByParameters(List<String> keywords,
// Nothing to do as except null as default
}
// Get the score after parsing
// TODO: !! It is not good to set score due to fact that the text search include match on filter
// in case of text where filter is the only match, the score will become null (only fuzzy match have score)
// then if you set a score, you have nothing match. In the future, this score should be removed if we
// do not encounter a good use case. !!
Double score = null;
try {
if (setting.get(CQLElasticSetting.score) != null &&
Expand Down
Loading