Re: questions about DocValues in 4.0 alpha

2012-08-06 Thread Simon Willnauer
hey, On Mon, Aug 6, 2012 at 11:34 AM, Li Li wrote: > hi everyone, > in lucene 4.0 alpha, I found the DocValues are available and gave > it a try. I am following the slides in > http://www.slideshare.net/lucenerevolution/willnauer-simon-doc-values-column-stride-fields-in-lucene > I have g

Re: questions about DocValues in 4.0 alpha

2012-08-06 Thread Uwe Schindler
You have to call getTopReaderContext on the directory reader and can loop easily over the leaves using leaves(). All docbases are then relative to the directory reader. If you get the top reader context from the atomic reader itsself its only relative to itsself, which does not help. getSequent

questions about DocValues in 4.0 alpha

2012-08-06 Thread Li Li
hi everyone, in lucene 4.0 alpha, I found the DocValues are available and gave it a try. I am following the slides in http://www.slideshare.net/lucenerevolution/willnauer-simon-doc-values-column-stride-fields-in-lucene I have got 2 questions. 1. is DocValues updatable now? 2. How