create two level of index in CompressingTermVectorsWriter is a bit redundant

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

create two level of index in CompressingTermVectorsWriter is a bit redundant

柯伟
In Lucene80DocValuesConsumer, we use `addTermsDict()` to create the first index level, and use `writeTermsIndex()` to create the second index level, terms dict needs to be traversed in each function, which will be very costly. We can obtain the two index levels only by traversing once.


If we could reduce one traversal?