Hello list,

the dismax query type has one feature that is particularly nice... the ability 
to expand tokens to a query to many fields. This is really useful to do such 
jobs as "prefer a match in title, prefer exact matches over stemmed matches 
over phonetic matches".

My problem: I wish to do the same with the normal Lucene query type because I 
wish to enable power users to use some syntax if they wish but I would still 
like to expand on searches in the default field that are on the top level.

So I wrote my own code that filters the top level queries and expands them, 
using a similar instruction as dismax within a particular query component.

Question 1: doesn't such a code already exist?
 (I haven't found it)

Question 2: should I rather make a QParserPlugin?
  (the javadoc is not very helpful)

thanks in advance

paul

Reply via email to