Lucene , hits per document

2011-01-21 Thread Sharma Kollaparthi
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 vecto

Re: Lucene , hits per document

2011-01-25 Thread Grant Ingersoll
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 "Hel

Re: Lucene , hits per document

2011-01-30 Thread sharma
Grant Ingersoll 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 d