cancel
Showing results for 
Search instead for 
Did you mean: 

Solr Search is not working as expected after migrated Hybris 5.5 to 6.3

Former Member
0 Kudos

Solr Search is not working as expected in solr cloud mode .When I searched with a product code "10445456" its giving me "684" results instead of giving me one. when I ran the query in solr admin its giving me one result.I have commented the below line in builder class. addFreeTextQuery(searchQuery, field, value, "~0.9", boost / 4.0D);

Below is my solr Log when I search with this term "10445456" and I could see "++OR++" in the below query Normally it comes like this "+OR+".Please give me suggestion how to get rid of this issue.

webapp=/solr path=/select params={facet.field={!ex%3Dfk0}languageGroups_string_mv&facet.field={!ex%3Dfk1}webshopAvailable_en_boolean&facet.field=isDisabledForScheduling_boolean&facet.field=materialPricingGroup3Desc_en_string&facet.field=allCategories_string_mv&facet.field=clinicalSpecialityAndDiseases_en_string_mv&facet.field=dataType_string&facet.field=assayNames_en_string_mv&facet.field=productTypeEn_string&facet.field=category_string_mv&facet.field=productType_en_string&facet.field={!ex%3Dfk11}countryAvailability_string_mv&spellcheck.dictionary=en&stateVer=master_SIEMENS_Product_default:21&start=0&sort=score+desc&fq={!tag%3Dfk0}languageGroups_string_mv:USGroup&fq={!tag%3Dfk1}webshopAvailable_en_boolean:true&fq=allCategories_string_mv:LaboratoryDiagnostics&fq={!tag%3Dfk11}countryAvailability_string_mv:USGroup&fq=(catalogId:"SIEMENSProductCatalog"+AND+catalogVersion:"Online")&rows=10&version=2&q=code_string:(\"10445456\"\^150.0+OR+10445456\^100.0+OR+10445456*\^50.0+OR+*10445456\^33.33+OR+*10445456*\^25.0)++OR++legacyNumber_text_en:(\"10445456\"\^75.0+OR+10445456\^50.0+OR+10445456*\^25.0+OR+*10445456\^16.67+OR+*10445456*\^12.5)++OR++catalogNumber_en_string:(\"10445456\"\^75.0+OR+10445456\^50.0+OR+10445456*\^25.0+OR+*10445456\^16.67+OR+*10445456*\^12.5)++OR++gtin_string:(\"10445456\"\^75.0+OR+10445456\^50.0+OR+10445456*\^25.0+OR+*10445456\^16.67+OR+*10445456*\^12.5)++OR++name_text_en:(\"10445456\"\^150.0+OR+10445456\^100.0+OR+10445456*\^50.0+OR+*10445456\^33.33+OR+*10445456*\^25.0)++OR++description_en_string:(\"10445456\"\^15.0+OR+10445456\^10.0+OR+10445456*\^5.0+OR+*10445456\^3.33+OR+*10445456*\^2.5)++OR++subsequentMaterial_string_mv:(\"10445456\"\^120.0+OR+10445456\^80.0+OR+10445456*\^40.0+OR+*10445456\^26.67+OR+*10445456*\^20.0)++OR++alternateMaterial_string_mv:(\"10445456\"\^120.0+OR+10445456\^80.0+OR+10445456*\^40.0+OR+*10445456\^26.67+OR+*10445456*\^20.0)&facet.limit=50&spellcheck.q=10445456&spellcheck=true&facet.mincount=1&facet=true&wt=javabin&facet.sort=count&spellcheck.collate=true} hits=684 status=0 QTime=6.

Regards, .

Accepted Solutions (0)

Answers (0)