lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <>
Subject Re: Frequency of phrase
Date Sat, 25 Feb 2006 13:34:35 GMT
Doug Cutting wrote:
> If you use a span query then you can get the actual number of phrase 
> instances.

Thanks, good to know!

In this case (need to suggest phrase queries to the user) I've now settled 
with dividing the number of hits for a potential phrase by the number of 
documents that contain all terms in the phrase. Seems to be fast and work 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message