gt; Subject: Re: Wildcard searches and document boost
>
>
> > You need to change multiTermRewriteMethod of QueryParser.
> >
> qp.setMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE)
> ;
>
> Thanks. So the normal way of doing this is se
> You need to change multiTermRewriteMethod of QueryParser.
> qp.setMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE);
Thanks. So the normal way of doing this is setting the rewrite method to
scoring, and if BooleanQuery.TooManyClauses is catched then switch back to
constant sc
> For instance, when searching for "wash*" I want
> "Washington" (the city) to
> appear before "Washington Park", so I have boosted the
> "Washington"
> document. Unfortunately, when using WildcardQuery, the
> score is always 1.0.
>
> Luke says my query has been rewritten to
> "ConstantScore(myFie
WildcardQuery is a subclass of MultiTermQuery, read the javadocs about MTQ,
than you might understand whats going on and what you can do.
Uwe
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: TorAtle [mail