Hi list,

has anyone managed to get querytime synonym expansion working?

Synonym expansion itself is working but I get no search results.

synonyms_test.txt
erwachsenenbildung, adult education, educación de adultos, éducation des adultes

search for "erwachsenenbildung"   -->  8 hits
search for "adult education"      --> 13 hits
search for "educación de adultos" -->  3 hits

search for "adult education" with synonym expansion --> 0 hits.

RESULT:
-------
<str name="q">textth:"adult education"</str>
<str name="q.op">OR</str>

<result name="response" numFound="0" start="0" maxScore="0.0"/>
−
<lst name="debug">
<str name="rawquerystring">textth:"adult education"</str>
<str name="querystring">textth:"adult education"</str>
−
<str name="parsedquery">
+((textth:erwachsenenbildung textth:adult education textth:educación de adultos 
textth:éducation des adultes)~4)
</str>
−
<str name="parsedquery_toString">
+((textth:erwachsenenbildung textth:adult education textth:educación de adultos 
textth:éducation des adultes)~4)
</str>
<lst name="explain"/>
<str name="QParser">ExtendedDismaxQParser</str>


Can it be that the "q.op=OR" parameter is ignored?

Why is the a slop of ~4 added to the parsedquery?

Regards,
Bernd


Reply via email to