Re: termDocs / termEnums performance increase for 2.4.0

2009-02-17 Thread Michael McCandless
It's interesting that you found this speedup... I'm not sure offhand what changes led to the speedup (but I'm still happy about it!). But... why do you need to iterate through all terms, and all docs for each term, in the first place? EG this is what FieldCache does in order to populate v

termDocs / termEnums performance increase for 2.4.0

2009-02-05 Thread Beard, Brian
Thought I would report a performance increase noticed in migrating from 2.3.2 to 2.4.0. Performing an iterated loop using termDocs & termEnums like below is about 30% faster. The example test set I'm running has about 70K documents to go through and process (on a dual processor windows machine) w