Commit Graph

22441 Commits

Author SHA1 Message Date
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
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
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
Tommaso Teofili dbf063d3d1 LUCENE-6433 - using generics in Classifier#getClasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674304 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 13:46:17 +00:00
Robert Muir 44a97f67b7 LUCENE-6432: add SuppressReproduceLine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674277 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 11:21:21 +00:00
Robert Muir 538f90225e LUCENE-6431: make ExtrasFS reproducible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 11:07:45 +00:00
Robert Muir 8611461a94 add assume for jenkins machines running us-ascii etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674188 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 02:08:59 +00:00
Tomas Eduardo Fernandez Lobbe 61bdfdd635 SOLR-7412: Fixed range.facet.other parameter for distributed requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674182 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:35:30 +00:00
Robert Muir 3dd6b59650 LUCENE-6430: fix URI delegation for non-ascii files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674177 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:04:56 +00:00
Yonik Seeley 4e73212034 SOLR-7411: fix threadsafety bug in SearchHandler introduced in SOLR-7380
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 22:47:11 +00:00
Michael McCandless f9e71c7eec LUCENE-6400: preserve original token when possible in SolrSynonymParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 21:26:35 +00:00
Michael McCandless 678d8d3f0c LUCENE-6345: add null checking for query parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674124 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 18:16:22 +00:00
Michael McCandless 67035844c1 fix test bug: this test relies on docid ordering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674117 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 17:40:11 +00:00
Robert Muir 5cbdc93244 LUCENE-6430: FilterPath needs hashCode/equals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674105 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 16:07:18 +00:00
Adrien Grand f4c0546567 LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Adrien Grand d30e730809 LUCENE-6429: Removed the TermQuery(Term,int) constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674084 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 14:53:09 +00:00
Michael McCandless bf299ff52e LUCENE-5879: fix test bug: we cannot enforce max term count for empty-string prefix query since we [intentionally] do not create an empty-string auto-prefix term at index time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674029 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 09:18:58 +00:00
Steven Rowe 01a4c97273 Backcompat index generation: add docs, and point to usage information on the wiki: http://wiki.apache.org/lucene-java/ReleaseTodo#Generate_Backcompat_Indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673962 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 21:36:00 +00:00
Steven Rowe 648d28dbe9 Add 5.1.0 back compat test indices
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673899 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:55:19 +00:00