>Fergus McMenemie wrote:
>> Hi all,
>> 
>> I am attempting to test some changes I made to my DIH based
>> indexing process. The changes only affect the way I 
>> describe my fields in data-config.xml, there should be no
>> changes to the way the data is indexed or stored.
>> 
>> As a QA check I was wanting to compare the results from
>> indexing the same data before/after the change. I was looking
>> for a way of getting counts of terms in each field. I 
>> guess Luke etc most allow this but how?
>
>Luke uses brute force approach - it traverses all terms, and counts 
>terms per field. This is easy to implement yourself - just get 
>IndexReader.terms() enumeration and traverse it.
>
Thanks Andrzej 

This is just a one off QA check. How do I get Luke to display
terms and counts?

>
>-- 
>Best regards,
>Andrzej Bialecki 

Fergus.  
-- 

Reply via email to