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
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
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
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
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
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
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
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
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
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
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
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
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
Mark Robert Miller
5c20f7dfba
SOLR-5865: Un@Ignore test again.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579679 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 16:30:28 +00:00
Mark Robert Miller
2ce105ed45
SOLR-5888: Speed up SyncSliceTest as well as some other tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 05:03:14 +00:00
Mark Robert Miller
1ae8b73a89
tests: speed up this test for non nightly runs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579350 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:51:09 +00:00
Mark Robert Miller
1109c1275b
SOLR-5883: Many tests do not shutdown SolrServer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Mark Robert Miller
f946c7dd6a
tests: Add SuppressSSL to ChaosMOnkeyNothingIsSafeTest.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579321 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 17:53:55 +00:00
Mark Robert Miller
05a0b55434
SOLR-5865: Ignore test for the moment.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579247 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 14:54:03 +00:00
Mark Robert Miller
0cd51f329b
SOLR-5865: Don't use random for now, un@Ignore test, clear static in afterClass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579135 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 05:10:49 +00:00
Mark Robert Miller
ee0eeb2d77
tests: cancel Timer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579125 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:52:09 +00:00
Mark Robert Miller
69de1dd4ab
SOLR-5865: Provide a MiniSolrCloudCluster to enable easier testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579116 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 03:11:03 +00:00
Robert Muir
0bba517d93
LUCENE-5111: Fix WordDelimiterFilter offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578993 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 18:12:16 +00:00
Mark Robert Miller
0c18bb45d7
SOLR-5832: Improve scary logging from ZkControllerTest suggests test setup isn't doing what it's suppose to.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578975 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 17:31:51 +00:00
Mark Robert Miller
9b985f6461
SOLR-5832: Scary logging from ZkControllerTest suggests test setup isn't doing what it's suppose to.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578974 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 17:27:47 +00:00
Alan Woodward
7e8e19b7c0
SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578800 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 09:46:48 +00:00
Anshum Gupta
6ea3907374
SOLR-5876: Fix self-calling createCollection(..) function.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578775 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 07:28:29 +00:00
Mark Robert Miller
0914b1bd60
Revert CollectionAPIDistributedZkTest for a bit - needs some more work.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578744 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:34:06 +00:00
Mark Robert Miller
855617a528
Improve CollectionsAPIDistributedZkTest.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 05:04:48 +00:00
Mark Robert Miller
2b7f281077
SOLR-5770: Further fixes and SSL migration test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578635 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 22:26:49 +00:00
Steven Rowe
67bc019bd9
SOLR-5875: QueryComponent.mergeIds() unmarshals all docs' sort field values once per doc instead of once per shard.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578434 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 15:24:54 +00:00
Erick Erickson
023aa2bf2a
SOLR-1604: Wildcards, ORs etc inside Phrase Queries or 'ComplexPhraseQueryParser support in Solr'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578200 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:11:15 +00:00
Shalin Shekhar Mangar
e790ae64c0
SOLR-5550: shards.info is not returned by a short circuited distributed query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578078 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 14:11:07 +00:00
Shalin Shekhar Mangar
d99d2992cd
SOLR-3177: Enable tagging and excluding filters in StatsComponent via the localParams syntax
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577976 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:58:07 +00:00
Shalin Shekhar Mangar
4e38601baf
SOLR-5866: UpdateShardHandler needs to use the system default scheme registry to properly handle https via javax.net.ssl.* properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577971 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:28:44 +00:00
Shalin Shekhar Mangar
68b3675ce8
SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577968 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 03:17:12 +00:00
Anshum Gupta
e7eb819d4b
SOLR-5477: Removing an unwanted call to zk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577965 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 02:27:48 +00:00
Anshum Gupta
e3ebe4b98a
SOLR-5477: Fix URL scheme modification from an earlier commit for SOLR-5477.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577801 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 08:09:32 +00:00
Steven Rowe
8db8c88def
Create a stopword 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@1577540 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:05:49 +00:00
Jan Høydahl
2c7fe979af
SOLR-5863: Asserts wrong way around in TestSolrXml and a few other classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:04:39 +00:00
Noble Paul
b2022c05d0
SOLR-5837 remove .equals from Solr doc objects
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577491 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 11:44:40 +00:00
Anshum Gupta
0371c620d3
SOLR-5477: Async execution of OverseerCollectionProcessor tasks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577444 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 08:01:18 +00:00
Shalin Shekhar Mangar
8d64ac3a90
SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577228 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 16:30:18 +00:00
Yonik Seeley
2aa5585ede
SOLR-5783: fix mixing caching + non caching searchers, fix multiple registration of same searcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577167 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 14:01:35 +00:00
Jan Høydahl
44bec7cfe4
SOLR-5853: Return status for AbstractFullDistribZkTestBase#createCollection() and friends
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577156 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 13:38:20 +00:00
Steven Rowe
979230aca4
SOLR-5653: Create a RestManager to provide REST API endpoints for reconfigurable plugins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576939 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 21:52:49 +00:00
Robert Muir
3b67b17493
LUCENE-5512: remove redundant typing (diamond operator) in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Michael McCandless
2d88332e9d
LUCENE-5487: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1576473 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 19:03:45 +00:00
Michael McCandless
9bdf937ac2
LUCENE-5487: consolidate the FakeScorers within one package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1576273 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:47:43 +00:00
Noble Paul
babbd07ed1
SOLR-5837 Added .equals method for SolrDocument, SolrInputDocument and SolrInputField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 10:18:42 +00:00
Mark Robert Miller
3e397f0189
SOLR-5839: ZookeeperInfoServlet does not trim path properly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575592 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 19:05:24 +00:00
Mark Robert Miller
b97e7b5a4a
SOLR-5834: Overseer threads are only being interrupted and not closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575476 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 04:38:20 +00:00
Michael McCandless
d784980654
LUCENE-5487: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1575397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 20:50:45 +00:00
Ryan Ernst
26c79531b0
SOLR-5818: distrib search with custom comparator does not quite work correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575344 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 18:01:52 +00:00
Michael McCandless
45649d2445
LUCENE-5487: add TopScorers to FilteredQuery too; fix Solr; resolve all nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5487@1575057 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 21:48:23 +00:00
Michael McCandless
cee0e37635
LUCENE-5493: fix solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5493@1574969 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 17:20:45 +00:00
Chris M. Hostetter
b221115ebc
SOLR-5628: work arround for this test to avoid whatever bug is in the cloud test framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574941 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 16:13:20 +00:00
Mark Robert Miller
cdf254415b
SOLR-5820: OverseerCollectionProcessor#lookupReplicas has a timeout that is too short and a bad error message on timeout.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574883 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 14:06:35 +00:00
Mark Robert Miller
d23a3374e1
SOLR-5811: Improve logged message.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574753 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 02:29:43 +00:00
Mark Robert Miller
7f31dc2d7d
SOLR-5796: Fix illegal API call to format.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574664 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 21:12:41 +00:00
Mark Robert Miller
f9124b8d03
SOLR-5796: Increase how long we are willing to wait for a core to see the ZK advertised leader in it's local state.
...
SOLR-5796: Make how long we are willing to wait for a core to see the ZK advertised leader in it's local state configurable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574638 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 19:41:51 +00:00
Chris M. Hostetter
f54178970e
LUCENE-5472: IndexWriter.addDocument will now throw an IllegalArgumentException if a Term to be indexed exceeds IndexWriter.MAX_TERM_LENGTH
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574595 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 18:05:25 +00:00
Mark Robert Miller
af101b3057
SOLR-5813: tests for "" or null collection name - should default to core name.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:48:27 +00:00
Mark Robert Miller
e88091b3dd
SOLR-5811: Additional cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574580 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:28:31 +00:00
Mark Robert Miller
9f701bd304
SOLR-5811: The Overseer will retry work items until success, which is a serious problem if you hit a bad work item.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574280 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 01:33:35 +00:00
Chris M. Hostetter
96bcbefdd4
SOLR-5815: add some test logging to try and figure out WTF
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574273 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 01:01:18 +00:00
Mark Robert Miller
f38c82b7a2
SOLR-5714: You can now use one pool of memory for for the HDFS block cache that all collections share.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573847 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 03:18:47 +00:00
Chris M. Hostetter
08b0073e28
SOLR-5783: Requests to open a new searcher will now reuse the current registered searcher (w/o additional warming) if possible in situations where the underlying index has not changed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573763 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:37:50 +00:00
Joel Bernstein
d8e387dc0f
SOLR-5720: Java 6 compatibility change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573636 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 17:42:47 +00:00
Joel Bernstein
f48d27f241
SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 15:45:59 +00:00
Mark Robert Miller
9441f0d4ce
SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller
1263b95738
tests: raise poll timeout for this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573423 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:07:16 +00:00
Mark Robert Miller
46c42df1df
tests: raise default update timeouts for tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573409 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:55:18 +00:00
Mark Robert Miller
2e6c905f42
tests: raise the timeout on this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573405 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:45:40 +00:00
Mark Robert Miller
a828f6ff05
SOLR-5799: Fix impl.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573401 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:09:13 +00:00