I was searching for a word in an index (multiple files were indexed in a
library). I was searching e.g for "run". A document contained two times, an
other three times this word. 
I would like to see int the result for the firs document "2", for the other
"3".

Thank you


Adrien Grand wrote
> What do you mean by "number of hits per documents"? Can you give an
> example
> maybe?
> 
> Le jeu. 25 août 2016 à 16:29, szzoli 
> <
> reg9sz...@freemail.hu
> >
>  a écrit :
> 
>> Hi,
>>
>> I would like to get the number of hits per document.
>> I googled around a lot, there were code snipplets for older versions.
>> None
>> of them works with Lucene 6.1.
>>
>> Any help would be appreciated.
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>>

Quoted from: 
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4293687.html




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Lucene-6-1-number-of-hits-per-document-tp4293245p4293755.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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

Reply via email to