on 2018 Apr 12 1:19 PM
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.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.