Commit Graph

24711 Commits

Author SHA1 Message Date
Robert Muir 1ebb10c649 don't quantize ALL generated points in this test, just the ones we index (except for some leniency: see the TODO).
This may cause more test failures!
2016-03-28 14:39:54 -04:00
Robert Muir f28f1096ce Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-03-28 14:22:28 -04:00
Robert Muir 70290d9c8e LUCENE-7145: consolidate polygon range checks, tests, box usage. make cannot -> must not consistent so we can test this stuff. 2016-03-28 14:14:19 -04:00
Mike McCandless 25a0c79808 fix nocommit 2016-03-28 14:14:08 -04:00
Robert Muir c3ff34e54b minor test cleanups 2016-03-28 12:01:20 -04:00
Robert Muir f3c743550f factor out polygon/box generation into GeoTestUtil. removes lots of leniency and unnecessary quantization! may cause failures!!!! 2016-03-28 11:49:39 -04:00
Mike McCandless 9cccffad41 simplify base geo test class 2016-03-28 11:09:31 -04:00
Robert Muir 81f32f272f geo tests: simplify random generation 2016-03-28 10:54:29 -04:00
Mike McCandless 51feadd185 LUCENE-7144: forceMerge before pulling reader 2016-03-28 09:42:55 -04:00
Robert Muir d8dd06f422 LUCENE-7126: GeoPointDistanceRangeQuery not valid for multi-valued docs 2016-03-28 08:19:22 -04:00
Tommaso Teofili 967f7d3492 LUCENE-6954 - keep info about relationship between fields and terms when retrieving terms in MLT
(cherry picked from commit e8dac9b)
2016-03-28 10:09:51 +02:00
Mike McCandless a9b702df79 clean up random poly generation; simplify geo util methods for validating lat/lon 2016-03-27 17:47:50 -04:00
Robert Muir 0c0a25d747 test polygon queries with mike's surprise polygon generator 2016-03-27 16:58:49 -04:00
Robert Muir bd74f42503 slightly improve polygon testing: test something other than boxes 2016-03-27 15:28:04 -04:00
Mike McCandless 28a4335813 LUCENE-7142: BKDWriter wasn't splitting correctly with long ords; improve tests so we sometimes long ords even for small number of points 2016-03-27 05:52:00 -04:00
Mike McCandless 9f9c2f74b3 the scratch BytesRef must be private to each offline reader 2016-03-26 06:26:30 -04:00
Mike McCandless c46d768664 LUCENE-7141: switch OfflineSorter's ByteSequencesReader to BytesRefIterator 2016-03-26 03:47:30 -04:00
Mike McCandless ec60f5c43c fix bug in exception's message 2016-03-25 20:15:33 -04:00
Mike McCandless 585683d6a7 add missing javadocs 2016-03-25 19:47:40 -04:00
Chris Hostetter b8c0ff66f9 SOLR-445: Merge remote-tracking branch 'refs/remotes/origin/branch_6x' into branch_6x
(picking up mid backport conflicts)
2016-03-25 14:07:06 -07:00
Ryan McKinley e26c0b7125 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:49:54 -07:00
Chris Hostetter 5b6eacb80b SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 13:13:50 -07:00
Mike McCandless f785d2a034 randomize how BKDWriter splits in RandomCodec so we exercise geo shape APIs with more exotic rectangles 2016-03-25 15:40:50 -04:00
Ryan McKinley 9cbaa028dc Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-03-25 12:36:30 -07:00
Ryan McKinley 8254724bb1 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:22:44 -07:00
Martijn van Groningen e26a443194 LUCENE-7095: Add point values support to the numeric field query time join 2016-03-25 17:24:02 +01:00
Adrien Grand 259e69b76f LUCENE-7112: WeightedSpanTermExtractor.extractUnknownQuery is only called on queries that could not be extracted. 2016-03-25 15:46:17 +01:00
yonik ca374d9476 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:58 -04:00
Mike McCandless 1d64c47aa7 LUCENE-7139: move these fixed tests out of the loop 2016-03-25 08:25:33 -04:00
Mike McCandless 4d2be5d569 LUCENE-7140: add spatial3d PlanetModel.bisection method 2016-03-25 08:22:06 -04:00
Mike McCandless 9726903c99 LUCENE-7139: fix bugs in geo3d's vincenty distance implementation 2016-03-25 08:00:26 -04:00
Mike McCandless 90958799c6 BKDWriter optimization: avoid copying unnecessary bytes when marking the right tree ords 2016-03-25 07:45:14 -04:00
Robert Muir 39aaa108ac LUCENE-7136: remove threads from BaseGeoPointTestCase 2016-03-24 14:15:11 -04:00
Robert Muir 139aa0bec5 LUCENE-7137: consolidate many tests across Points and GeoPoint queries/fields 2016-03-24 12:42:04 -04:00
Mike McCandless 521ff41c84 BKDWriter: also fix split to read ord after docID 2016-03-24 11:22:37 -04:00
Mike McCandless 2ca08aa6ad simplify BKDWriter's comparator tie break for its temp files; add test case verifying tie break by docID 2016-03-24 10:03:27 -04:00
Mike McCandless d9de158676 fix test bug: pass the correct point count when creating BKDWriter 2016-03-24 05:14:38 -04:00
yonik 99d1478810 LUCENE-7119: allow bypass of docvalues check in DocTermOrds 2016-03-23 23:06:46 -04:00
yonik b978666d57 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:44:22 -04:00
Kevin Risden 2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05:00
Mike McCandless 064f599cc8 LUCENE-7133: check field name in equals/hashCode for point queries 2016-03-23 17:12:43 -04:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
yonik 82a537795f SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 12:40:05 -04:00
Mike McCandless 855763b063 disable query cache when this test uses threads, so seeds reliably reproduce 2016-03-23 06:23:53 -04:00
Mike McCandless 223568a238 GeoPointField now validates incoming lat/lon 2016-03-23 04:42:48 -04:00
Mike McCandless f2234dccb3 LUCENE-7128: fix a few more lon/lat places; remove more dead code 2016-03-22 18:21:52 -04:00
Robert Muir 7c4a40d50a LUCENE-7130: fold optimizations from LatLonPoint to GeoPointField 2016-03-22 17:48:52 -04:00
Robert Muir ee1aca8643 LUCENE-7127: remove epsilon-based testing from lucene/spatial, fix distance bugs. 2016-03-22 16:55:33 -04:00
Mike McCandless c5da271b9d LUCENE-7128: clean up new geo APIs to consistently take lat before lon, make methods private when possible, use lat/lon instead of y/x naming, remove unused code 2016-03-22 11:53:00 -04:00
Mike McCandless 86d7eefd1c remove unnecessary confusing parameters 2016-03-22 11:35:44 -04:00