Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Cannot Reproduce
-
Lucene.Net 3.0.3
-
None
-
None
-
Lucene.Net.Contrib.Spatial
Description
When a prefix tree node is constructed, there is an explicit check to test if the last char is LEAF_BYTE and its presence is handled appropriately. If the node is reused via the node.Reset method there is no such check which leads to issues if presented with a token ending in LEAF_BYTE. This manifests as "Unexpected char: +" in method QuadPrefixTree.QuadCell.MakeShape.
I think this happens when building a cell from e.g a rectangle shape query parameter where the cell level is < grid depth.