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

Does not work stopword in case of a fuzzy query

Former Member
0 Likes
615

Hi experts

I'm using hybris 6.5. I need to use stop words and fuzzy query. So for example I have query: name_text_en:AÚN~1 In solr server I have names au au au AÚN("name_text_en":"au au au AÚN, 8"). I've added AÚN as stopword. I've done export and index. Also in solr data I've had json after export and index

 {
   "initArgs":{"ignoreCase":"true"},
   "initializedOn":"2018-04-11T10:10:08.141Z",
   "updatedSinceInit":"2018-04-11T10:13:59.106Z",
   "managedList":[
     "aun",
     "aún"]}

And result is product with name au au au AÚN. It means the stop word do not work. If I have query name_text_en: AÚN~0 result is empty. But in this case we don't have fuzzy.

I've found Stopwords and Synonyms HybrisStopWordsFilterFactory but in the project I can't found and if I'm using it I have exception class not found

Can anyone help? I need fuzzy search and stopwords.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

First the HybrisStopWordsFilterFactory had been removed some releases before in favor of the standard solr.StopFilterFactory.

Second: the stop words and synonyms does not work with fuzzy queries, this is a Solr limitation not Hybris, please refer to https://issues.apache.org/jira/browse/SOLR-2309

Answers (0)