Karl Wettin wrote: > > > I think all you need to do is to create a custom query (sounds like > you want a clone of TermQuery) that uses a Scorer that always return 1f. > > Actually, I just thought that it would probably be better to create an adapter Query that always returns a constant score. That way instead of being restricted to working with TermQuery you could wrap any type of query. new ConstantScoreQuery(myExistingQuery, 1.0f); -- View this message in context: http://www.nabble.com/Mixing-non-scored-an-scored-queries-tp18460018p18469178.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries Erick Erickson
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries Erick Erickson
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries Karl Wettin
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries Yonik Seeley
- Re: Mixing non scored an scored queries Karl Wettin
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queri... Karl Wettin
- Re: Mixing non scored an scored q... John Patterson
- Re: Mixing non scored an scored queries eks dev
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries John Patterson
- Re: Mixing non scored an scored queries Karl Wettin
- Re: Mixing non scored an scored queri... John Patterson