Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
6.0.1
-
None
-
None
Description
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.