Hi,

I am trying to use a filter query along with the spellcheck component but
the resultant rows are completely ignoring the filter query parameter.

I am using solrJ API to communicate with solr1.4. Here is a code snippet of
how i am passing the query parameters:

        //start code snippet
        paramsForSpellCheck.set("q", "*:*");
        paramsForSpellCheck.set("spellcheck.q", query);
        paramsForSpellCheck.set("rows", "0");
        paramsForSpellCheck.set("indent", "on");
        paramsForSpellCheck.set("spellcheck", "on");

        paramsForSpellCheck.set("spellcheck.build", "true");
        paramsForSpellCheck.set("spellcheck.extendedResults", "true");
        paramsForSpellCheck.set("spellcheck.dictionary", "a_spell");
        paramsForSpellCheck.set("spellcheck.collate", "true");
        paramsForSpellCheck.set("spellcheck.count", "3");
        paramsForSpellCheck.set("spellcheck.onlyMorePopular", "false");
        paramsForSpellCheck.set("spellcheck.reload", "true");
        paramsForSpellCheck.set("qt", "standard");
        paramsForSpellCheck.set("fq", "catalog_id:" + catalogs);

        //end code snippet

The issue that i am facing now is that the "fq" query parameter is not
having any affect on the spellcheck query. Are there any known issues while
using filter query with the spellcheck component? If not, what am i doing
wrong?

Thanks in advance.

Regards,
Taimur


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Issue-using-filter-query-with-spellCheck-component-tp2166322p2166322.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to