lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <Eric.J...@isb-sib.ch>
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 
well...


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message