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
nstant score method?
Tor Atle
--
View this message in context:
http://old.nabble.com/Wildcard-searches-and-document-boost-tp26857120p26864799.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsub
> 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
orAtle [mailto:toratle...@gmail.com]
> Sent: Saturday, December 19, 2009 6:49 PM
> To: java-user@lucene.apache.org
> Subject: Wildcard searches and document boost
>
>
> I have indexed a number of geotagged locations and want the results sorted
> by
> relevance.
>
> For in
essage in context:
http://old.nabble.com/Wildcard-searches-and-document-boost-tp26857120p26857120.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apach