Any Detailed Explanation Available for TermsHashPerField class internals ?

2016-05-03 Thread shanghaihyj
I am studying Lucene internals. TermsHashPerField is the core to invert a field, which is so complex a class for me to understand. Is there any detailed articles / materials available to explain TermsHashPerField's internals? Best Wishes, Yijian

Re: Any Detailed Explanation Available for TermsHashPerField class internals ?

2016-05-03 Thread Michael McCandless
Why on earth would you start with this crazy Lucene class ;) Alas I don't think there's any additional documentation for it, and it is really hairy. It's basically a simplistic filesystem, where each unique term we've seen (for one in-memory segment) is a "file", and we don't know when we first s