lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Created] (LUCENE-4157) Improve Spatial Testing
Date Tue, 19 Jun 2012 14:39:43 GMT
David Smiley created LUCENE-4157:

             Summary: Improve Spatial Testing
                 Key: LUCENE-4157
             Project: Lucene - Java
          Issue Type: Improvement
          Components: modules/spatial
            Reporter: David Smiley
            Assignee: David Smiley
             Fix For: 4.0

Looking back at the tests for the Lucene Spatial Module, they seem half-baked.  (At least
Spatial4j is well tested).  I've started working on some improvements:
* Some tests are in an abstract base class which have a subclass that provides a SpatialContext.
The idea was that the same tests could test other contexts (such as geo vs not or different
distance calculators (haversine vs vincenty) but this can be done using RandomizedTesting's
nifty parameterized test feature, once there is a need to do this.
* Port the complex geohash recursive prefix tree test that was developed on the Solr side
to the Lucene side where it belongs.

And some things are not tested or aren't well tested:
* Distance order as the query score
* Indexing shapes

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message