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

Searching with facet value in search box

Former Member
0 Likes
799

Hello Experts,

Does Hybris provide a configuration to search with a facet value in the search in order to get the respective products in auto suggestion box and also the search results.

For instance : If we have a facet 'color', I would like to get the relevant results in the auto suggestions and the search results page when i type 'white' in the search box.

Please provide your inputs.

Thanks & Regards, Karthika

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Hello Rafael, AMD,

I have configured a SolrSearchQueryProperty as suggested and also enabling the properties on the SoleIndexedProperty but i dont get the desired result. The log prints this warning - WARN [hybrisHTTP10] [DefaultFreeTextQueryBuilder] Not searching de.hybris.platform.solrfacetsearch.config.IndexedProperty@2bd1c4c3. Free text search not available in facet property. Configure an additional text property for searching.

Any thoughts around this? Thanks in advance.

Regards, Karthika

Former Member
0 Likes

Hi Karthika ,

Please share log as well as SolrIndexPpty and SolrSearchQueryProperty for this attribute ,

Meanwhile for now ,

Can you create a new index property for "color" , have the same config as that of existing "color" , without it being a facet as well as type being a text .

Then have a SolrSearchQueryProperty for your new color property , This may work ,

Arun

Former Member
0 Likes

Hi ,

You need to enable useForSpellchecking and useForAutocomplete in SolrIndexedProperty . Then Add SolrSearchQueryProperty for your attribute ,

Hope this helps ,

AMD

0 Likes

You need to enable hybris to try to find coincidences in this indexed property and also enable this property to be used in autocomplete/suggestions.

Check this link: https://help.hybris.com/1811/hcd/a7f5d292925240ffbe6c94ae17e3f351.html