Re: What does "found existing value for PerFieldPostingsFormat.format" mean?

2016-10-18 Thread Adrien Grand
We already have CheckIndex that verifies that Fields.iterator() returns a sorted iterator so I think we should improve the javadocs of Fields.iterator() to make it explicit. Le mar. 18 oct. 2016 à 05:15, Trejkaz a écrit : > Continuation, found a bug but I'm not sure whether it's in Lucene or > L

Re: What does "found existing value for PerFieldPostingsFormat.format" mean?

2016-10-17 Thread Trejkaz
Continuation, found a bug but I'm not sure whether it's in Lucene or Lucene's Javadoc. In MultiFields: @SuppressWarnings({"unchecked","rawtypes"}) @Override public Iterator iterator() { Iterator subIterators[] = new Iterator[subs.length]; for(int i=0;i(subIterato

Re: What does "found existing value for PerFieldPostingsFormat.format" mean?

2016-10-17 Thread Trejkaz
Additional investigation: The index has two segments. Both segments have this "path-position" in the FieldInfo only once. The settings look the same: FieldInfo in first sub-reader: name = "path-position" number = 6 docValuesType = NONE storeTermVector = false