lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: searched terms frequency question
Date Tue, 16 Dec 2008 12:55:54 GMT

There was a similar question recently on java-user (I haven't tried to  
find it).

I think to do this efficiently it'd be best to make your own Query  
impl that tracks this information as its scoring.


john smith wrote:

> Hi
> Each document found in a Lucene index contains scoring information  
> however
> it doesn't provide (in the same easy way as scoring) an information  
> about a
> number of occurrences of searched terms in its contents.
> Using Lucene API I can check each searched term against its  
> frequecies in
> each found document but I want to be sure that there is no better  
> way to get
> information about frequences of searched terms in (each) found  
> document.
> Regards
> John S.

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

View raw message