lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <>
Subject Re: [lucy-user] Using Lucy::Search::PhraseQuery as default query
Date Wed, 11 Dec 2013 18:47:26 GMT
On Wed, Dec 11, 2013 at 9:58 AM, Nick D. <> wrote:
> Is there any downside to using Phrase Query for 1 word queries? The results
> seem to be the same in my test cases. Not sure if there are some caveats
> that I haven't ran into yet.

There is no downside.  Lucy's query optimization logic shunts 1-term
PhraseQueries and TermQueries down the same code path.  Results and
scores should both be the same.


Marvin Humphrey

View raw message