RE: Wildcard searches and document boost

2009-12-20 Thread Uwe Schindler
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

Re: Wildcard searches and document boost

2009-12-20 Thread TorAtle
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

Re: Wildcard searches and document boost

2009-12-19 Thread AHMET ARSLAN
> 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

RE: Wildcard searches and document boost

2009-12-19 Thread Uwe Schindler
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

Wildcard searches and document boost

2009-12-19 Thread TorAtle
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