mirror of https://github.com/apache/lucene.git
LUCENE-4914: SpatialPrefixTree Cell.reset() forgot the 'leaf' flag.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2951c6ebf6
commit
a22e571189
|
@ -225,6 +225,10 @@ Bug Fixes
|
||||||
* LUCENE-4877: Throw exception for invalid arguments in analysis factories.
|
* LUCENE-4877: Throw exception for invalid arguments in analysis factories.
|
||||||
(Steve Rowe, Uwe Schindler, Robert Muir)
|
(Steve Rowe, Uwe Schindler, Robert Muir)
|
||||||
|
|
||||||
|
* LUCENE-4914: SpatialPrefixTree's Node/Cell.reset() forgot to reset the 'leaf'
|
||||||
|
flag. It affects SpatialRecursivePrefixTreeStrategy on non-point indexed
|
||||||
|
shapes, as of Lucene 4.2. (David Smiley)
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
|
|
||||||
* LUCENE-4841: Added example SimpleSortedSetFacetsExample to show how
|
* LUCENE-4841: Added example SimpleSortedSetFacetsExample to show how
|
||||||
|
|
|
@ -91,6 +91,8 @@ public abstract class Cell implements Comparable<Cell> {
|
||||||
if (bytes[b_off + b_len - 1] == LEAF_BYTE) {
|
if (bytes[b_off + b_len - 1] == LEAF_BYTE) {
|
||||||
b_len--;
|
b_len--;
|
||||||
setLeaf();
|
setLeaf();
|
||||||
|
} else {
|
||||||
|
leaf = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue