Rajesh Kapur created SOLR-9274:
----------------------------------

             Summary: suggest.cfq | techproducts | not working | SOLR 6.0.0.0
                 Key: SOLR-9274
                 URL: https://issues.apache.org/jira/browse/SOLR-9274
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Suggester
    Affects Versions: 6.0.1
            Reporter: Rajesh Kapur


Hi,

I am trying to implement SOLR Suggester and Context field as per the SOLR Wiki  
@ 
"https://cwiki.apache.org/confluence/display/solr/Suggester#Suggester-ContextFiltering";.

I have updated the solrconfig.xml for techproduct example as :

<searchComponent name="suggest" class="solr.SuggestComponent">   
        <lst name="suggester">
                <str name="name">mySuggester</str>
                <str name="lookupImpl">AnalyzingInfixLookupFactory</str>
                <str name="dictionaryImpl">DocumentDictionaryFactory</str>
                <str name="field">name</str>
                <str name="weightField">price</str>
                <str name="contextField">cat</str>
                <str name="suggestAnalyzerFieldType">string</str>
                <str name="buildOnStartup">false</str>
        </lst>
  </searchComponent>

Now I am querying SOLR with 
http://localhost:8983/solr/techproducts/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&wt=json&suggest.q=c&suggest.cfq=memory

Still I am not getting any result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to