Hi guys:
     Not sure if this would be a better fit on the users or the dev list.

     It would be very useful to be able to get term count given a field,
e.g.

     int IndexReader.termCount(String field)

     Wanted to get your opinion on what is the best way to approach this.
After looking through the code, seems like we do have it stored
in TermsHashPerField.numPostingInt. (hopefully I am reading it correctly)

    Is it possible to add to the FieldInfo class and write it out?

Thanks

-John

Reply via email to