Michael McCandless
4a485d6877
LUCENE-5889: add commit method to AnalyzingInfixSuggester
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619635 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 00:07:15 +00:00
Mark Robert Miller
277136452a
SOLR-6400: SolrCloud tests are not properly testing session expiration.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619612 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 22:29:12 +00:00
Mark Robert Miller
8e69f04527
SOLR-6089: When using the HDFS block cache, when a file is deleted, it's underlying data entries in the block cache are not removed, which is a problem with the global block cache option.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619427 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:03:29 +00:00
Mark Robert Miller
e681856c55
SOLR-6268: HdfsUpdateLog has a race condition that can expose a closed HDFS FileSystem instance and should close it's FileSystem instance if either inherited close method is called.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619402 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 14:16:07 +00:00
Anshum Gupta
8af2ef5345
SOLR-6391: Improve message for CREATECOLLECTION failure due to missing numShards
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619263 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 23:20:28 +00:00
Mark Robert Miller
cdd0fe7f8d
SOLR-6393: TransactionLog replay performance on HDFS is very poor.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619200 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 18:46:27 +00:00
Chris M. Hostetter
cac2292ce0
SOLR-6178: backout deprecation until we have a diff default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619172 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 17:31:08 +00:00
Uwe Schindler
ffeb6b029c
SOLR-6387: Try to fix this a second time...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618938 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 19:11:07 +00:00
Erick Erickson
3b5b5fe94c
SOLR-6314: Multi-threaded facet counts differ when SolrCloud has >1 shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618716 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 19:45:17 +00:00
Erick Erickson
46d60dadb4
SOLR-6338: coreRootDirectory requires trailing slash, or SolrCloud cores are created in wrong location. Thanks Primoz
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618705 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 18:55:09 +00:00
Uwe Schindler
52fe544a4c
SOLR-6387: Add better error messages throughout Solr and supply a work around for Java bug #8047340 to SystemInfoHandler: On Turkish default locale, some JVMs fail to fork on MacOSX, BSD, AIX, and Solaris platforms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618672 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 17:33:49 +00:00
Chris M. Hostetter
343e65244e
SOLR-2894: tweak test to workarround SOLR-6386
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618490 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 18:30:32 +00:00
Chris M. Hostetter
0baa187e09
SOLR-6380: Added missing context info to log message if IOException occurs in processing tlog
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618272 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 20:50:47 +00:00
Ryan Ernst
73bb9c91d9
LUCENE-5850: Made Version handling more robust and extensible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618263 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 19:15:17 +00:00
Joel Bernstein
41a0e71185
SOLR-5244: Exporting Full Sorted Result Sets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618224 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 16:23:36 +00:00
Joel Bernstein
eddeca9215
SOLR-5244: Exporting Full Sorted Result Sets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618068 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 21:48:13 +00:00
Chris M. Hostetter
b49aa49762
SOLR-2894: band-aid call to waitForThingsToLevelOut seems to eliminate some failures on some systems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618051 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 21:02:12 +00:00
Robert Muir
99c23632fa
LUCENE-5882: Add 4.10 docvaluesformat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617975 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 15:30:44 +00:00
Anshum Gupta
a13df9ace6
SOLR-6284: Fix NPE in OCP when non-existent sliceId is used for a deleteShard request. (This closes #74 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617968 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 15:09:43 +00:00
Mark Robert Miller
f25288764a
SOLR-5656: Add autoAddReplicas feature for shared file systems.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617919 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 12:32:27 +00:00
Tomas Eduardo Fernandez Lobbe
e0c00539b5
SOLR-6374: Improved TestIntervalFaceting: Avoid asserting on number of segments as that depends on the seed. Skip tests when multiple segments can't be generated easily
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617858 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 00:21:29 +00:00
Mark Robert Miller
b7ad072dda
SOLR-6372: HdfsDirectoryFactory should use supplied Configuration for communicating with secure kerberos.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617852 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 23:00:12 +00:00
Chris M. Hostetter
910d467a93
SOLR-2894: Distributed query support for facet.pivot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617789 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:23:53 +00:00
Erik Hatcher
7e4603a988
SOLR-6062: Fix undesirable edismax query parser effect (introduced in SOLR-2058) in how phrase queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617719 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 12:56:13 +00:00
Anshum Gupta
78c68d7847
SOLR-6347: Fix NPE during last replica deletion for custom sharded collections using DELETEREPLICA
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617673 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 07:41:54 +00:00
Erik Hatcher
61ed771dd4
SOLR-3957: Removed experimental warning from a couple of Solr handlers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617651 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 02:09:48 +00:00
James Dyer
b5e18c6ccb
SOLR-3029: Spellcheck response format changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617572 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 19:40:10 +00:00
Adrien Grand
94d1b7f5a6
LUCENE-5864: Split BytesRef into BytesRef and BytesRefBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617493 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:46:45 +00:00
Mark Robert Miller
693a0c0291
SOLR-6291: RollingRestartTest is too slow.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617482 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 14:14:33 +00:00
Noble Paul
6caeac6c2c
SOLR-6304 JsonLoader should be able to flatten an input JSON to multiple docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617287 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 14:07:38 +00:00
Ryan Ernst
872bd9145c
LUCENE-5871: Remove Version from IndexWriterConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Ryan Ernst
9938a39a87
LUCENE-5859: Remove Version from Analyzer constructors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616901 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 22:42:48 +00:00
Mark Robert Miller
7959276928
SOLR-6336: Cache children as well so that they can be returned when the watcher is reused.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616771 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 14:19:07 +00:00
Mark Robert Miller
c805a20bf5
SOLR-6336: DistributedQueue can easily create too many ZooKeeper Watches. ( closes #80 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616654 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 01:16:36 +00:00
Chris M. Hostetter
611190f82f
rm SolrXMLSerializer, all usage of this class was refactored away a while ago, but it wasn't deleted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616646 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 00:08:21 +00:00
Tomas Eduardo Fernandez Lobbe
ca8dd2347c
SOLR-6283: Add support for Interval Faceting in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616628 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 23:27:19 +00:00
David Wayne Smiley
4b5f9578e2
SOLR-6318: New terms QParser defaults to comma delimited now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616609 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 22:24:40 +00:00
David Wayne Smiley
4e3bc61907
SOLR-6318: New terms QParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616558 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 18:00:11 +00:00
Mark Robert Miller
c229b7f1b3
SOLR-6313: Add skip Overseer logic that did not make it in.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616528 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 16:34:36 +00:00
Steven Rowe
5575ff520f
SOLR-4385: Stop using SVN Keyword Substitution in Solr src code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616393 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 03:25:40 +00:00
Timothy Potter
c119cf89a4
SOLR-6163: Correctly decode special characters in managed stopwords and synonym endpoints.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616361 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 21:50:40 +00:00
Mark Robert Miller
ddbd55d24d
SOLR-6313: Improve SolrCloud cloud-dev scripts.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616275 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 16:46:31 +00:00
Timothy Potter
581415ab0f
SOLR-6233: Basic implementation of a command-line application for checking status of Solr and running a healthcheck for a collection; intended to be used with bin/solr script.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616256 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 15:41:01 +00:00
David Wayne Smiley
5dac8551b8
SOLR-6103: Test mult-valued DateRangeField (thanks Varun Thacker)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615961 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 17:04:55 +00:00
Shai Erera
f7305e3571
fix typo in solrconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615391 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 07:26:17 +00:00
Noble Paul
de86f763f5
SOLR-6294 ,SOLR-6302
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615345 13f79535-47bb-0310-9956-ffa450edef68
2014-08-02 18:40:42 +00:00
Shalin Shekhar Mangar
cb84bf6888
SOLR-6309: Increase timeouts for AsyncMigrateRouteKeyTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615075 13f79535-47bb-0310-9956-ffa450edef68
2014-08-01 12:06:52 +00:00
Robert Muir
e6d29d223b
LUCENE-5859: Literally add back dead code to please a bunch of fucking babies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614852 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 10:44:39 +00:00
Robert Muir
0368c604cc
LUCENE-5859: remove dead code: changes no runtime behavior, these are all unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614778 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 22:16:16 +00:00
Steven Rowe
5b1c0f316d
SOLR-5776: Re-enable SSL for this test, to see if attempts to increase the entropy pool on ASF FreeBSD Jenkins and Policeman MacOSX Jenkins are helping at all.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614774 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 21:28:31 +00:00
David Wayne Smiley
0ffce18e13
SOLR-6281: Made PostingsSolrHighlighter more configurable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614702 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:27:13 +00:00
Robert Muir
3f4b2b472f
LUCENE-5859: remove Version param from LuceneTestCase.newIndexWriterConfig, the grand sum of 2 tests making use of it can use the 3-arg version and reduce the noise everywhere else
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614698 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 16:20:24 +00:00
Timothy Potter
8fa6c59beb
SOLR-6020: Fix broken JavaDoc found by precommit.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614498 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 21:48:17 +00:00
Shalin Shekhar Mangar
73503c4f66
SOLR-6020: Auto-generate a unique key in schema-less example if data does not have an id field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614416 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 16:46:26 +00:00
Mark Robert Miller
6aeceaeb86
SOLR-6261: Run ZooKeeper watch event callbacks in parallel to the ZooKeeper event thread.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614244 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 03:04:35 +00:00
Shalin Shekhar Mangar
dcb260ad14
SOLR-6290: Harden and speed up CollectionsAPIAsyncDistributedZkTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614194 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 21:42:52 +00:00
Mark Robert Miller
b2e631846f
SOLR-6264: Distributed commit and optimize are executed serially across all replicas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614118 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 18:45:23 +00:00
Robert Muir
2080ddc885
LUCENE-5593: speed up javadocs generation in build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Shalin Shekhar Mangar
63b9f12570
SOLR-6286: Add logging on how long we slept and how many docs were found
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613838 13f79535-47bb-0310-9956-ffa450edef68
2014-07-27 20:27:35 +00:00
Erick Erickson
0b11b8ab6b
SOLR-6267: Let user override Interval Faceting key with LocalParams. Thanks Tomas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613308 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 21:43:18 +00:00
Mark Robert Miller
62059a4fdc
SOLR-6274: UpdateShardHandler should log the params used to configure it's HttpClient.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613182 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 16:39:08 +00:00
Shalin Shekhar Mangar
4b40a46634
SOLR-6270: Increased timeouts for MultiThreadedOCPTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612999 13f79535-47bb-0310-9956-ffa450edef68
2014-07-24 05:15:29 +00:00
Chris M. Hostetter
d9660bcd42
SOLR-6232: fix logging of core init failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612896 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:50:10 +00:00
Erick Erickson
2d1056e06f
SOLR-6216: Better faceting for multiple intervals on DV fields. Thanks Tomas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:43:23 +00:00
Mark Robert Miller
f94f4952a7
SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612585 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 15:02:43 +00:00
Shalin Shekhar Mangar
1c6508b284
SOLR-6231: Harden the RollingRestartTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612499 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 08:01:39 +00:00
Mark Robert Miller
514e04fe7f
SOLR-6252: A couple of small improvements to UnInvertedField class.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612422 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 22:29:31 +00:00
Chris M. Hostetter
61967d99a4
SOLR-5746: Bugs in solr.xml parsing have been fixed to more correctly deal with the various datatypes of options people can specify, additional error handling of duplicated/unidentified options has also been added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612419 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 22:18:38 +00:00
Mark Robert Miller
a141498428
fix formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612410 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 21:54:56 +00:00
Shalin Shekhar Mangar
27d68500ee
SOLR-5968: BinaryResponseWriter fetches unnecessary stored fields when only pseudo-fields are requested
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612200 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:25:24 +00:00
Steven Rowe
a0bc0c3d80
SOLR-6257: More than two "!"-s in a doc ID throws an ArrayIndexOutOfBoundsException when using the composite id router.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611934 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:48:53 +00:00
Timothy Potter
02f4d97cf9
SOLR-6241: disable this test on Jenkins until we can track down the cause of the No registered leader was found after waiting for 60000ms , collection: c8n_1x3_lf slice: shard1 problem
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611922 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:11:44 +00:00
Shalin Shekhar Mangar
c8261a41d3
SOLR-6259: Reduce CPU usage by avoiding repeated costly calls to Document.getField inside DocumentBuilder.toDocument for use-cases with large number of fields and copyFields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611852 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 07:10:36 +00:00
Steven Rowe
63a925d578
SOLR-6137: Disable SSL for TestCloudSchemaless
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611445 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 19:29:59 +00:00
Alan Woodward
1abbfdb1f7
SOLR-6232: Missed a configset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 19:21:37 +00:00
Alan Woodward
26f2106743
SOLR-6232: Allow unloading of cores that have failed to init
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 15:23:43 +00:00
Shalin Shekhar Mangar
ce7e042052
SOLR-6137: Fix off-by-one error in array access
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610909 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 05:02:36 +00:00
Steven Rowe
2671418cfb
SOLR-6137: Schemaless concurrency improvements:
...
- Fixed an NPE when reloading a managed schema with no dynamic copy fields
- Moved parsing and schema fields addition to after the distributed phase
- AddSchemaFieldsUpdateProcessor now uses a fixed schema rather than always retrieving the latest, and holds the schema update lock through the entire schema swap-out process
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610725 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 15:23:57 +00:00
Shalin Shekhar Mangar
7ece5859b3
SOLR-6208: JettySolrRunner QueuedThreadPool's configuration code is never executed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610408 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 13:35:13 +00:00
Shalin Shekhar Mangar
10ecbc5a97
SOLR-6241: Harden the HttpPartitionTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610364 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:58:54 +00:00
Shalin Shekhar Mangar
ef998ce538
SOLR-6235: Fix comparison to use coreNodeName on both sides in ElectionContext.startLeaderInitiatedRecoveryOnReplicas
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610361 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 08:53:30 +00:00
Shalin Shekhar Mangar
6069b78cc0
SOLR-6235: Improved logging in RecoveryStrategy and fixed a mistake in ElectionContext logging that I had made earlier.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610351 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 07:46:59 +00:00
Shalin Shekhar Mangar
473e0189c6
SOLR-6240: Fixed broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610088 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 23:52:03 +00:00
Shalin Shekhar Mangar
92782a07db
SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610033 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:55:00 +00:00
Shalin Shekhar Mangar
31d361d6ec
SOLR-6235: Leader initiated recovery should use coreNodeName instead of coreName to avoid marking all replicas having common core name as down
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610028 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:34:39 +00:00
David Wayne Smiley
4a7b55d258
SOLR-6183: bug, BBoxField didn't propagate docValues configuration.
...
And numberType is now a required attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609291 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 20:31:37 +00:00
James Dyer
4007157b14
SOLR-2853: unit test for "spellcheck.maxCollationTries=0"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1609171 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:22:08 +00:00
David Wayne Smiley
7cffcc7422
SOLR-6183: Spatial BBoxField using BBoxSpatialStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 03:42:09 +00:00
David Wayne Smiley
d1d8101289
SOLR-6183: AbstractSpatialFieldType: refactor getValueSourceFromSpatialArgs out of getQueryFromSpatialArgs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608991 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 02:24:19 +00:00
Shalin Shekhar Mangar
beeeba528f
SOLR-6229: Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608680 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 07:29:30 +00:00
Steven Rowe
954f3dfdc5
SOLR-6180: Callers of ManagedIndexSchema mutators should hold the schemaUpdateLock.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608646 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 03:20:54 +00:00
Chris M. Hostetter
474d846bb5
LUCENE-5790: Fix compareTo in MutableValueDouble and MutableValueBool, this caused incorrect results when grouping on fields with missing values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608639 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 01:23:11 +00:00
Shalin Shekhar Mangar
6c0539dd7f
SOLR-6228: Make sure that versions are checked after index and config replication is complete
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608601 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 20:37:33 +00:00
Shalin Shekhar Mangar
cec47f9baf
SOLR-5596: Remove initCore call from afterClass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608562 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 19:05:58 +00:00
Shalin Shekhar Mangar
b30059948e
SOLR-6225: Add the url of the node on which commitWithin failed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608138 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 21:58:20 +00:00
Shalin Shekhar Mangar
35d479f1b7
Increase timeout to 90 seconds to make it pass on slow jenkins machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608127 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 20:21:46 +00:00
Uwe Schindler
4cdfa19970
LUCENE-5803: Add DelegatingAnalyzerWrapper, an optimized variant of AnalyzerWrapper that doesn't allow to wrap components or readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607998 13f79535-47bb-0310-9956-ffa450edef68
2014-07-05 11:32:31 +00:00
Shalin Shekhar Mangar
271576ed0f
SOLR-6223: SearchComponents may throw NPE when using shards.tolerant and there is a failure in the 'GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG' phase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607897 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 17:54:53 +00:00
Noble Paul
2f28cc16e0
reverting SOLR-5473 , SOLR-5474
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Timothy Potter
d96d20fbdb
SOLR-6157: Disable this test for now as it is still hanging on Jenkins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607420 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:57:40 +00:00
Noble Paul
af18eeed89
SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar
e15ff59929
SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Timothy Potter
5c75969c04
SOLR-6179: Fix unit test breakage by using InMemory storage if config dir is not writable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607128 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 16:06:59 +00:00
Timothy Potter
f512330b14
SOLR-6157: Refactor the ensureAllReplicasAreActive method into base class and ensure the ClusterState is updated to address intermittent test failures on Jenkins.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607110 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 15:16:36 +00:00
Timothy Potter
59a18c685b
SOLR-6179: Better strategy for handling empty managed data to avoid spurious warning messages in the logs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607102 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 14:49:26 +00:00
Shalin Shekhar Mangar
7c103dbf62
SOLR-6159: A ZooKeeper session expiry during setup can keep LeaderElector from joining elections
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606996 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 07:00:04 +00:00
Alan Woodward
c96ff1d7cf
SOLR-6171: Remove SolrCores coreNameToOrig map
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606918 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 20:25:24 +00:00
Alan Woodward
3fb008e7f0
SOLR-6170: Merge CoreContainer preRegisterInZk and register methods into create method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 19:41:07 +00:00
Steven Rowe
b7290e523b
SOLR-6215: TrieDateField should directly extend TrieField instead of forwarding to a wrapped TrieField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606794 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 15:46:54 +00:00
Steven Rowe
cbdbaa05a3
SOLR-6211: TrieDateField doesn't default to omitNorms=true.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606734 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 13:43:24 +00:00
Dawid Weiss
680286c00e
Temporarily disabling SSLMigrationTest; SOLR-6213 it's hanging the build server.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606671 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 10:26:27 +00:00
Shalin Shekhar Mangar
98503b6c55
SOLR-6181: Deleting SliceStateUpdateTest since it has become redundant with ShardSplitTest and MigrateRouteKeyTest coming in.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606299 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 06:22:54 +00:00
Shalin Shekhar Mangar
5f22d328a4
SOLR-6044: The 'clusterstatus' API should return live_nodes as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606046 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 12:14:57 +00:00
Shalin Shekhar Mangar
70709b224a
SOLR-6069: The 'clusterstatus' API should return 'roles' information
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606034 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:29:14 +00:00
Shalin Shekhar Mangar
96b85b3970
SOLR-6072: The 'deletereplica' API should remove the data and instance directory by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605993 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 09:00:00 +00:00
Shalin Shekhar Mangar
d91568be77
SOLR-5309: Do not try to delete document ids whose addition had failed earlier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 19:20:28 +00:00
Shalin Shekhar Mangar
fa405e1a59
SOLR-6196: The overseerstatus collection API instruments amILeader and ZK state update calls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605805 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 14:54:44 +00:00
Shalin Shekhar Mangar
c296d9df0f
SOLR-6206: The migrate collection API fails on retry if temp collection already exists
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605771 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 12:58:19 +00:00
Shalin Shekhar Mangar
54b11b3eba
SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is set in cluster properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605362 13f79535-47bb-0310-9956-ffa450edef68
2014-06-25 12:09:57 +00:00
Timothy Potter
b24d80fba3
SOLR-6189: Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605134 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 16:47:53 +00:00
Noble Paul
f2eacfd18b
SOLR-5902: Corecontainer level mbeans are not exposed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605081 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 13:53:52 +00:00
Chris M. Hostetter
bbd4f58af5
expand test to show BQ skipping limit the number of times a nested func is called
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604990 13f79535-47bb-0310-9956-ffa450edef68
2014-06-24 01:16:57 +00:00
Chris M. Hostetter
665fc4df87
fix false assumptions about doc index order in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604898 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:20:32 +00:00
Timothy Potter
c7b6dfad62
SOLR-6157: Hang occurred again, somewhere in tearDown ... changing the code to close the socket proxies after super.tearDown, if that doesn't work, I'll add the AwaitsFix back to the code to ignore this test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604868 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 16:26:08 +00:00
Noble Paul
f220845368
SOLR-6095 wait for http responses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604791 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 13:13:49 +00:00
Uwe Schindler
0e9d6de916
SOLR-6178, LUCENE-5775: Deprecate JaspellLookupFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604122 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 10:16:48 +00:00
Timothy Potter
e18a021fa4
SOLR-6182: correctly cast managedData as a List<Object> when loading stored RestManager data; solution verified with manual testing only as the unit tests use in-memory storage so will need to re-work the backing store to test this behavior in the unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604078 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 03:24:37 +00:00
Chris M. Hostetter
2867f2c593
use Chaos Monkey's utility method for (re)starting up jetty so that we get it's automatic rety mechanism in the event that the old jetty process hasn't finished releasing the port
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604033 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 21:16:24 +00:00
Michael McCandless
ec2eaaafad
LUCENE-5752: switch to simpler Automaton implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603752 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:22:08 +00:00
Shalin Shekhar Mangar
2fbc511c38
SOLR-6161: Walk the entire cause chain looking for an Error
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603708 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 04:32:50 +00:00
Alan Woodward
23a3287f00
SOLR-6064: Return DebugComponent track output as JSON object
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603608 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 19:55:28 +00:00
Alan Woodward
ac9f70adc8
SOLR-6125: Allow SolrIndexWriter to close without waiting for merges
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603600 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 19:33:51 +00:00
Shalin Shekhar Mangar
c0d5fbb829
SOLR-6173: Fixed wrong failure message in TestDistributedSearch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603494 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 15:47:16 +00:00
Michael McCandless
8f0c046ef6
LUCENE-5752: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603492 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 15:45:58 +00:00
Noble Paul
76f4abe306
SOLR-6095 Uncaught Exception causing test failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603467 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 14:46:38 +00:00
Noble Paul
3ed3a46057
SOLR-6095 SolrCloud cluster can end up without an overseer with overseer roles
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603382 13f79535-47bb-0310-9956-ffa450edef68
2014-06-18 09:39:34 +00:00
David Wayne Smiley
67eef54ff2
SOLR-6160: bugfix when facet query or range with group facets and distributed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603310 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 23:01:56 +00:00
Steven Rowe
bdd350df8f
SOLR-6164: Copy Fields Schema additions are not distributed to other nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603300 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 22:24:29 +00:00
Shalin Shekhar Mangar
726607a6fc
SOLR-6175: Assert that exception message is not null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603236 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 17:50:29 +00:00
Shalin Shekhar Mangar
30fa1375cd
SOLR-6175: Fix failing test by removing assert that matches exception message. They might be different between platforms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603233 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 17:44:07 +00:00
Michael McCandless
a135294eda
LUCENE-5752: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603107 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 09:41:54 +00:00
Shalin Shekhar Mangar
2fe64e65ac
SOLR-6175: DebugComponent throws NPE on shard exceptions when using shards.tolerant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603061 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 05:45:07 +00:00
Michael McCandless
be3cca1e44
LUCENE-5752: renames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1603012 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 22:23:11 +00:00
Adrien Grand
e7f81b4d6c
LUCENE-5767: OrdinalMap optimizations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602997 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 20:33:44 +00:00
Michael McCandless
63c2842d87
LUCENE-5752: merge trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5752@1602968 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 19:26:19 +00:00
Timothy Potter
5755634db6
SOLR-5956: Use getInstanceDir instead of getRawInstanceDir as that was causing issues when trying to create a backup of an index on Linux when solr.solr.home is a symbolic link.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602953 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 18:36:08 +00:00
Timothy Potter
46daa9178a
SOLR-6157: Added some logging and re-opened the socket proxy to try to figure out why this test is hanging; reenabling temporarily to see if these changes help diagnose the cause of the hang.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602924 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 16:44:15 +00:00
Robert Muir
ff3582d5a8
LUCENE-5761: Remove DiskDocValuesFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602862 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 13:14:01 +00:00
Dawid Weiss
dc8e53b11a
SOLR-6151: Intermittent TestReplicationHandlerBackup failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602854 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 12:17:57 +00:00
Alan Woodward
8dc0acca45
SOLR-6169: Properly remove deprecated CoreAdminHandler handleAlias action
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602825 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 09:17:23 +00:00