lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Lucene , hits per document
Date Tue, 25 Jan 2011 15:18:09 GMT
With a little logic on your size to count, you can use SpanQueries to do that.

-Grant

On Jan 21, 2011, at 4:03 PM, Sharma Kollaparthi wrote:

> Hi ,
> 
>       I have started to use Lucene for searching in HTML files. Is it
> possible to get Hits per document, when we search for phrases like "Hello
> World" and wild card searches like "te?t"?
> 
> I managed to return the number of hits per document if there is only one
> term using termfrequency vector.
> 
> 
> Thanks,
> Sharma
> 
> -- 
> Sharma Kollaparthi
> CDU Systems & Process Tools
> Software Developer I
> ANSYS INC.

--------------------------
Grant Ingersoll
http://www.lucidimagination.com


---------------------------------------------------------------------
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