Commit Graph

24736 Commits

Author SHA1 Message Date
markrmiller d9c3c7e6f0 SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-04-01 15:51:34 -04:00
Robert Muir ca9eca9de0 LUCENE-7162: set SerialMergeScheduler in all spatial tests.
We can test thread safety of e.g. BKD structures elsewhere in a simpler way. It is important
for geo tests to be simpler and easier to reproduce and debug.
2016-04-01 13:30:19 -04:00
nknize 637dce83e2 LUCENE-7152: Refactor GeoUtils from lucene-spatial to core module. 2016-04-01 11:05:36 -05:00
markrmiller 461c9b4fef SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-04-01 10:26:54 -04:00
Robert Muir d9d88b8941 LUCENE-7160: LatLonPoint quantization should use the same rounding mode as GeoPointField 2016-04-01 08:33:50 -04:00
Mike McCandless 4ecfa98bdb LUCENE-7158: use the same value (from WGS84) for earth's mean radius when we approximate it as a sphere 2016-04-01 05:41:19 -04:00
Robert Muir 50909527d0 LUCENE-7153: remove extra PIP copy, this is in Polygon.java now 2016-04-01 00:24:27 -04:00
Robert Muir 2c0a8ed418 LUCENE-7153: give GeoPointField and LatLonPoint full polygon support 2016-03-31 22:29:44 -04:00
Robert Muir 1153264782 completely untested logic to try to make javadocs work across our rats nest of spatial modules ! 2016-03-31 22:11:18 -04:00
jbernste 586afc3db1 SOLR-8888: Update CHANGES.txt 2016-03-31 20:59:19 -04:00
jbernste ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
nknize 82ed2383f0 replace svn up with git pull in buildAndPushRelease.py 2016-03-31 13:41:01 -05:00
jbernste 74b5a7a972 SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 12:05:18 -04:00
Mike McCandless 0dcf822f40 LUCENE-7150: add Geo3DPoint.newDistance/Box/PolygonQuery 2016-03-31 11:54:50 -04:00
Tommaso Teofili 2f9a966b70 LUCENE-7156 - fixed precision and accuracy calculations
(cherry picked from commit d08f327)
2016-03-31 14:53:11 +02:00
nknize 08dae30f73 * LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional. 2016-03-30 18:42:50 -05:00
David Smiley 44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley 72f5eac2c5 SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
markrmiller 28a51cef56 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:35:21 -04:00
Jan Høydahl f9a4deb7be SOLR-8870: AngularJS support for qt style handlers, and fix slash encoding bug to support Query panel through proxy
(cherry picked from commit aec11eb)
2016-03-30 12:58:44 +02:00
Mike McCandless e2d58ccb37 LUCENE-7122: handle fixed length byte[] values more efficiently in OfflineSorter 2016-03-30 05:53:10 -04:00
Ryan Ernst 0cf26bf368 LUCENE-7147: Improve disjoint check for geo distance query traversal 2016-03-29 12:17:19 -07:00
Robert Muir 5958bcb68e disable test method for deprecated encoding: its too memory-hungry 2016-03-29 09:51:59 -04:00
Robert Muir c769199c20 quantize random rects in test too (for now) until we can really remove this leniency... 2016-03-29 00:17:20 -04:00
Robert Muir a6dcab2623 this test uses NaN to mean missing. don't try to quantize it. 2016-03-28 16:02:43 -04:00
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