On 11/23/2014 2:13 PM, David Lee wrote:
> Thanks Erik.  I am actually using edismax query parser in SOLR.   I can
> explicitly specify the fieldType (e.g., text_general or text_en) for
> different fields (e.g., title or description) .   But I do not see how to
> specify the fieldType (thus analyzer) for runtime queries.

The query analysis is chosen by the field that you are querying.  If the
request sent to your edismax parser is configured to query multiple
fields (qf, pf, etc), then multiple analysis chains might get used --
each field uses its own analysis chain.  Setting the "debugQuery"
parameter to true will show you exactly how a query was analyzed.

The same thing can happen when you use multiple field:value clauses in
your query.

Thanks,
Shawn

Reply via email to