Grant Ingersoll <gsingers <at> apache.org> writes:
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 Grant- Thanks for reply. Do you have an example on it? Thanks, Sharma --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org