Solr edismax query not returning any result

149 views Asked by At

the following solr query is eluding me, can anyone provide some advice?

fq={!edismax qf=$kwf}myToken&kwf=schemaField1 schemaField2

when myToken is found in the first field all is well, but I never get any hit on the second. I have already checked the tokenizer and analyzer configurations and they seem OK.

<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
  <analyzer type="index">
    <charFilter class="solr.HTMLStripCharFilterFactory" ... />
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
  <analyzer type="query">
    <tokenizer class="solr.StandardTokenizerFactory"/>
    <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
    <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
    <filter class="solr.LowerCaseFilterFactory"/>
  </analyzer>
</fieldType>

Is there anything else I could be doing obviously wrong?

Best, Edoardo

0

There are 0 answers