You could try to inherit from MultiFieldQueryParser:
public class BoostableMultiFieldQueryParser extends MultiFieldQueryParser {
// TODO: add constructors of super class
public static Query parse(String query, String[] fields,
BooleanClause.Occur[] flags,Analyzer analyzer, f
Take a look at the class MultiFieldQueryParser, I think it does exactly
what you want.
GR,
Rainer
Raghavendra Prabhu wrote:
> I want to use query parser to parse my query string
>
> But the default field should be a group of fields with different fields
> where it is searched on
>
> Can any on
Hello,
I want to use Lucene to get similar documents based on a Boolean Query
(similar metadata with OR clauses) and ratings of the user for already
searched documents.
I intend to implement a Naive Bayes classifier to categorize documents
into liked/disliked classes and would do this by using a