cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOLR Issue With addBoost()Method

Former Member
0 Likes
249

Hello,

Have few queries related to SOLR. I'm trying to do "FreeTextSeachwithTemplate" and also i need to add boost value to another filed name to filter my free text search result with Boost Rule.

Im getting error as below,

Code: searchQuery.addBoost(QUER_COUNTRY,SearchQuery.QueryOperator.EQUAL_TO,code, Float.valueOf(boostLevel), BoostField.BoostType.ADDITIVE);

WARN [hybrisHTTP25] [SolrAsSearchProfileCalculationListener] Boost rule country_stringnullCA is not longer valid!

Code: searchQuery.addBoost(QUER_COUNTRY,SearchQuery.QueryOperator.MATCHES,code, Float.valueOf(boostLevel), BoostField.BoostType.ADDITIVE);

WARN [hybrisHTTP22] [SolrAsSearchProfileCalculationListener] Boost rule country_string:MATCHAU is not longer valid!

Thanks in advance !

Accepted Solutions (0)

Answers (0)