Commit Graph

2684 Commits

Author SHA1 Message Date
Chris M. Hostetter 6821905d24 SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591800 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 00:33:28 +00:00
Shalin Shekhar Mangar abe013d771 SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Shalin Shekhar Mangar a5c8d6b7a5 SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591555 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 07:39:39 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Dawid Weiss 8c17d6c662 Marking known offenders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1591218 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 09:24:13 +00:00
Michael McCandless f5de5d01e8 LUCENE-5611: simplify the default indexing chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591025 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 17:18:41 +00:00
Joel Bernstein 37e44ba41a SOLR-6029: CollapsingQParserPlugin throws ArrayIndexOutOfBoundsException if elevated doc has been deleted from a segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590865 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 04:43:07 +00:00
Robert Muir f0414ff3af LUCENE-5611: fix the crazy getAttribute API to prevent double lookups and extra code everywhere
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5611@1590731 13f79535-47bb-0310-9956-ffa450edef68
2014-04-28 18:13:15 +00:00
Ryan Ernst 0dea18dd2e SOLR-6017: Fix SimpleQParser to use query analyzer instead of index analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590166 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 22:18:24 +00:00
Steven Rowe 61ed64ed8e SOLR-6006: Separate test and compile scope dependencies in the Solrj ivy.xml file, so that the derived Maven dependencies get filled out properly in the Solrj POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589937 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 06:12:45 +00:00
Yonik Seeley 54cfa922ae SOLR-6011: ComplexPhraseQuery hashCode/equals fix for inOrder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589812 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 18:12:15 +00:00
Mark Robert Miller b25a5d00ab SOLR-5735: Try to enable this test again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589489 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 18:50:54 +00:00
Mark Robert Miller b74b88a823 SOLR-6002: CLOSE_LOCK does not need to be static, waitForMerges when DirectUpdateHandler2 closes the IndexWriter, add Greg to CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589327 13f79535-47bb-0310-9956-ffa450edef68
2014-04-23 01:01:45 +00:00
Mark Robert Miller 678758ae57 SOLR-6002: Fix a couple of ugly issues around SolrIndexWriter close and rollback as well as how SolrIndexWriter manages it's ref counted directory instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589294 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 21:23:31 +00:00
Ryan Ernst 056ba38708 SOLR-5999: Add checkIntegrityAtMerge support to solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589272 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 19:45:58 +00:00
Uwe Schindler 0e8a6d7d2f SOLR-5309: Disable test as it fails now almost every time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588903 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 15:33:36 +00:00
Robert Muir 14a9e19e18 LUCENE-5612: fix NativeFSLockFactory to pass LockStressTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588870 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 11:09:26 +00:00
Robert Muir ec0a9f1f13 LUCENE-5621: remove IndexOutput.flush
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-20 11:43:42 +00:00
Ryan Ernst 2af485f151 SOLR-5974: Remove ShardDoc.score and use parent's ScoreDoc.score
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588580 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 22:10:26 +00:00
Mark Robert Miller 07470a07f9 SOLR-5996: Fix checkIfDiffIsLegal, add some testing, refactor out a few methods into CloudInspectUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588486 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 15:00:25 +00:00
Shalin Shekhar Mangar a536cb3548 SOLR-5993: ZkController can warn about shard leader conflict even after the conflict is resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588415 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 05:30:37 +00:00
Mark Robert Miller bbad949644 SOLR-5776: *sigh* Revert this for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller abed84e836 SOLR-5989: Pass add and delete fails to checkShardConsistency call in ChaosMonkeyNothingisSafeTest so that legal differences are ignored.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588403 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:37:12 +00:00
Mark Robert Miller e2fb46a51e SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Erick Erickson c8bf11d202 add 'remove' as update option for atomically removing a value from a multivalued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588385 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 22:46:38 +00:00
Noble Paul bae74d6649 SOLR-5473 forbidden API usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587876 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 11:38:14 +00:00
Noble Paul 3cb0a855a0 SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Shalin Shekhar Mangar 67e6e24d44 Example schema ships with random_ dynamic field so use it instead of rand_ in the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587819 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 07:23:34 +00:00
Mark Robert Miller c7c9fc35a1 SOLR-5904: ElectionContext can cancel an election when it should not if there was an exception while trying to register as the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587702 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:28:45 +00:00
Mark Robert Miller 3800409581 SOLR-5980: Add a test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587149 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 04:47:19 +00:00
Mark Robert Miller a4133ca6c2 tests: harden this test due to a current short coming in the collections api.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587099 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 21:32:58 +00:00
Mark Robert Miller 856cdf8d3e SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +00:00
Michael McCandless bb639e561d LUCENE-5582: remove IndexOutput.length/setLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586743 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 18:46:43 +00:00
Robert Muir b72cd4b7d9 LUCENE-5573: Move docvalues constants and helper methods to o.a.l.index.DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586600 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 08:54:03 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Steven Rowe f58f711f73 SOLR-4864: RegexReplaceProcessorFactory should support pattern capture group substitution in replacement string.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586093 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:31:01 +00:00
Michael McCandless 8559eafd99 LUCENE-4246: fix IW.close to just close, even on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Noble Paul abd4de42a0 SOLR-5859 Fixing test errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 10:12:47 +00:00
Uwe Schindler 8674badf9d SOLR-5960: Add support for basic authentication in post.jar tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585057 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:46:42 +00:00
Dawid Weiss c72e8820a1 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1585024 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:02:57 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Adrien Grand 85642f59dd LUCENE-5527: Refactor Collector API to use a dedicated Collector per leaf.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584747 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:31:00 +00:00
Shalin Shekhar Mangar 39a1cb98ec SOLR-5749: Renamed some stat names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:12:24 +00:00
Dawid Weiss ee084bbe60 Cleanups and refactorings after Mark's suggestions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Noble Paul 77f452b45b SOLR-5859 improved logging, and fix a potential bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584271 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 07:07:50 +00:00
Uwe Schindler 21b6d9890e SOLR-5951: Fixed SolrDispatchFilter to throw useful exception on startup if SLF4j logging jars are missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584213 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:24:19 +00:00
Steven Rowe a3b46516f7 SOLR-5654: Create a synonym filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584211 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:09:08 +00:00
Robert Muir 0c0d026fea LUCENE-5563: remove sep layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584140 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 19:28:33 +00:00