raghu created SOLR-4927:
---------------------------

             Summary: search pattern issues
                 Key: SOLR-4927
                 URL: https://issues.apache.org/jira/browse/SOLR-4927
             Project: Solr
          Issue Type: Task
          Components: search
    Affects Versions: 1.3
         Environment: linux,production
            Reporter: raghu
            Priority: Critical



We noticed when searching with cn6 in our site there were no results been 
showing.
Noticed the cn6 pattern is being changed to cnc,below were the related search 
queries.
Can you please let us know how can we make this work.


Input:

q=(crossReference1_string:(cn6*^30.0 OR cn6^60.0)) OR 
(crossReference2_string:(cn6*^30.0 OR cn6^60.0)) OR 
(crossReference3_string:(cn6*^30.0 OR cn6^60.0)) OR 
(crossReference4_string:(cn6*^30.0 OR cn6^60.0)) OR 
(crossReference5_string:(cn6*^30.0 OR cn6^60.0)) OR (code_string:(cn6^20.0 OR 
cn6*^10.0)) OR (name_text_en:(cn6*^60.0 OR cn6^120.0)) OR 
(productcategoryName_text_en_mv:(cn6^20.0 OR cn6*^10.0)) OR 
(description_text_en:(cn6^100.0 OR cn6*^50.0)) OR (mpn_text:(cn6*^60.0 OR 
cn6^120.0)) OR (milSpecNumber_string:(cn6^80.0 OR cn6*^40.0)) OR 
(supplierName_text:(cn6*^20.0 OR cn6^40.0)) OR (supplierCode_string:(cn6*^80.0 
OR 
cn6^160.0))&spellcheck=true&spellcheck.dictionary=en&spellcheck.collate=true&spellcheck.q=cn6&fq=(catalogId:"acalProductCatalogUK")&fq=(catalogVersion:Online)&start=0&rows=20&facet=true&facet.mincount=1&facet.limit=800&facet.sort=count&facet.field=category_string_mv&sort=lifecycleIndicator_int
 desc,onlineDate_date desc

Output:

q=(crossReference1_string:(cnc^60.0 OR cnc*^30.0)) OR 
(crossReference2_string:(cnc^60.0 OR cnc*^30.0)) OR 
(crossReference3_string:(cnc^60.0 OR cnc*^30.0)) OR 
(crossReference4_string:(cnc^60.0 OR cnc*^30.0)) OR 
(crossReference5_string:(cnc^60.0 OR cnc*^30.0)) OR (code_string:(cnc^20.0 OR 
cnc*^10.0)) OR (name_text_en:(cnc*^60.0 OR cnc^120.0)) OR 
(productcategoryName_text_en_mv:(cnc^20.0 OR cnc*^10.0)) OR 
(description_text_en:(cnc^100.0 OR cnc*^50.0)) OR (mpn_text:(cnc*^60.0 OR 
cnc^120.0)) OR (milSpecNumber_string:(cnc*^40.0 OR cnc^80.0)) OR 
(supplierName_text:(cnc*^20.0 OR cnc^40.0)) OR (supplierCode_string:(cnc*^80.0 
OR 
cnc^160.0))&spellcheck=true&spellcheck.dictionary=en&spellcheck.collate=true&spellcheck.q=cnc&fq=(catalogId:"acalProductCatalogUK")&fq=(catalogVersion:Online)&start=0&rows=20&facet=true&facet.mincount=1&facet.limit=800&facet.sort=count&facet.field=category_string_mv&sort=lifecycleIndicator_int
 desc,onlineDate_date desc

Regards,
Raghu.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to