Commit Graph

5516 Commits

Author SHA1 Message Date
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
Shalin Shekhar Mangar b2a01a6504 SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and StreamingUpdateSolrServer with ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590410 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 16:05:30 +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 033f80fd7a SOLR-6006: fix Solr contrib test dependencies by adding jcl-over-slf4j and retrieving it into each contrib's test-lib/ directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589953 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 08:55:05 +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
Steven Rowe b7ae53146e Remove obsolete "hadoop.version" entity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589935 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 05:59:13 +00:00
Mark Robert Miller 0bb3e820ca tests: suppress ssl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589879 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 20:54:55 +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
Dawid Weiss 5767c9a835 Branch for LUCENE-5622
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/LUCENE-5622@1589645 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 09:22:03 +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
Mark Robert Miller 521361d252 SOLR-5996: Add deleteId and not Id for failed delete tracking.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589127 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 13:47:39 +00:00
Uwe Schindler d3e43ba112 Fix upgrading instructions in CHANGES.txt to include recent Java 7 instructions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589071 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 10:24:39 +00:00
Stefan Matheis b8d878843f SOLR-5897: clarify what has been done for CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588954 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 18:37:48 +00:00
Stefan Matheis a14dbd1159 SOLR-5897: modify CHANGES.txt, backport to 4.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588914 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 16:21:57 +00:00
Stefan Matheis 6aee6b26af SOLR-5897: Add license header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588913 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 16:19:56 +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
Stefan Matheis b4b30303ae SOLR-5897: JQuery file listed as version 1.7.2 but actually contains 1.4.3 code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588898 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 15:16:27 +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
Mark Robert Miller 2ce470fa6c SOLR-5996: Improve request fail logging by including id.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588846 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 03:04:03 +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 389a4b93dc SOLR-5776: Set the server side to SHA1PRNG as in Steve's original patch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588402 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:22:51 +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
Mark Robert Miller 050342b8a4 SOLR-5868: HttpClient should be configured to use ALLOW_ALL_HOSTNAME hostname verifier to simplify SSL setup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588312 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 17:28:01 +00:00
Uwe Schindler 5d1c11c49b LUCENE-5607: Update SYSTEM_REQUIREMENTS.txt and update Java-7-known-to-work version numbers before release of Lucene/Solr 4.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588188 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 09:34:24 +00:00
Uwe Schindler 1d50a08415 Synchronize CHANGES.txt between branches before 4.8 release. This is more or less a copypaste from older version to next newer version & review. Some wrongly places stuff was corrected. There are some whitespace changes in it, but its better to have them in sync.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588165 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 08:47:22 +00:00
Mark Robert Miller 9804d3f853 SOLR-5954: Move CHANGES entry to 4.8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587925 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 14:31:33 +00:00
Mark Robert Miller b0cdbe2242 SOLR-5987: Add "collection" to UpdateParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587918 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 14:24:48 +00:00
Shai Erera 50e53475ef fix javadocs errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587893 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 12:41:06 +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 d393b2916c SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc connections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587706 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:38:35 +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
Robert Muir 6d680325d8 merge 4.7.2 CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587465 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 07:52:15 +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
Uwe Schindler 05bb3e8673 Move to Lucene 4.9 on stable branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586576 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 05:39:28 +00:00
Erick Erickson f954405782 SOLR-5978: Undoing previous edit, should be a 4x only change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586203 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 03:38:46 +00:00
Erick Erickson 58343a35ae SOLR-5978: Warning for SOLR-5522 (file/edit) should be removed from example solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586202 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 03:29:56 +00:00
Steven Rowe d1b922fe12 SOLR-5937: Modernize the DIH example config sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586120 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 20:05:25 +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
Ryan McKinley 0b728e5336 Merged revision(s) 1586012 from lucene/dev/branches/branch_4x:
use html for ellipsis
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586074 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 18:34:24 +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
Dawid Weiss f99edee7a3 LUCENE-5567: When a suite fails with zombie threads failure marker and count is not propagated properly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584569 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 09:03:36 +00:00
Steven Rowe 3df0ae45f6 SOLR-5950: Maven config: make the org.slf4j:slf4j-api dependency transitive (i.e., not optional) in all modules in which it's a dependency, including solrj, except for the WAR, where it will remain optional.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584473 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 23:49:08 +00:00
Steven Rowe f9104a1693 Remove SOLR-5228 from the "New Features" section - it's already in the "Other Changes" section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584414 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 21:48:24 +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
Noble Paul 2b3e0bb9a6 SOLR-5859 removing accidental removal of SOLR-5908 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584115 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 18:10:06 +00:00
Steven Rowe e4e90c224f SOLR-5859: add OCP.getCollectionStatus() param description for 'clusterState' to stop 'ant precommit' bitching 'Javadoc: Description expected after this reference' and failing the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584108 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:51:11 +00:00
Chris M. Hostetter 80cce99ebc SOLR-5795: harden leader check to log cleanly (no NPE) in transient situations when there is no leader due to election in progress
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584097 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:20:11 +00:00
Shalin Shekhar Mangar a9e04127df SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584083 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:31:47 +00:00
Noble Paul 3fd2922341 SOLR-5859 Harden Overseer restart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584069 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 15:22:01 +00:00
Joel Bernstein e081587dea SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583802 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 21:37:05 +00:00
Chris M. Hostetter fe148ceb1a SOLR-5795: New DocExpirationUpdateProcessorFactory supports computing an expiration date for documents from the TTL expression, as well as automatically deleting expired documents on a periodic basis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583734 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 16:55:42 +00:00
Shalin Shekhar Mangar ca71f2f8d0 SOLR-5880: Fix test failure when n=1. Make it at least 2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583721 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 15:50:12 +00:00
Erick Erickson 930b68033e SOLR-5488: Fix up test failures for Analytics Component. Runs clean locally.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583636 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 11:43:27 +00:00
Robert Muir c189d0fb74 LUCENE-2446: add checksums to index files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583550 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 07:36:45 +00:00
Anshum Gupta aacd7ee80f SOLR-5908: Make the REQUESTSTATUS Collection API call non-blocking and non-blocked.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583532 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 04:52:54 +00:00
Joel Bernstein 002f3d1b6b SOLR-5773: CollapsingQParserPlugin should make elevated documents the group head
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583500 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 00:23:33 +00:00
Uwe Schindler f682af8641 LUCENE-5560: Replace com.google.common.base.Charsets by Java7 StandardCharsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583476 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 22:16:44 +00:00
Uwe Schindler 6750845f9b LUCENE-5560: Followup: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler 2f8192f3c5 LUCENE-5560: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller a44e0a82ba SOLR-5934: LBHttpSolrServer exception handling improvement and small test improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583213 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 22:04:58 +00:00
Mark Robert Miller 6bf76b1015 SOLR-5914: Polish up createTempDir calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Shalin Shekhar Mangar 8a328c9318 SOLR-5920: Fix forbidden-api-check failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 04:18:21 +00:00
Steven Rowe 145dcab3ca SOLR-5920: fix CursorMarkTest.getRandomCollation() to call termAtt.fillBytesRef() and ts.end()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582934 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 01:35:24 +00:00
Steven Rowe a53c78d7ef SOLR-5920: Distributed sort on DateField, BoolField and BCD{Int,Long,Str}Field returns string cast exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582929 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 01:01:05 +00:00
Uwe Schindler 3a9185ec9d Remove broken Javadoc parts on private method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 21:28:41 +00:00
Alan Woodward a133eed069 SOLR-4478: Use CloudConfigSetService with embedded zk server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 17:28:37 +00:00
Mark Robert Miller 64ad96afb1 SOLR-5914: Need to use ensureClosed boolean everywhere in SolrTestCaseJ4.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582826 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:55:24 +00:00
Shalin Shekhar Mangar 3944c63ba4 SOLR-5466: A new List collections and cluster status API which clients can use to read collection and shard information instead of reading data directly from ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582734 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:54:47 +00:00
Mark Robert Miller 8c1810a26f SOLR-5914: Fix morphlines contrib tests use of solrhome.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582577 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 01:32:29 +00:00
Mark Robert Miller 30711a3c34 SOLR-5914: Fix map-reduce contrib tests use of solrhome.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582575 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 01:20:31 +00:00
Mark Robert Miller 48c5ea550f SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Uwe Schindler 61c6ee3ce8 SOLR-5914: Fix missing close on Reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582549 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 23:49:03 +00:00
Mark Robert Miller 6afdd45556 SOLR-5914: Solr tests should use dataDir for tmp files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Michael McCandless 9d52ea9598 SOLR-5915: get parserImpl=XXX working for PreAnalyzedField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 16:55:16 +00:00
Dawid Weiss 688addbd50 Branch for solr5914
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller b7b0643115 SOLR-5914: Cleanup and fix Solr's test cleanup code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Chris M. Hostetter 83036e1800 SOLR-5783: harden tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581398 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 16:10:14 +00:00
Alan Woodward 1dba8a6f6b SOLR-5903: SolrCore implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581360 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:46:19 +00:00
Shalin Shekhar Mangar 436fc3149a SOLR-5906: Collection create API ignores property.instanceDir parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581341 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:20:36 +00:00
Dawid Weiss 1152acb681 SOLR-5909: Upgrade Carrot2 clustering dependency to 3.9.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581299 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 12:18:13 +00:00
Steven Rowe 09418cf0b2 SOLR-5818: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581239 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:20:55 +00:00
Shalin Shekhar Mangar 4afe792b33 SOLR-5905: Changed IllegalStateException to a SolrException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581236 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:09:11 +00:00
Shalin Shekhar Mangar b9814a4a89 SOLR-5905: CollapsingQParserPlugin throws a NPE if required 'field' param is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581234 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:05:02 +00:00
Steven Rowe 991fba9981 Moved '--help' away from the beginning of the line - otherwise, changes-to-html thinks it's a sub-bulleted item.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581231 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 05:01:54 +00:00
Steven Rowe 05dc13f7e3 SOLR-5874,SOLR-5899: move CHANGES.txt entries to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581220 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 04:05:30 +00:00
Steven Rowe cc22a1212c SOLR-5839: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581215 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 03:37:50 +00:00
Steven Rowe 764cba049d SOLR-5834: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581212 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 03:28:34 +00:00
Steven Rowe aae64b9063 SOLR-5796: move CHANGES.txt entries to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581196 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 03:00:05 +00:00
Steven Rowe 847707dbf2 SOLR-5811: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581185 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 02:04:10 +00:00
Mark Robert Miller 6d6c17a342 SOLR-5907: Fix messed up merge - conflicted twice and screwed up the second merge.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581177 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 01:31:08 +00:00
Mark Robert Miller 563ebdbdf0 SOLR-5907: The hdfs write cache can cause a reader to see a corrupted state. It now defaults to off, and if you were using solr.hdfs.blockcache.write.enabled explicitly, you should set it to false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581174 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 01:27:38 +00:00
Steven Rowe 6de62086ad SOLR-5761: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581172 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 01:02:59 +00:00
Steven Rowe 4692669919 SOLR-5760: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581169 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 00:55:25 +00:00
Steven Rowe c215ee38a9 SOLR-5734: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 00:45:42 +00:00
Steven Rowe 051c7b6054 SOLR-5777: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581015 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 19:38:33 +00:00
Shalin Shekhar Mangar ed2bc87956 SOLR-5550: Move entry to 4.7.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580982 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 18:41:26 +00:00
Steven Rowe f9043599b0 SOLR-5423: move CHANGES.txt entry to 4.7.1 section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580967 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 18:19:58 +00:00
Mark Robert Miller 69aee41967 SOLR-5880: Try syncing solrj test solr.xml up with core test solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580922 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 17:16:05 +00:00
Shalin Shekhar Mangar 2de7c07f41 SOLR-5681: Moving changelog entry to 4.7.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580920 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 17:15:10 +00:00
Alan Woodward dc2b46d161 SOLR-4478: Test fix for Windows filepaths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 13:20:25 +00:00
Alan Woodward 0e8d8fefae SOLR-4478: Allow cores to use configurations specified outside their instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:54:51 +00:00
Noble Paul 00d2b4d960 SOLR-5893 eliminating unnecessary NoNodeException logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580804 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:31:21 +00:00
Mark Robert Miller b838ab4b96 tests: improve test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 05:39:44 +00:00
Mark Robert Miller 7422c1e1ee SOLR-5884: Name executor threads and use execturo shutdown rather than shutdownNow.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:51:53 +00:00
Erick Erickson 98017a31b3 SOLR-5228: Deprecate <fields> and <types> tags in schema.xml. Moved entries in CHANGES.txt as per Steve Rowe's comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580725 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:34:19 +00:00
Mark Robert Miller 7095d0178f SOLR-5884: When recovery is cancelled, any call to the leader to wait to see the replica in the right state for recovery should be aborted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:05:04 +00:00
Mark Robert Miller 1567665c96 LUCENE-5543: Add allowReadingFilesStillOpenForWrite to MockDirectoryFactory and MockDirectoryWrapper and set it to true for cloud tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580707 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 02:47:53 +00:00
Mark Robert Miller 742aadf5a2 tests: improve this test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580703 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 02:28:05 +00:00
Mark Robert Miller 38e4a746e2 SOLR-5880: Revert last commit - confused the stack trace - instead, @BadApple this test method for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580674 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:30:07 +00:00
Mark Robert Miller c4b14c5863 tests: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580669 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:09:11 +00:00
Mark Robert Miller af26e13463 SOLR-5898: Update to latest Kite Morphlines release: Version 0.12.1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580565 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 18:46:52 +00:00
Mark Robert Miller 76ab559958 SOLR-5874: Unsafe cast in CloudSolrServer's RouteException. Change RouteException to handle Throwable rather than Exception.
SOLR-5899: CloudSolrServer's RouteResponse and RouteException should be publicly accessible.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580550 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:46:23 +00:00
Michael McCandless ef3973c589 LUCENE-5543 remove/deprecate Directory.fileExists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580540 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:05:36 +00:00
Erick Erickson 9a8a4c7c7f SOLR-5228: Deprecate <fields> and <types> tags in schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580515 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 15:40:52 +00:00
Shalin Shekhar Mangar 68825572d2 SOLR-5749: Removed unused methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580465 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:30:21 +00:00
Shalin Shekhar Mangar c263c714ce SOLR-5749: A new Overseer status collection API exposes overseer queue sizes, timing statistics, success and error counts and last N failures per operation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580463 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:22:28 +00:00
Shalin Shekhar Mangar 3ecd526643 Don't swallow exception in getLatestVersion. Refactored some odd if conditions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580294 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 19:34:47 +00:00
Shalin Shekhar Mangar 367e66b01f SOLR-5895: JavaBinLoader hides IOExceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580290 13f79535-47bb-0310-9956-ffa450edef68
2014-03-22 19:29:04 +00:00
Shalin Shekhar Mangar d50899c506 SOLR-5860: Use leaderConflictResolveWait in WaitForState during recovery/startup, improve logging and force refresh cluster state every 15 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579954 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:14:20 +00:00
Mark Robert Miller b2335520fe SOLR-5865: Testing improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579951 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 15:00:07 +00:00
Noble Paul 54b06fdd42 SOLR-5893 On restarting overseer designate , move itself to front of the queue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579901 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 08:54:31 +00:00
Noble Paul c05222bc0d SOLR-5715 CloudSolrServer should choose URLs that match _route_
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579897 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 08:41:38 +00:00