Commit Graph

9371 Commits

Author SHA1 Message Date
Simon Willnauer 268da5be45 LUCENE-7300: Add HardLinkCopyDirectoryWrapper to speed up file copying if hardlinks are applicable 2016-05-26 10:41:31 +02:00
Adrien Grand c996c78b47 Add a comment about the recursion threshold of StringMSBRadixSorter. 2016-05-26 10:00:08 +02:00
Mike McCandless 39de68963b sequence numbers: resolve last nocommits 2016-05-25 18:41:21 -04:00
Adrien Grand be597a81ef LUCENE-7299: Speed up BytesRefHash.sort. 2016-05-25 17:39:24 +02:00
Adrien Grand f85dc0fef2 LUCENE-7297: Clean up ArrayUtil. 2016-05-25 16:48:41 +02:00
Martijn van Groningen d29ab1e812 LUCENE-7206: Improve the ToParentBlockJoinQuery's explain by including the explain of the best matching child doc 2016-05-25 15:24:17 +02:00
Mike McCandless baa5344e68 LUCENE-7283: move SlowCompositeReaderWrapper and uninverting to solr 2016-05-25 05:36:32 -04:00
Mike McCandless 38e9822cb4 cutover RandomIndexWriter to return sequence numbers 2016-05-24 20:22:47 -04:00
Mike McCandless c9aaa77182 remove TrackingIndexWriter 2016-05-24 19:58:33 -04:00
Mike McCandless e4a21330a2 cutover all IW APIs that change the index to return seq no 2016-05-24 19:45:40 -04:00
Dawid Weiss 6e8ca1a094 LUCENE-7295: TermAutomatonQuery.hashCode calculates Automaton.toDot().hash. 2016-05-24 21:25:05 +02:00
Adrien Grand dfa3d6c9d9 LUCENE-7254: Switch geo queries back to DocIdSetBuilder. 2016-05-24 16:23:31 +02:00
Mike McCandless 058970e72b initial sequence numbers patch 2016-05-24 10:20:30 -04:00
Dawid Weiss e44509f2df LUCENE-7277: Make Query.hashCode and Query.equals abstract. 2016-05-24 10:33:15 +02:00
Adrien Grand 6d66f01c89 LUCENE-7289: Add HalfFloatPoint. 2016-05-23 11:05:09 +02:00
Adrien Grand 052fb97f82 LUCENE-7258: Speed up DocIdSetBuilder allocation. 2016-05-23 09:27:11 +02:00
Uwe Schindler a5f1902869 LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:16:47 +02:00
Mikhail Khludnev 3ea12f2be4 SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:10:17 +03:00
Uwe Schindler eecab95aa6 Revert and fix "LUCENE-7293: don't try to highlight GeoPoint queries" 2016-05-21 00:28:50 +02:00
Uwe Schindler b09a5c80c6 LUCENE-7293: Fix benchmark dependencies 2016-05-20 23:10:42 +02:00
Uwe Schindler b9caf83bfa LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:20:39 +02:00
Mike McCandless aa90b88e2d LUCENE-7293: don't try to highlight GeoPoint queries 2016-05-20 14:50:06 -04:00
Karl Wright c0784d29bd LUCENE-7290: Restore XYZBounds fudge factor to its previous value. 2016-05-20 13:54:09 -04:00
Karl Wright 908225d174 LUCENE-7290: Add support for calculating bounds for intersections. 2016-05-20 13:49:13 -04:00
Tommaso Teofili 1aceb67e28 LUCENE-7161 - mitigate not enough docs test issue while looking for a better solution 2016-05-20 07:04:04 +02:00
Karl Wright 390f3a1025 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-19 05:09:09 -04:00
Karl Wright 8290302667 LUCENE-7290: Roll back resolution increase. 2016-05-19 05:08:58 -04:00
Alan Woodward 7793c06a30 LUCENE-7231: WeightedSpanTermExtractor correctly deals with single-term PhraseQuery 2016-05-19 09:48:43 +01:00
Alan Woodward cfc13f5b67 LUCENE-7284: GapSpans needs to implement positionsCost() 2016-05-19 09:48:43 +01:00
Karl Wright 56bae72a45 LUCENE-7290: Decrease MINIMUM_RESOLUTION, since it's too big for at least one test case. 2016-05-18 20:34:49 -04:00
Karl Wright cc26341345 LUCENE-7212: Add outside distance classes and methods. 2016-05-18 09:03:52 -04:00
Karl Wright 2a810938ba LUCENE-7212: Rename the public method for path sort fields. 2016-05-18 08:34:54 -04:00
Karl Wright 417c37279e LUCENE-7212: Add tests for encoding/decoding. 2016-05-18 07:58:35 -04:00
Karl Wright d7d723690b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-18 07:07:25 -04:00
Karl Wright a911eb8561 LUCENE-7288: Return POSITIVE_INFINITY for points outside of shape, not MAX_VALUE. 2016-05-18 07:07:08 -04:00
David Smiley e87216d1e6 Merge remote-tracking branch 'origin/master' 2016-05-17 23:19:40 -04:00
David Smiley 2accf12d71 LUCENE-7278: DRPT: fix test bug (when milli is 0) 2016-05-17 23:19:27 -04:00
Anshum Gupta 05e3a3ff88 Adding back-compat index for 5.5.1 to master as unsupported version. 2016-05-17 17:41:33 -07:00
Karl Wright 07af00d8e7 LUCENE-7212: Add Geo3D sorted document fields. 2016-05-17 17:20:39 -04:00
Steve Rowe be5172631d SOLR-9121: Fix check-lib-versions task to pass through the "ivysettings.xml" property as an Ivy variable so that the nested ivy settings file can be located when parsing the top-level ivy settings file. 2016-05-17 10:07:14 -04:00
Steve Rowe e545c696c3 SOLR-9109: tell the smoke tester and the check-lib-versions target about the renamed Ivy settings files 2016-05-16 18:51:12 -04:00
Uwe Schindler a5be64af05 SOLR-9109: the ${settings.xml} is a file path, not a URL 2016-05-17 00:28:09 +02:00
Steve Rowe 82788504aa SOLR-9109: Allow specification of a custom Ivy settings file via system property "ivysettings.xml". 2016-05-16 18:06:48 -04:00
Karl Wright 05178b3e58 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-16 06:43:23 -04:00
Steve Rowe 44e60b3e25 Add version 6.0.1 2016-05-13 18:45:59 -04:00
Mike McCandless 9d5b834b09 LUCENE-6766: put Placeholder back so javadocs are OK; deprecate Lucene60Codec 2016-05-13 05:44:55 -04:00
Mike McCandless d715210467 LUCENE-6766: merged 2016-05-13 04:31:29 -04:00
Mike McCandless 3cde9eb3d0 LUCENE-6766: keep SortingMergePolicy for solr back-compat; fix Solr tests; fix precommit failures 2016-05-13 04:29:48 -04:00
David Smiley 1d35bd0ea8 LUCENE-7278: DRPT: fix bug in assert statement 2016-05-12 23:03:32 -04:00
Robert Muir 06034c2474 remove unnecessary Placeholder and mark old codec deprecated 2016-05-12 21:13:26 -04:00
Mike McCandless 5fb7413ccb LUCENE-6766: remove leftover sop 2016-05-12 15:57:22 -04:00
Mike McCandless e283271aaf LUCENE-6766: more IW.infoStream logging around sorting; fix test bug 2016-05-12 15:25:11 -04:00
David Smiley 062869626f LUCENE-7278: DateRangePrefixTree's Calendar is now configurable 2016-05-12 14:14:33 -04:00
Karl Wright 351878223d LUCENE-7212: Add geo3d doc values field 2016-05-12 09:39:10 -04:00
Mike McCandless 0a150bb377 LUCENE-7279: add CHANGES 2016-05-12 05:54:52 -04:00
Mike McCandless 76762b15c0 LUCENE-7279: don't throw AIOOBE on some valid inputs 2016-05-12 05:54:22 -04:00
Mike McCandless e3ecc6a536 LUCENE-6766: merge master 2016-05-10 05:44:36 -04:00
Mike McCandless 8361de87be LUCENE-6766: fix parallel reader's detection of conflicting index sort 2016-05-10 05:31:02 -04:00
Mike McCandless 1e82c13184 LUCENE-6766: resolve remaining nocommits; add more IW infoStream logging during merge 2016-05-10 04:49:33 -04:00
Mike McCandless fa37241e78 LUCENE-6766: add deletions to random test 2016-05-08 08:03:11 -04:00
Mike McCandless 87690f8b13 LUCENE-6766: add another random test case; move early terminating collector to core 2016-05-08 07:58:20 -04:00
Mike McCandless 78a5501063 LUCENE_6766: add missing first/last tests 2016-05-08 06:41:55 -04:00
Mike McCandless da473399a3 LUCENE-6766: simplify test case 2016-05-08 06:20:59 -04:00
Mike McCandless 7683f33586 LUCENE-6766: remove unused SortField.Type.BYTES; don't pass liveDocs to DocIDMerger (it's redundant with MergeState.DocMap) 2016-05-08 05:00:19 -04:00
Mike McCandless 8098a911be LUCENE-6766: add float, double 2016-05-07 18:36:13 -04:00
Uwe Schindler 30cbab6793 Update link to Oracle Javadocs to prevent browser security warning when displaying from HTTPS (e.g. https://lucene.apache.org) 2016-05-07 18:55:42 +02:00
Mike McCandless 231cb3eb42 LUCENE-6766: implement STRING sort, using segment-local ordinals 2016-05-07 11:46:17 -04:00
Mike McCandless 54650eccf3 LUCENE-6766: don't throw exc from MultiXXX if there is an index sort 2016-05-07 11:45:59 -04:00
Mike McCandless 849fd54f2c LUCENE-6766: Merge branch 'master' into index_sort 2016-05-06 19:17:31 -04:00
Mike McCandless eb8b1a92d8 LUCENE-6766: MultiXXX now refuse to merge if there is an index sort 2016-05-06 19:02:41 -04:00
Mike McCandless 8fe78da23c LUCENE-6766: make new Lucene62Codec, with new segment info format that reads/writes the index sort, to support index sorting; remove all usage of SlowCompositeReaderWrapper; also sort ids when merging norms; CheckIndex verifies sort 2016-05-06 16:41:26 -04:00
Karl Wright da6426f03c LUCENE-7241: Get rid of one more allocation during isWithin processing. 2016-05-06 07:36:50 -04:00
Karl Wright 6c6667e60e LUCENE-7241: Get rid of allocation for vector that we don't need. 2016-05-05 16:35:25 -04:00
Karl Wright 7d4f387384 LUCENE-7241: More performance improvements 2016-05-05 16:16:55 -04:00
Karl Wright d4c5586032 LUCENE-7241: Don't allocate GeoPoints we aren't going to return. 2016-05-05 14:47:40 -04:00
Karl Wright 382ffdb636 LUCENE-7241: More performance improvements. 2016-05-05 07:54:09 -04:00
Karl Wright 551d267ff5 LUCENE-7241: Another minor optimization. 2016-05-05 03:36:53 -04:00
Karl Wright 940281bb5d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-05 03:05:25 -04:00
Karl Wright 037ecceba8 LUCENE-7241: For rare cases, don't precompute stuff. 2016-05-05 03:04:39 -04:00
Mike McCandless 54fa7dfd27 LUCENE-6766: initial patch 2016-05-04 05:37:37 -04:00
Adrien Grand b5acdabe53 Fix for TermsQueryTest.testRamBytesUsed failures.
This replaces the HashSet whose memory usage is hard to predict with a simple boolean.
2016-05-04 08:15:42 +02:00
Karl Wright 6ef0f218f6 LUCENE-7270: Robert's implementation of the tree structure works as well and it's simpler, so I'm switching to that. 2016-05-03 18:06:09 -04:00
Karl Wright 8c0bf8b3b6 LUCENE-7270: Fix javadoc. 2016-05-03 15:29:26 -04:00
Karl Wright d3d754e91d LUCENE-7270: Perofmance improvements related to tree structure. 2016-05-03 13:15:37 -04:00
Jan Høydahl 0ebe6b0f79 SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability 2016-05-03 13:36:06 +02:00
Mike McCandless b0b8d5795e LUCENE-7269: also handle annoying schema ghost corner case where number of docs with points in a segment is 0 2016-05-03 07:31:11 -04:00
Karl Wright a492117576 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-03 06:46:01 -04:00
Karl Wright 9e09c5cbb0 LUCENE-7241: Fix large polygon test point logic to deal properly with holes. 2016-05-03 06:45:53 -04:00
Christine Poerschke 2fe824fd6e LUCENE-7263: Make queryparser/xml/CoreParser's SpanQueryBuilderFactory accessible to deriving classes. (Daniel Collins via Christine Poerschke) 2016-05-03 10:05:02 +01:00
Karl Wright 21b87bc7c4 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-03 02:08:10 -04:00
Karl Wright 39e8e76c44 LUCENE-7241: Another round of tree debugging, and hook large polygons up to the random tester. 2016-05-03 02:07:59 -04:00
David Smiley 91153b9627 LUCENE-7262: Fix NPE, this should lazy-init in start() 2016-05-02 22:39:32 -04:00
Karl Wright a48245a1bf Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-02 17:05:09 -04:00
Karl Wright d7752408db LUCENE-7241: Fix intersection bounding so we don't get spurious non-matching crossings. 2016-05-02 17:04:55 -04:00
Adrien Grand 4fa2b29b20 LUCENE-7262: Leverage index statistics to make DocIdSetBuilder more efficient. 2016-05-02 15:04:27 +02:00
Karl Wright 645889f6b2 LUCENE-7241: Improve ability to find pole. 2016-05-01 11:20:10 -04:00
Karl Wright ccc9057ea0 LUCENE-7241: Various changes towards making GeoComplexPolygon fully testable. 2016-05-01 09:35:00 -04:00
Karl Wright 7bc4859daf Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-05-01 06:09:51 -04:00
Karl Wright 516fb5d193 LUCENE-7241: Add basic unit tests for intersections and bounds. 2016-05-01 06:09:36 -04:00
Robert Muir 3b9aa4d5cc Improve exception message so you see expected/actual if lock file is messed with 2016-04-30 16:16:24 -04:00
Karl Wright 7ed472fb52 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-29 13:33:09 -04:00
Karl Wright 595a55bbb5 LUCENE-7241: Add public functionality for handling large polygons in geo3d. 2016-04-29 13:32:55 -04:00
Adrien Grand f7b333f105 LUCENE-7264: Fix test bug in TestReqExclBulkScorer. 2016-04-29 13:30:00 +02:00
Adrien Grand aa81ba8642 LUCENE-7264: Fewer conditionals in DocIdSetBuilder. 2016-04-29 10:35:27 +02:00
Karl Wright 7bc50ec1ee Merge branch 'LUCENE-7241' 2016-04-28 20:00:19 -04:00
Karl Wright 7d33e774c2 Fix javadoc 2016-04-28 19:58:55 -04:00
Karl Wright 31176d1de2 Add more tests, and catch degenerate case early 2016-04-28 19:27:36 -04:00
Karl Wright da896f803d Finish debugging simple case 2016-04-28 19:20:03 -04:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
Karl Wright 3d7fd5e1df Improve path determination code 2016-04-28 15:09:48 -04:00
Karl Wright 72d536cb11 Lots of fixes 2016-04-28 13:14:35 -04:00
Adrien Grand ef45d4b2e1 LUCENE-7261: Speed up LSBRadixSorter. 2016-04-28 18:20:41 +02:00
Karl Wright d990d975ac Rewrite tree handling to actually work. 2016-04-28 08:12:42 -04:00
Karl Wright 86be6a67db Use more accurate version of inside cutoff planes. 2016-04-27 20:09:06 -04:00
Karl Wright f896afc88b Fix initialization bugs that prevented the code from working. 2016-04-27 17:19:30 -04:00
Karl Wright 9dd7921f9d More robust logic for picking the intersection point and path 2016-04-27 13:54:28 -04:00
Robert Muir ebd120465a LUCENE-7259: speed up MatchingPoints cost estimation 2016-04-27 12:02:27 -04:00
Karl Wright be0fff05bc Flesh out remaining methods 2016-04-27 08:26:03 -04:00
Karl Wright 7a4c077454 Finish handling for intersection point 2016-04-27 07:30:07 -04:00
Adrien Grand c7cdf2832b LUCENE-7257: PointValues aggregated stats fail if the provided field does not have points on one of the leaves. 2016-04-27 11:41:04 +02:00
Karl Wright 117f79ddd2 Restructure DualCrossing counter so that the plane inside and outside boundaries are used to detect inside and outside crossings. Also identify the case for special treatment of edges lying on the intersection point. 2016-04-26 13:49:47 -04:00
Christine Poerschke 9c69c4cf12 LUCENE-7252: add TestCoreParser.testTermQueryEmptyXML test 2016-04-26 17:41:26 +01:00
Christine Poerschke 9d8fad7a63 Make the static CoreParser.parseXML method package-private instead of private so that it's visible to and can be used by tests. 2016-04-26 15:10:58 +01:00
Robert Muir 6fa5166e41 LUCENE-7254: (sandbox/ only) Don't let abuse cases slow down spatial queries 2016-04-26 09:17:21 -04:00
Karl Wright 478e0e1054 Add GeoPolygonFactory support for the new shape. 2016-04-26 08:56:53 -04:00
Karl Wright bb7d4585c4 Separate point filtering from edge filtering. 2016-04-26 08:03:02 -04:00
Karl Wright f3748ebaa4 Introduce notion of inside/outside for DualCrossing. 2016-04-26 07:46:44 -04:00
Karl Wright 42d3f3d1c1 Have two separate crossing counters; one for dual leg, one for single. 2016-04-26 02:46:03 -04:00
Karl Wright 4105fda9c1 Separate the above and below planes everywhere so we can compute intersections and bounds. 2016-04-25 15:50:45 -04:00
Robert Muir 837264a42e LUCENE-7251: remove LatLonGrid, remove slow polygon methods, speed up multiple components 2016-04-25 15:31:54 -04:00
Karl Wright 641d221cba Get it to compile 2016-04-25 14:33:38 -04:00
Karl Wright 8b50cb8a8f Handle the case where the last leg lands on an edge. 2016-04-25 13:05:12 -04:00
Karl Wright d41537d0e2 Complete the logic for following a path, except for the path endpoint on edge condition. 2016-04-25 12:16:56 -04:00
Mike McCandless fe795c9f7a fix stale javadocs 2016-04-25 11:14:39 -04:00
Karl Wright 282c9a8fec Flesh out logic for handling vertex on plane case. 2016-04-25 10:15:11 -04:00
Christine Poerschke fd7b2159d8 LUCENE-7247: TestCoreParser.dumpResults verbose and test-fail logging tweaks 2016-04-25 09:39:29 +01:00
Karl Wright d287ecaeed Flesh out the additional method needed in Plane, as well as intersection logic. 2016-04-25 02:40:31 -04:00
Robert Muir e3e9114921 implement grow() for spatial3d intersector: easy speedup 2016-04-24 20:09:05 -04:00
Robert Muir 0dc32e3d6b implement grow() for polygon queries too: easy speedup. 2016-04-24 18:47:50 -04:00
Karl Wright b9c2bf7d28 More work on GeoComplexPolygon 2016-04-24 17:44:40 -04:00
Robert Muir 45c48da54a LUCENE-7240: Remove DocValues from LatLonPoint, add DocValuesField for that 2016-04-24 17:15:30 -04:00
Mike McCandless 7acf8babae LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points 2016-04-24 05:58:41 -04:00
Karl Wright 69be7dc2a3 Two nested classes made private that should never have been public. 2016-04-24 02:23:05 -04:00
Karl Wright c75df440d3 Add Edge subclass 2016-04-24 02:18:23 -04:00
Karl Wright 97e8f1aead LUCENE-7250: Handle holes properly for distance and relationship calculation. 2016-04-23 06:44:42 -04:00
Karl Wright a5e24b213d First cut of new class 2016-04-23 03:48:09 -04:00
Karl Wright 38ebd906e8 LUCENE-7244: Complain if the holes are outside the polygon. 2016-04-22 16:37:31 -04:00
Robert Muir 88c9da6c89 LUCENE-7249: LatLonPoint polygon should use tree relate() 2016-04-22 15:11:03 -04:00
Robert Muir 776f9ec7c8 LUCENE-7242: LatLonTree should build a balanced tree 2016-04-22 12:09:15 -04:00
Adrien Grand bf232d7635 LUCENE-7237: LRUQueryCache now prefers returning an uncached Scorer than waiting on a lock. 2016-04-22 14:09:44 +02:00
Adrien Grand 927a44881c LUCENE-7243: Removed the LeafReaderContext parameter from QueryCachingPolicy#shouldCache. 2016-04-22 13:09:26 +02:00
Robert Muir 4fd5d88080 LUCENE-7239: Use interval tree to speed up LatLonPoint.newPolygonQuery 2016-04-21 20:15:33 -04:00
markrmiller f3de223774 SOLR-8933: Solr should not close container streams. 2016-04-21 11:53:58 -04:00
nknize 545a14000b LUCENE-7186: add a numerically stable morton encoding method to GeoEncodingUtils 2016-04-21 10:14:36 -05:00
Adrien Grand 2ee8426d5e LUCENE-7238: Explicitly disable the query cache in MemoryIndex.createSearcher. 2016-04-21 17:01:43 +02:00
Adrien Grand 81446cf345 LUCENE-7235: Avoid taking the lock in LRUQueryCache when not necessary. 2016-04-21 15:31:13 +02:00
Karl Wright 2ff8bb0c8b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-21 08:31:14 -04:00
Karl Wright 42b4f045c0 LUCENE-7226: Add leniency support for filtering points, in order to be able to use OSM data. 2016-04-21 08:30:52 -04:00
Adrien Grand 91fd163112 LUCENE-7234: Add InetAddressPoint.nextUp/nextDown 2016-04-20 15:45:38 +02:00
Adrien Grand 2724b99b5c LUCENE-7232: Fixed InetAddressPoint.newPrefixQuery. 2016-04-20 15:13:20 +02:00
Adrien Grand 858082c4ca LUCENE-7209: Fixed explanations of FunctionScoreQuery. 2016-04-20 14:52:12 +02:00
Karl Wright 0221516716 LUCENE-7226: Slight improvements to filtering and pole discovery operations. 2016-04-19 20:12:05 -04:00
Karl Wright 2276b9f270 Fix javadoc error 2016-04-19 13:44:06 -04:00
Karl Wright 5bb9084bd5 Fix test to recognize null polygon response. 2016-04-19 12:06:15 -04:00
Karl Wright 2342290816 LUCENE-7212: Structural changes necessary to support distance-limited bounds. 2016-04-19 10:20:00 -04:00
Karl Wright 02f1dacc3d LUCENE-7192: Catch the case where we have two points in the same poly that are not adjacent but identical. 2016-04-19 09:09:40 -04:00
Karl Wright 46062fbd86 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-19 08:28:36 -04:00
Karl Wright 75cdcbab10 LUCENE-7192: Revamp how coplanar points are detected and filtered, for OpenStreetMap compatibility. 2016-04-19 08:28:06 -04:00
Robert Muir af09c618eb LUCENE-7229: Improve Polygon.relate for faster tree traversal/grid construction 2016-04-18 20:22:40 -04:00
Robert Muir b839325740 LUCENE-7185: fix buggy worst-case error and add test for absurd distances 2016-04-18 19:47:22 -04:00
Karl Wright 7bd116c447 LUCENE-7228: Bounds computations which use Lagrangian multipliers are inherently less precise, so make sure that the bounds values exceed the size of the shape by a comfortable amount. 2016-04-18 13:53:59 -04:00
Karl Wright a7b138317a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-18 13:28:30 -04:00
Karl Wright 15f94c550f LUCENE-7225: Detect nonsense polygon as an error rather than creating failures. 2016-04-18 13:28:21 -04:00
Robert Muir ddb8d077ec Don't pick crazy compression parameters for this monsterish test 2016-04-18 10:11:51 -04:00
Robert Muir cc099d8fc6 LUCENE-7185: handle underflow 2016-04-18 09:15:04 -04:00
Robert Muir 730a04723f don't use DirectPostingsFormat for Legacy geopoint tests: it just uses tons of RAM 2016-04-18 08:51:41 -04:00
Christine Poerschke c57db02580 LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders match the underlying queries' (lower|upper)Term optionality logic. (Kaneshanathan Srivisagan, Christine Poerschke) 2016-04-18 12:09:31 +01:00
Tommaso Teofili 4751b83c97 LUCENE-7161 - give enough similar docs for mlt to match 2016-04-18 11:47:46 +02:00
Robert Muir c135e9a7d6 LUCENE-7185: improve random test point/box generation for spatial tests 2016-04-18 00:19:02 -04:00
Karl Wright aafdc372d9 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-17 15:37:20 -04:00
Karl Wright e90ed57b94 LUCENE-7226: Remove independent check for backtrack, and remove GeoPolygonFactory methods that use point index for anything. 2016-04-17 15:37:02 -04:00
Robert Muir 72cb73c6b9 LUCENE-7170: move BaseGeoPointTestCase to test-framework 2016-04-17 08:52:59 -04:00
Karl Wright 35e0e92bb3 LUCENE-7226: Clean polygon data, where feasible. 2016-04-17 08:13:44 -04:00
Karl Wright c08f644841 LUCENE-7225: Undo unneeded conflict detection logic in test. 2016-04-16 16:11:49 -04:00
Karl Wright 7b6423c2c7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-16 10:14:35 -04:00
Karl Wright 22a23f66f7 LUCENE-7225: Undo fancy visit code; it won't do anything useful anyway. 2016-04-16 10:12:53 -04:00
Karl Wright 8ffb2d19e8 LUCENE-7225: Handle case where we don't know what truth is properly. 2016-04-16 08:29:43 -04:00
Mike McCandless aeea493311 catch user (me) silliness when using EarthDebugger 2016-04-16 05:35:19 -04:00
Karl Wright 922210401b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-16 04:07:39 -04:00
Karl Wright bf3f960e76 LUCENE-7225: Fix Geo3DRelations test to use the correct measure of 'truth' in assessing relationships. 2016-04-16 04:07:10 -04:00
Mike McCandless ad86feca09 improve javadocs and argument validation for LatLonPoint.nearest 2016-04-15 16:55:38 -04:00
Robert Muir d5e0b36d50 remove dead code 2016-04-15 14:55:33 -04:00
Robert Muir 3e6024ffdd improve javadocs for LatLonPoint.nearest() 2016-04-15 14:45:22 -04:00
Mike McCandless c7d4080820 LUCENE-7223: improve XXXPoint javadocs to explain that a StoredField is needed if you want to retrieve the original value at search time 2016-04-15 13:34:16 -04:00
Robert Muir a60265ef5a LUCENE-7222: Improve Polygon.contains() 2016-04-15 12:53:09 -04:00
Christine Poerschke cb840f5242 LUCENE-7210: TestCoreParser.afterClass now resets (static) indexData/coreParser/analyzer to null. 2016-04-15 12:52:44 +01:00
Karl Wright 5348504d45 LUCENE-7221: Do not attempt to carve out holes from bounds. 2016-04-15 07:11:15 -04:00
Karl Wright 5f0245febe LUCENE-7221: Fix broken bounds for GeoCircles. 2016-04-15 03:01:11 -04:00
Karl Wright 7c098913e2 LUCENE-7221: Merge issue 2016-04-14 20:55:54 -04:00
Karl Wright 1d76b2c49b LUCENE-7221: Limit the number of requests to getRelationship() and isWithin() using bounds. 2016-04-14 20:46:38 -04:00
Karl Wright 43b8456cdf LUCENE-7221: Performance improvements for large polygons. 2016-04-14 16:23:20 -04:00
Christine Poerschke 88c4b095bc LUCENE-7210: Add missing @Override to TestCorePlus(Queries|Extensions)Parser's newCoreParser method. 2016-04-14 19:38:43 +01:00
Mike McCandless 68e9efc7ac LUCENE-7069: can't wrap with exotic readers when making IndexSearcher 2016-04-14 14:10:52 -04:00
Mike McCandless 5238de937a LUCENE-7069: woops, approxBestDistance was way too approximate when the point was inside the cell 2016-04-14 12:05:10 -04:00
Christine Poerschke 8d5d201343 LUCENE-7210: Make TestCore*Parser's analyzer choice override-able. (Christine Poerschke, Daniel Collins) 2016-04-14 16:03:11 +01:00
Mike McCandless f6c7fc7a26 LUCENE-7069: add LatLonPoint.nearest to find N nearest points 2016-04-14 11:02:25 -04:00
Mike McCandless af5742cc0a LUCENE-7218: remove wrong comment 2016-04-14 05:55:15 -04:00
Mike McCandless 60033b308a improve exception messages when requested slice is out of bounds 2016-04-14 05:52:53 -04:00
Robert Muir 2335a458d8 LUCENE-7215: don't invoke full haversin for LatLonPoint.newDistanceQuery 2016-04-13 19:02:11 -04:00
Robert Muir 1a1c8dbfb3 LUCENE-7213: fix test bug when LatLonPoint.newBoxQuery returns MatchNoDocsQuery. 2016-04-13 18:52:32 -04:00
Karl Wright e4dcf423e3 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-13 16:15:53 -04:00
Karl Wright 6e5ec3bb4c Disable GeoConvexPolygon and GeoConcavePolygon sanity checks, since these are now package private and the check happens in GeoPolygonFactory anyway. 2016-04-13 16:15:43 -04:00
Robert Muir fc19c99e0e LUCENE-7214: Remove two-phase iteration from LatLonPoint.newDistanceQuery 2016-04-13 15:57:04 -04:00
David Smiley f7f64c2172 LUCENE-7211: Use DocIdSetBuilder instead of FixedBitSet in spatial RPT intersects predicate. 2016-04-13 10:39:09 -04:00
Robert Muir cd673ebec9 LUCENE-7185: add proper tests for grid bugs found here, and fix related bugs still lurking 2016-04-13 10:33:26 -04:00
Christine Poerschke f2f484680f LUCENE-7205: Remove repeated nl.getLength() calls in (Boolean|DisjunctionMax|FuzzyLikeThis)QueryBuilder. 2016-04-13 11:27:17 +01:00
Mike McCandless e076b4c5b4 improve randomized polygon generation to sometimes include regular ngons 2016-04-13 05:51:38 -04:00
Karl Wright 69f3d1fe5f LUCENE-7204: Add a test for (and make a fix for) legitimately coplanar polygon points. 2016-04-13 02:51:25 -04:00
Karl Wright 9a150920a6 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-12 15:37:47 -04:00
Karl Wright 414bdea97a LUCENE-7204: Add check for backtracking over polygon path. 2016-04-12 15:37:13 -04:00
Robert Muir 8f5ef078b0 LUCENE-7207: fix test bug. shrinking a box which is a line can create a cross-dateline query! 2016-04-12 09:27:30 -04:00
Mike McCandless e034b04b06 LUCENE-7189: improve geo debugging technology 2016-04-12 06:10:08 -04:00
Karl Wright a3ee984bc8 LUCENE-7203: Fix the javadoc broken in the previous commit. 2016-04-12 06:05:22 -04:00
Karl Wright 91f74ee254 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-12 06:03:24 -04:00
Karl Wright aa4236a612 LUCENE-7203: Improve polygon intersection detection using a small amount of upfront work. 2016-04-12 06:03:04 -04:00
yonik c1a70f31a6 LUCENE-7188: remove incorrect sanity check in NRTCachingDirectory.listAll() that throws IllegalStateException 2016-04-11 23:51:41 -04:00
Karl Wright 61e3c4020c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-11 12:55:38 -04:00
Karl Wright 83bde55865 LUCENE-7201: Handle illegal rectangles during testing. 2016-04-11 12:55:21 -04:00
Karl Wright 05dc90215a LUCENE-7201: Handle backside whole-world case for bbox generation. 2016-04-11 12:52:48 -04:00
Adrien Grand 88965a0bec Fix javadoc generation. 2016-04-11 18:46:47 +02:00
Robert Muir 901a3af301 LUCENE-7185: fix random number generation used for spatial tests.
Note that GeoPoint tests are still on the old RNG as we haven't get made them happy.
2016-04-11 10:36:10 -04:00
Mike McCandless 739c752cd3 LUCENE-7189: use fewer sampling points for small earth-surface rectangles 2016-04-11 05:45:42 -04:00
Mike McCandless 38bf7dd834 fix silly stack-building test bug in BKD visitor forensics 2016-04-11 05:42:59 -04:00
Mike McCandless 604fb28b58 fix rare test bug 2016-04-11 05:24:34 -04:00
Tommaso Teofili 273d586be4 LUCENE-7196 - added missing misc dependency 2016-04-11 10:03:37 +02:00
Tommaso Teofili 112078eaf9 LUCENE-7196 - guaranteed class coverage in split indexes through grouping by class 2016-04-11 09:59:22 +02:00
Martijn van Groningen d7867b80f8 LUCENE-7187: Block join queries' Weight#extractTerms(...) implementations should delegate to the wrapped weight. 2016-04-11 09:20:39 +02:00
Mike McCandless dd8c199c0b fix failing test: 6.0 has back compat support in 7.0 ;) 2016-04-10 11:03:35 -04:00
Karl Wright 22ccccfc3e LUCENE-7199: Use a more refined algorithm for picking the random pole used in clockwise/counterclockwise determination. 2016-04-10 08:58:19 -04:00
Karl Wright a4bf526a62 LUCENE-7194: Roll our own toRadians() method, and also make it less likely we'll need to restaple the toString() tests. 2016-04-10 05:11:12 -04:00
Karl Wright d377e7fd34 LUCENE-7197: Fix two test failures and add more forensics that helped resolve the issue. 2016-04-09 16:12:39 -04:00
Karl Wright 4d3a633bf1 Augment explain output from geo3d BKD tree tests to include shape relationships etc. 2016-04-09 00:56:27 -04:00
Karl Wright 23b953cb4f Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-08 20:35:55 -04:00
Karl Wright 4537a66bb1 Stop tests from failing just because of toString test 2016-04-08 20:34:23 -04:00
nknize 455f3dd694 LUCENE-7184: update CHANGES.txt 2016-04-08 15:15:57 -05:00
Karl Wright eb8751256d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-08 15:53:30 -04:00
Karl Wright 4c4730484d LUCENE-7195: Clockwise/counterclockwise detection was rotating coordinates in the wrong direction. 2016-04-08 15:53:12 -04:00
nknize 48f77829f4 adds 6.0.0 back compat test indexes 2016-04-08 14:29:31 -05:00
nknize d896eab989 minor trimming from spatial module's GeoEncodingUtils 2016-04-08 10:55:40 -05:00
Karl Wright 771680cfd0 LUCENE-7192: Permit adjacent points in a polygon to be coplanar. 2016-04-08 09:14:47 -04:00