Commit Graph

22661 Commits

Author SHA1 Message Date
David Wayne Smiley d0a159e5d7 LUCENE-6392 Highlighter: add maxStartOffset (and other memory saving efficiencies) to TokenStreamFromTermVector.
Delaying TokenSources changes for LUCENE-6445.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675504 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 21:35:16 +00:00
David Wayne Smiley af6fe4d174 LUCENE-6423: New LimitTokenOffsetFilter to limit tokens <= a maxStartOffset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675473 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:38:51 +00:00
Yonik Seeley dd68aaf7e0 tests: test date docvalues w/ json facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:19:52 +00:00
Yonik Seeley a02b9a08a1 SOLR-7417: implement unique() for numeric fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 17:22:27 +00:00
David Wayne Smiley 662c3d8634 LUCENE-6196: Geo3dShapeTest -> Geo3dShapeRectRelationTest and complete testing of the 4 shape types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675386 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 15:40:36 +00:00
David Wayne Smiley c2deaeb066 LUCENE-6196: RectIntersectionTestHelper: fix to work with testing rectangles, and more clearly test when the shape.getBoundingBox may be faulty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675385 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 15:37:41 +00:00
David Wayne Smiley 1242bf1519 LUCENE-6196: committing Karl's latest patch
https://reviews.apache.org/r/33353/ (diff #9) https://reviews.apache.org/r/33353/diff/raw/


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1675374 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 14:47:00 +00:00
Adrien Grand 965105b8fe LUCENE-6446: Fix method visibility and trappy factory method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675365 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 14:02:58 +00:00
Shalin Shekhar Mangar 9464d2afb7 SOLR-4839: Make our jetty configs resemble stock Jetty 9.3 configs more closely. Thread pool and common config goes to jetty.xml. All property names are prefixed with solr.jetty. SSL keystore paths are now absolute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:35:31 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Shai Erera 5afa59c004 SOLR-7408: Let SolrCore be the only thing which registers/unregisters a config directory listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 08:25:26 +00:00
Shalin Shekhar Mangar ede96a0dd1 SOLR-4839: Upgrade jetty to 9.2.10.v20150310 in trunk. Also, moved the change log entry to 6.0.0 until we backport to 5x.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675261 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 05:57:28 +00:00
Shalin Shekhar Mangar 3c1c7279dc SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 04:25:13 +00:00
Yonik Seeley f8025175d5 SOLR-7443: Implement range faceting over date fields in facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 02:23:09 +00:00
Anshum Gupta 2482af467d SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent to the MLTQParser in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675230 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 00:09:33 +00:00
Adrien Grand 1422c4607f LUCENE-6448: Make Filter a better Query citizen.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675199 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 20:56:14 +00:00
Robert Muir ef4c9ffc06 speed up base norms test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675177 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 18:17:38 +00:00
Adrien Grand 9cc27ca420 LUCENE-6446: Protected against null sub explanations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675153 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 16:39:02 +00:00
Robert Muir 77b74fc623 LUCENE-6447: AssertingLeafReader should delegate getCoreCacheKey()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675137 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 15:24:06 +00:00
Adrien Grand 0e947bb668 LUCENE-6409: Mark TestLongBitSet.testHugeCapacity as @Nightly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675134 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 15:17:32 +00:00
Adrien Grand ec4015f029 LUCENE-6446: Fix explanations of BM25Similarity.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675133 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 15:15:08 +00:00
Adrien Grand c6821e1a19 LUCENE-6446: Simplified Explanation API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Robert Muir fb5bdbf543 LUCENE-6442: Add mockfs with unpredictable but deterministic file listing order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675097 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 11:33:52 +00:00
Shalin Shekhar Mangar 2aed77e893 SOLR-6665: Add AwaitsFix annotation to the new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675067 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 09:04:17 +00:00
Shai Erera 8c2c3f0609 LUCENE-6441: Change default formatting settings to break lines at 120 characters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675056 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 07:31:25 +00:00
Shalin Shekhar Mangar 9eae452cfb SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are marked as 'down' if multiple replicas with the same core name exist in the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 05:49:39 +00:00
Mark Robert Miller d33eb8eb44 SOLR-7429: Remove Solr server module sync-hack introduced in SOLR-4050.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 22:39:13 +00:00
Uwe Schindler fae5b46a20 LUCENE-6439: enable support fors test-framework-tests on Maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674990 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 21:32:12 +00:00
Michael McCandless 04a4db6bc6 LUCENE-6444: add missing 4.10.4 unsupported back-compat indices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674961 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 18:41:22 +00:00
Robert Muir c3209306cb LUCENE-6439: Create test-framework/src/test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674946 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 17:23:58 +00:00
Uwe Schindler f4207755d9 LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 16:26:26 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Robert Muir c617356a29 LUCENE-6440: Show LuceneTestCase LiveIndexWriterConfig changes with deltas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674912 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:03:00 +00:00
Steven Rowe 0bc9c7821d SOLR-7419: document intentional overflow in SolrQueryTimeoutImpl thread local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674866 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 14:25:52 +00:00
David Wayne Smiley bf74c72eb2 Port RectIntersectionTestHelper (and TestLog and RandomizedShapeTest) from Spatial4j. Add Geo3dShapeTest, initially added GeoCircle; others are TBD. Test fails.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1674845 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 13:40:54 +00:00
Shalin Shekhar Mangar da1cd63a22 SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index replication taking longer than 30 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674733 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:44:02 +00:00
David Wayne Smiley c3a4ee1c3b committing Karl's latest LUCENE-6196-fixes.patch (plus my test failures)
https://reviews.apache.org/r/33268/diff/raw/
WIP; tests fail

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6196@1674732 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:31:29 +00:00
Robert Muir b67473ea85 make tests.verbose only include relevant output, fix non-reproducibility (!) of QueryUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674730 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:13:45 +00:00
Robert Muir 39da139934 speedups for the slowest tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674704 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 22:47:00 +00:00
Mark Robert Miller ea83cc6678 SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 18:44:21 +00:00
Martijn van Groningen 07beb24d93 LUCENE-6389: Added ScoreMode.Min that aggregates the lowest child score to the parent hit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674622 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 13:14:13 +00:00
Shalin Shekhar Mangar e699256bbb SOLR-7381: Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674593 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 03:48:22 +00:00
Robert Muir 04f870c172 LUCENE-6436: add SuppressFsync annotation and reduce the number of fsyncs in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674570 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:27:57 +00:00
Ramkumar Aiyengar 19e25c78b6 SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674565 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:13:00 +00:00
Michael McCandless a4369f070e LUCENE-6437: randomize cpu core count and spins for ConcurrentMergeScheduler's dynamic defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674535 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 16:28:00 +00:00
Yonik Seeley 3b94724907 SOLR-7422: "type" param for JSON Facet API for flatter structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:27:26 +00:00
Timothy Potter beea9c2733 SOLR-7421: Marking test as a BadApple for now until we can figure out what is causing replication to take so long for a small index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674512 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:11:26 +00:00
Shalin Shekhar Mangar e541bccd45 SOLR-7420: Overseer stats are not reset on loss of ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 08:42:57 +00:00
Shalin Shekhar Mangar 8573f64b9c SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher throws an expected exception. This closes #57.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674443 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 04:43:19 +00:00
Shalin Shekhar Mangar f258d2f9d4 SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 03:32:36 +00:00