David Smiley created LUCENE-4375:
------------------------------------

             Summary: Spatial BBoxIntersects and BBoxWithin are used incorrectly
                 Key: LUCENE-4375
                 URL: https://issues.apache.org/jira/browse/LUCENE-4375
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: David Smiley
            Assignee: David Smiley
             Fix For: 4.1


SpatialOperation has two special BBoxIntersects and BBoxWithin choices.  I 
assumed these where the bounding boxes of the query shape but [~ryantxu] 
informed me these are supposed to be for the *indexed shape*.  There is no 
strategy in Lucene spatial that could use this but there is one externally -- 
JtsGeoStrategy.  Javadocs should be added to clarify, and various places like 
SpatialArgs.getShape() should be fixed to not use it incorrectly.

This does remove a feature from the Solr adapters side; the test there will 
need to change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to