cancel
Showing results for 
Search instead for 
Did you mean: 

Search by name not working correctly ?

former_member634278
Participant
0 Kudos

Hello,

When i do some search on any name on the products that i have , i can see other products coming not related to search that i did with the correct product . i just set names for the products there are no description and summary !

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

You could try to set:

 log4j.logger.de.hybris.platform.solrfacetsearch=debug

in local.properties to see what exactly Solr search is doing.

You will see something like the following and could then analyze (and post here).

 DEBUG [hybrisHTTP4] [DefaultSolrQueryConverter] FIELDS : (ean_string:(pepsi^200.0 OR pepsi*^100.0)) OR (code_string:(pepsi^180.0 OR pepsi*^90.0)) OR (name_text_en:(pepsi^100.0 OR pepsi*^50.0 OR pepsi~^25.0)) OR (keywords_text_en:(pepsi^40.0 OR pepsi*^20.0 OR pepsi~^10.0)) OR (categoryName_text_en_mv:(pepsi^20.0 OR pepsi*^10.0 OR pepsi~^5.0))
 DEBUG [hybrisHTTP4] [DefaultSolrQueryConverter] FIELDS + QUERY: (ean_string:(pepsi^200.0 OR pepsi*^100.0)) OR (code_string:(pepsi^180.0 OR pepsi*^90.0)) OR (name_text_en:(pepsi^100.0 OR pepsi*^50.0 OR pepsi~^25.0)) OR (keywords_text_en:(pepsi^40.0 OR pepsi*^20.0 OR pepsi~^10.0)) OR (categoryName_text_en_mv:(pepsi^20.0 OR pepsi*^10.0 OR pepsi~^5.0))
 DEBUG [hybrisHTTP4] [DefaultFacetSearchService] Solr Query: 
 q=(ean_string:(pepsi^200.0 OR pepsi*^100.0)) OR (code_string:(pepsi^180.0 OR pepsi*^90.0)) OR (name_text_en:(pepsi^100.0 OR pepsi*^50.0 OR pepsi~^25.0)) OR (keywords_text_en:(pepsi^40.0 OR pepsi*^20.0 OR pepsi~^10.0)) OR (categoryName_text_en_mv:(pepsi^20.0 OR pepsi*^10.0 OR pepsi~^5.0))&spellcheck=true&spellcheck.dictionary=en&spellcheck.collate=true&spellcheck.q=pepsi&defType=edismax&bq=&fq=(((catalogId:"productCatalog") AND (catalogVersion:Online)))&start=0&rows=10&facet=true&facet.field=fit_string_mv&facet.field={!ex=fk6}type_en_string&facet.field={!ex=fk26}designationOfOrigin_en_string&facet.field={!ex=fk15}allPromotions_string_mv&facet.field={!ex=fk19}bagType_en_string&facet.field=categoryPath_string_mv&facet.field={!ex=fk16}gas_en_string&facet.field={!ex=fk17}typeOfCover_en_string&facet.field={!ex=fk12}provenance_en_string&facet.field={!ex=fk8}typeOfBookbinding_en_string&facet.field={!ex=fk2}headType_en_string&facet.field=allCategories_string_mv&facet.field={!ex=fk32}flameType_en_string&facet.field={!ex=fk25}inkType_en_string&facet.field={!ex=fk23}format_en_string&facet.field=color_string_mv&facet.field={!ex=fk28}size_en_string&facet.field={!ex=fk7}numberOfSections_en_string&facet.field={!ex=fk4}nicotineLevel_en_string&facet.field={!ex=fk31}typeOfSheets_en_string&facet.field={!ex=fk9}availableInStores_string_mv&facet.field={!ex=fk18}mechanism_en_string&facet.field={!ex=fk24}sugarLevel_en_string&facet.field={!ex=fk13}caffeineLevel_en_string&facet.field={!ex=fk3}manufacturerName_string&facet.field={!ex=fk5}numberOfMouthpieces_en_string&facet.field={!ex=fk22}materialType_en_string&facet.field={!ex=fk11}timeClassification_en_string&facet.field={!ex=fk20}typeOfCards_en_string&facet.field={!ex=fk27}mineralization_en_string&facet.field={!ex=fk0}alcoholLevel_en_string&facet.field={!ex=fk14}variety_en_string&facet.field={!ex=fk29}combustion_en_string&facet.field=category_string_mv&sort=score desc,inStockFlag_boolean asc,score asc,score desc&facet.mincount=1&facet.limit=50&facet.sort=count
 DEBUG [hybrisHTTP4] [DefaultFacetSortProvider] Resolved comparator for facet allCategories sorting : (reversed=false) class de.hybris.platform.solrfacetsearch.search.impl.comparators.FacetDisplayNameComparator
 DEBUG [hybrisHTTP4] [DefaultFacetSortProvider] Resolved comparator for facet manufacturerName sorting : (reversed=false) class de.hybris.platform.solrfacetsearch.search.impl.comparators.FacetDisplayNameComparator
 DEBUG [hybrisHTTP4] [DefaultFacetSearchService] Processing solr search result post-processor : class de.hybris.platform.solrfacetsearch.reporting.processors.SaveResultDataPostProcessor
 DEBUG [hybrisHTTP4] [SolrSearchResult] No facet with name [categoryPath] found. Return null.
former_member634278
Participant
0 Kudos

I have a grocery store and i want to do search on pepsi on the search box ! i wrote pepsi and i'm getting pepsi and other products not related to pepsi product and word ! So .. The search not match search word.

Thanks

Former Member
0 Kudos

You mean product search of accelerator? This might be an effect of the fault tolerant search capabilities of Solr. Could you give an example?