Thanks James,

I found a solution for my problem, using
spellcheck.q=spellcheck_en:halogan%20balbs seems to work. 

But I would expect it to work without needing to set the spellcheck field on
the query (it is already configured on solrconfig.xml)

 <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
        <str name="queryAnalyzerFieldType">text_spell</str>
        <lst name="spellchecker">
            <str name="name">default</str>
            <str name="classname">solr.DirectSolrSpellChecker</str>
            <str name="field">spellcheck_en</str>
        </lst>
        <lst name="spellchecker">
            <str name="name">en</str>
            <str name="classname">solr.DirectSolrSpellChecker</str>
            <str name="field">spellcheck_en</str>
        </lst>
</searchComponent>



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to