on 01-02-2018 7:39 AM
Hi Experts, When we search in the search box for any category it will display search related categories but in that I want to remove the one category from the solr search in the search box component ,but later i wanted to add ,so only in the search box i wanted to remove. so how can i achieve this could you please any one help me . Many Thanks in advance
Hi Mithlesh - are you looking to prevent the category being indexed in the first place ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So to summarize. You have an autosuggestions fearture that will show you list of categories when you enter a search term? It will suggest categories, phrases, products or only categories? Or you are referring to a category facet that is being shown after executing a search? Do you only want to remove a category from the list or you also want to exclude products from this category to be returned? Which hybris version?
Hi Grzgorz, yes you are right , i want to remove only one category from that list and we are using hybris 6.2 version. and if possible tell me how solr decides the order for this where we can find the config, i think there is property "spellcheck.onlyMorePopular" is this defines or any other config is there to define the order of those list of categories in the search box.
Thanks,
Hi Guys,
If i want to completely remove one particular category and its associated product from eCommerce site and from Solr Search .
then how i can do.........is the same ways you have already mentioned.
Could you please provide me impex script to remove one particular category and its associated all products from eCommerce site and Solr Search.
Its very helpful for me .
Thanks in advance .......
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , For your information i found here how the order displays in the search box when we search something and i changed the property "spellcheck.onlyMorePopular" to false as they mentioned in the below link but i couldnt get the results as alphabetically after changed it to false also there is no change in the results, can you check if it helps https://wiki.apache.org/solr/Suggester/
And Thanks for your valuable time to given for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need to change here
<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
<lst name="defaults">
<str name="spellcheck">true</str>
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck.onlyMorePopular">true</str>
<str name="spellcheck.count">5</str>
<str name="spellcheck.collate">true</str>
</lst>
<arr name="components">
<str>suggest</str>
</arr>
</requestHandler>
could you post a picture of the category list you are referring to? by default there is no category search, only spellchecking and product search. Product search can be configured in hybris, spellcheking order needs to be configured on the solr server level
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well i cannot help you much here, if its a spellchecker then you need to play with it. https://lucene.apache.org/solr/guide/6_6/spell-checking.html
User | Count |
---|---|
5 | |
1 | |
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.