Hi guys, I am working with Solr suggester as explained in this article. https://cwiki.apache.org/confluence/display/solr/Suggester
The suggester is working fine but I want to filter the results based on a filed (which is type). I have tried to follow what was written at the end of the article (about Context Filtering) but still could not get the filter working. My Solr configuration for suggestion is <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">entity_autocomplete</str> <str name="contextField">type</str> <str name="suggestAnalyzerFieldType">text_auto</str> <str name="buildOnStartup">false</str> </lst> </searchComponent> I have two entries for "Bill Gates" one with type=people and the other with type=organization. I have tried the following query but still get both records for suggestion (The right thing is to get one since I only have one Bill Gates as a type of organization) Here is my query http:// [MySolr]/[MyCollection]/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&suggest.q=Bill&suggest.cfq=people Any comments why this is not filtering? Regards, Salman