Shouldn't FilterIndexReader in 1.9.1 override IndexReader.getVersion() and
IndexReader.isCurrent()? Currently it doesn't, so getVersion() gives a
NullPointerException, segmentInfos is null.
Tomislav Gountchev
--
View this message in context:
http://www.nabble.com/FilterIndexReader.getVersion-t13
[ http://issues.apache.org/jira/browse/LUCENE-532?page=all ]
Igor Bolotin updated LUCENE-532:
Attachment: indexOnDFS.patch
Attached is new patch which is using format number to determine where to read
the size as discussed.
Thanks!
> [PATCH] Indexing
[
http://issues.apache.org/jira/browse/LUCENE-532?page=comments#action_12372044 ]
Doug Cutting commented on LUCENE-532:
-
Instead of changing the value to -1 we should not write a size value in the
header at all. We can change the format number and use
[ http://issues.apache.org/jira/browse/LUCENE-532?page=all ]
Igor Bolotin updated LUCENE-532:
Attachment: TermInfosWriter.patch
SegmentTermEnum.patch
> [PATCH] Indexing on Hadoop distributed file system
> -
[ http://issues.apache.org/jira/browse/LUCENE-532?page=all ]
Igor Bolotin updated LUCENE-532:
Attachment: TermInfosWriter.java
SegmentTermEnum.java
Two patch files are attached
> [PATCH] Indexing on Hadoop distributed file system
> -
[PATCH] Indexing on Hadoop distributed file system
--
Key: LUCENE-532
URL: http://issues.apache.org/jira/browse/LUCENE-532
Project: Lucene - Java
Type: Improvement
Components: Index
Versions: 1.9
Reporte