lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Created] (LUCENE-4388) ShapeMatcher and ShapeValues
Date Fri, 14 Sep 2012 15:12:07 GMT
David Smiley created LUCENE-4388:

             Summary: ShapeMatcher and ShapeValues
                 Key: LUCENE-4388
             Project: Lucene - Core
          Issue Type: New Feature
          Components: modules/spatial
            Reporter: David Smiley

This patch provides two key interfaces: ShapeMatcher and ShapeValues.  The ShapeMatcher concept
is borrowed from [~ryantxu]'s JtsGeoStrategy which has a similar GeometryTester.  ShapeValues
is basically a ValueSource/FunctionValues for shapes.  This isn't working; I didn't modify
any existing classes.

I haven't completely thought this through but a SpatialStrategy might expose a makeShapeValues(IndexReader)
and/or makeCenterShapeValues(IndexReader) (the latter is the center points of indexed data).
 A generic Distance ValueSource could easily be implemented in terms of makeCenterShapeValues().
 And a strategy could support any query shape simply by implementing makeShapeValues().

I've been thinking about how the API handles strategies supporting indexing multiple shapes
and I wonder if that could happen simply via a new MultiShape<Shape>.

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message