Yonik Seeley
0522dd002e
SOLR-5395: add RunAlways marker interface for update processor facctories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536341 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 12:53:05 +00:00
Joel Bernstein
929c88c78f
SOLR-5027: Added error handling to CollapsingQParserPlugin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535614 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 02:50:34 +00:00
Adrien Grand
d49ba41f54
LUCENE-5304: SingletonSortedSetDocValues can now return the wrapped SortedDocValues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535382 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 13:52:40 +00:00
Joel Bernstein
3a594688a5
SOLR-5027 CollapsingQParserPlugin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535208 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 23:19:12 +00:00
Mark Robert Miller
1c8595c86a
SOLR-5384: randomlyEnableAutoSoftCommit in ChaosMonkeySafeLeaderTest is buggy.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535204 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 22:37:47 +00:00
Mark Robert Miller
9c47892d4e
SOLR-5380: Using cloudSolrServer.setDefaultCollection(collectionId) does not work as intended for an alias spanning more than 1 collection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535076 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:11:44 +00:00
Alan Woodward
0c95712ee4
SOLR-5363: Solr doesn't start up properly with Log4J2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1535065 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 15:47:00 +00:00
Shalin Shekhar Mangar
e29c49f458
SOLR-5300: Check that the supplied hash ranges actually cover the entire range of the shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534974 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 10:26:20 +00:00
Shalin Shekhar Mangar
99db3a2137
Increase read timeout in shard split call to 5 minutes. 1 minute is too low for many seeds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534046 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 07:24:45 +00:00
Mark Robert Miller
4975ad612b
SOLR-5371: Solr should consistently call SolrServer#shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534002 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:58:36 +00:00
Mark Robert Miller
26e7b5edb6
SOLR-5370: Requests to recover when an update fails should be done in background threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533996 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:31:36 +00:00
Shawn Heisey
52a77784c2
SOLR-5042 SOLR-5125 SOLR-5368: mlt.count used incorrectly in MoreLikeThisComponent.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 21:40:55 +00:00
Mark Robert Miller
3543a7544c
tests: try a 2 minute so timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533956 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 19:14:43 +00:00
Mark Robert Miller
76bea43846
use a minimum socket read timeout of 1 min
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533933 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 18:09:20 +00:00
Mark Robert Miller
5141a5b842
SOLR-5369: first try - wait a little longer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533929 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 17:53:33 +00:00
Mark Robert Miller
ef03527e87
SOLR-5328: Errant numShards in test solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533806 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 18:48:43 +00:00
Mark Robert Miller
3f289b737b
SOLR-5223: SolrCloud should use the JavaBin binary format for communication by default.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533684 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 03:24:08 +00:00
Mark Robert Miller
02e255ae46
SOLR-5216: Document updates to SolrCloud can cause a distributed deadlock.
...
SOLR-5232: SolrCloud should distribute updates via streaming rather than buffering.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533649 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 22:10:53 +00:00
Shalin Shekhar Mangar
a4cb46ce23
SOLR-5353: Allow CoreAdmin split to accept a single range only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:11:01 +00:00
Shalin Shekhar Mangar
ea81f1add6
SOLR-5353: Enhance CoreAdmin api to split a route key's documents from an index and leave behind all other documents
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1533163 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 17:08:59 +00:00
Yonik Seeley
086ec7c493
SOLR-5330: make copy of term bytes before calling next
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532900 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:45:48 +00:00
Shalin Shekhar Mangar
3aacbf9f91
SOLR-5338: CompositeIdRouter.keyHashRange should not throw exception if route key is not composite
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532867 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 19:16:17 +00:00
Ryan Ernst
9fecedb68e
SOLR-5329: moved AbstractBadConfigTestBase to test-framework
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1532676 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:04:31 +00:00
Shalin Shekhar Mangar
116439fa67
SOLR-5338: Split shards by a route key using split.key parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531845 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 10:48:02 +00:00
Mark Robert Miller
eedb448b41
tests: poll a bit longer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531774 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 01:42:43 +00:00
Mark Robert Miller
16ba0ac6f5
tests: fix hdfs collections api test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531771 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 01:30:40 +00:00
Mark Robert Miller
c5803cabf5
SOLR-5345: A first pass toning down OpenCloseCoreStressTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531766 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 22:45:25 +00:00
Robert Muir
13ed98be82
SOLR-5343: disable unreliable test method (fails more than 1/3 of the time)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531731 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 18:58:52 +00:00
Mark Robert Miller
0c6a64493c
SOLR-5325: ZooKeeper connection loss can cause the Overseer to stop processing commands.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531313 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 14:34:49 +00:00
Mark Robert Miller
5c9cbe9847
SOLR-5317: remove debug sys errs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531172 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 02:18:50 +00:00
Mark Robert Miller
4a894a8882
SOLR-5317: Fix race when persisting cores in solr.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531163 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 01:37:24 +00:00
Mark Robert Miller
d6bff5951c
SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531157 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 01:14:32 +00:00
Shalin Shekhar Mangar
2ab0051551
SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530994 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 14:26:29 +00:00
Mark Robert Miller
1c4c891e8e
SOLR-5317: tests: Compare absolute paths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530993 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 14:26:19 +00:00
Mark Robert Miller
33f7d2b5ea
SOLR-5317: SolrCore persistence bugs if defining SolrCores in solr.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530856 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 04:10:33 +00:00
Mark Robert Miller
8281cbf8af
SOLR-5306: Extra collection creation parameters like collection.configName are not being respected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530772 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 19:46:00 +00:00
Robert Muir
57f38e67d6
LUCENE-5261: add simple API to build queries from analysis chain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530693 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 15:59:24 +00:00
Shalin Shekhar Mangar
cd6c2268da
SOLR-5321: Remove unnecessary code in Overseer.updateState method which tries to use router name from message where none is ever sent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530555 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 10:34:15 +00:00
Shalin Shekhar Mangar
924865bf4a
SOLR-5319: Remove unused and incorrect router name from Collection ZK nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530521 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 08:18:46 +00:00
Shalin Shekhar Mangar
c98fa19d33
SOLR-5314: Shard split action should use soft commits instead of hard commits to make sub shard data visible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1530267 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 13:21:54 +00:00
Robert Muir
64a795b6e3
LUCENE-5259: convert analysis consumers to try-with-resources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529770 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 06:24:25 +00:00
Robert Muir
8fba601ed1
LUCENE-5240: additional safety in Tokenizer state machine
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529482 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 16:41:28 +00:00
Shalin Shekhar Mangar
2cd31e54b5
SOLR-5300: Shards can be split by specifying arbitrary number of hash ranges within the shard's hash range
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529444 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 13:00:36 +00:00
Shalin Shekhar Mangar
f387bbcf61
SOLR-5304: Fixed typo in exception message in CurrencyField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529405 13f79535-47bb-0310-9956-ffa450edef68
2013-10-05 08:23:49 +00:00
Jan Høydahl
5f5f7e7756
SOLR-5301: DELETEALIAS command prints CREATEALIAS in logs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529335 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 22:32:56 +00:00
Shawn Heisey
16ce59c34a
SOLR-5264: Removing deprecated getBooleanArg from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529016 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 21:54:42 +00:00
Shawn Heisey
4ebdcbafb4
SOLR-5264: move getBooleanArg to NamedList#removeBooleanArg
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528976 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 19:12:30 +00:00
Shawn Heisey
a68586a036
SOLR-5264 removing deprecated "oneOrMany" method from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528699 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 01:38:40 +00:00
Shawn Heisey
86a0b893fe
SOLR-5264 - move config argument retrieval/removal from Update Processor code to NamedList
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528680 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 23:45:25 +00:00
Shalin Shekhar Mangar
dd1fb1bca3
SOLR-5296: Creating a collection with implicit router adds shard ranges to each shard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528440 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 12:22:08 +00:00
Shalin Shekhar Mangar
b883f6f5b8
SOLR-5295: The CREATESHARD collection API creates maxShardsPerNode number of replicas if replicationFactor is not specified
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528426 13f79535-47bb-0310-9956-ffa450edef68
2013-10-02 11:11:15 +00:00
Steven Rowe
02d8e37328
LUCENE-5249: All Lucene/Solr modules should use the same dependency versions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 21:01:12 +00:00
Noble Paul
d36147eca7
SOLR-5258 compute full composite hash on router.field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528113 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 15:01:01 +00:00
Mark Robert Miller
4f8f10dcb0
SOLR-5291: Solrj does not propagate the root cause to the user for many errors.
...
SOLR-3530: Better error messages / Content-Type validation in SolrJ.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527547 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 13:20:27 +00:00
Shai Erera
1a740cad06
LUCENE-5215: Add support for FieldInfos generation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527154 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 06:19:00 +00:00
Steven Rowe
52ca961100
SOLR-5279: Implicit properties don't seem to exist on core RELOAD
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527042 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 19:36:18 +00:00
Steven Rowe
60479b32b0
SOLR-5281: IndexSchema log message was printing '[null]' instead of '[<core name>]'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526972 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:15:11 +00:00
Mark Robert Miller
2cdfc5cd97
SOLR-4590: Collections API should return a nice error when not in SolrCloud mode.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526614 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 17:32:01 +00:00
Mark Robert Miller
8eca0a7ccd
SOLR-5274: Allow JettySolrRunner SSL config to be specified via a constructor.
...
Updating org.apache.httpcomponents above 4.2.2 causes tests using SSL to fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526494 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 13:57:29 +00:00
Shalin Shekhar Mangar
8dae16c6d9
SOLR-5246: Shard splitting now supports collections configured with router.field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526151 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 10:48:09 +00:00
Chris M. Hostetter
b45e8cb708
fix windows test failure in TestImplicitCoreProperties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525935 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 16:07:07 +00:00
Chris M. Hostetter
ae72053351
improve test: a few more implicit properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525733 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:35:40 +00:00
Shalin Shekhar Mangar
876573650b
SOLR-5259: Fix typo in error message when _version_ field is missing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525620 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 15:14:10 +00:00
Uwe Schindler
34adebab3b
LUCENE-5235: Tokenizers now throw an IllegalStateException if the consumer does not call reset() before consuming the stream. Previous versions throwed NullPointerException or ArrayIndexOutOfBoundsException on best effort which was not user-friendly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525362 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 13:57:43 +00:00
Uwe Schindler
da34b18cb3
SOLR-4882: Restrict SolrResourceLoader to only allow access to resource files below the instance dir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525246 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 14:51:51 +00:00
Noble Paul
60e7475519
SOLR-4221 changed format router is stored
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 15:10:04 +00:00
Mark Robert Miller
c3bee17daa
SOLR-5243: Killing a shard in one collection can result in leader election in a different collection if they share the same coreNodeName.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524286 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:37:53 +00:00
Yonik Seeley
4b0c01af41
SOLR-5240: unlimited core loading threads to fix waiting-for-other-replicas deadlock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523871 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 02:14:50 +00:00
Chris M. Hostetter
804083be27
SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523725 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 16:39:29 +00:00
Mark Robert Miller
479234e7e3
SOLR-5150: HdfsIndexInput may not fully read requested bytes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523693 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 15:06:26 +00:00
David Wayne Smiley
61dd81d787
SOLR-2548: Simplified multi-threading of facet.threads logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523677 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 14:34:03 +00:00
Robert Muir
11a2ca8959
SOLR-5167: Ability to use AnalyzingInfixSuggester in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523451 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 16:13:32 +00:00
Robert Muir
67358330e1
SOLR-5237: add lucene index heap usage to luke request handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 15:32:08 +00:00
Mark Robert Miller
c4eb440bf8
tests: harden
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522701 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 19:28:32 +00:00
Yonik Seeley
f2b3d010b3
SOLR-5148: optimization - lazy create child doc list
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522680 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:44:09 +00:00
Adrien Grand
d06ba3caaf
LUCENE-5204: Make Directory easier to wrap.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522661 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 16:59:34 +00:00
Shalin Shekhar Mangar
247142e18c
SOLR-5233: The deleteshard collections API doesn't wait for cluster state to update, can fail if some nodes of the deleted shard were down and had incorrect logging.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522463 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:14:10 +00:00
Noble Paul
bddef8a226
SOLR-5006 added missed param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521955 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:57:20 +00:00
Chris M. Hostetter
86d4a61797
SOLR-5231: Fixed a bug with the behavior of BoolField that caused documents w/o a value for the field to act as if the value were true in functions if no other documents in the same index segment had a value of true.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521948 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:35:24 +00:00
Ryan McKinley
3cf82592c1
SOLR-3706: getRenderedMessage() rather than + ""
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521741 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 06:06:48 +00:00
Ryan McKinley
a338f097c6
SOLR-3706: avoid NPE (merge from 4x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521739 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 05:53:39 +00:00
Mark Robert Miller
bd4f9b9896
SOLR-4816: CloudSolrServer can now route updates locally and no longer relies on inter-node update forwarding.
...
SOLR-3249: Allow CloudSolrServer and SolrCmdDistributor to use JavaBin.
SOLR-4816: CloudSolrServer now uses multiple threads to send updates by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521713 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 01:19:45 +00:00
Chris M. Hostetter
88a00de5b7
SOLR-5227: Correctly fail schema init if a dynamicField is configured to be required, or have a default value
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521587 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:00:52 +00:00
Robert Muir
d545fdfd1e
SOLR-4909: Use DirectoryReader.openIfChanged in non-NRT mode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521556 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:19:08 +00:00
Chris M. Hostetter
54427466aa
SOLR-5222: test proving that dynamicField's using docValues work as expected with missing values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521304 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 22:29:42 +00:00
Erick Erickson
e4bcd35ac0
SOLR-2548, Multithread faceting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520645 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 17:53:40 +00:00
Adrien Grand
da16af7519
LUCENE-5101: Make it easier to plugin different bitset implementations to CachingWrapperFilter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520525 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 10:07:12 +00:00
Yonik Seeley
7e7cf0961f
SOLR-5175: keep child order in block index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520042 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 14:57:44 +00:00
Chris M. Hostetter
c53362f38a
SOLR-5206: Fixed OpenExchangeRatesOrgProvider to use refreshInterval correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519858 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 21:39:51 +00:00
Chris M. Hostetter
31a88ab101
SOLR-3852: Fixed ZookeeperInfoServlet so that the SolrCloud Admin UI pages will work even if ZK contains nodes with data which are not utf8 text
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519763 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 17:29:49 +00:00
Yonik Seeley
b352735c50
SOLR-5177: tests - add overwrite test for block join
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519679 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 13:36:41 +00:00
Erick Erickson
2ddb8154f4
SOLR-4688, add tests related to reporting ore init failures and lazy loaded cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1519180 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 13:20:48 +00:00
Chris M. Hostetter
2f99004faf
SOLR-5058: log msg typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518872 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 01:19:41 +00:00
Chris M. Hostetter
6f0040797e
SOLR-4249: remove legacy UniqFieldsUpdateProcessorFactory init param syntax from trunk for 5.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518836 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 21:40:55 +00:00
Chris M. Hostetter
13bedbe616
SOLR-4249: UniqFieldsUpdateProcessorFactory now extends FieldMutatingUpdateProcessorFactory and supports all of it's selector options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518717 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 17:31:17 +00:00
Chris M. Hostetter
5e70c629a4
SOLR-5118: more testing of edge case and some error conditions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518352 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 20:18:51 +00:00
Mark Robert Miller
cb439e9482
SOLR-5188: Bring back a test that checks the default LogWatcher enabled setting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517816 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 13:41:34 +00:00
Mark Robert Miller
4e9f65f2b0
SOLR-5188: The default LogWatcher should default to enabled and add some more LogWatcher init logging.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517805 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 12:57:35 +00:00
Erick Erickson
84063af19a
SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud mode.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517398 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 00:06:04 +00:00
Yonik Seeley
13789ae20b
SOLR-5143: tests - avoid too large of a tree for a single block
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516847 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 13:48:42 +00:00
Robert Muir
f6318fab03
remove code duplication in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516661 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 23:17:55 +00:00
Robert Muir
bc94ec4dc1
SOLR-5182: add regenerator for blockjoin cache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516653 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:52:27 +00:00
Erick Erickson
3865e131cb
SOLR-5057 - queryResultCache should match out-of-order fq clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516299 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 20:31:39 +00:00
Steven Rowe
918053d646
SOLR-5173: Solr-core's Maven configuration includes test-only Hadoop dependencies as indirect compile-time dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1516264 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 19:12:42 +00:00
Robert Muir
39dbc26716
LUCENE-5178: add missing support for docvalues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515977 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 21:30:55 +00:00
Robert Muir
2bbc869516
add a solr test for missing dv
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515959 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 20:37:06 +00:00
Chris M. Hostetter
fbbdba2614
SOLR-5108: fail plugin info loading if multiple instances exist but only one is expected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515852 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 16:02:38 +00:00
Robert Muir
3b49cf1c86
Merged /lucene/dev/trunk:r1514712-1515613
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515615 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 21:31:34 +00:00
Chris M. Hostetter
0337755ed8
SOLR-5168: test improvements and @Ignore still broken test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515521 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:25:18 +00:00
Robert Muir
d208878c11
improve DV faceting tests, support missing count for single valued string fields, remove required/default restriction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1515520 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:23:52 +00:00
Alan Woodward
c93e362fd4
SOLR-5162: ...with the right license header this time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515035 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 18:54:54 +00:00
Alan Woodward
b669bf3a7c
SOLR-5162: Add back core implicit properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515032 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 18:49:50 +00:00
Robert Muir
2c6bf04190
bump 4.5 codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514897 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 21:19:19 +00:00
Mark Robert Miller
d0bb1cc471
SOLR-5164: add relative solr.home testing to some tests, explicitly check for expected instanceDir handling with relative solr.home
...
SOLR-5099: explicity check for proper solrcore.properties creation
Speed up some tests by setting leaderVoteWait to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514857 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 19:12:29 +00:00
Erick Erickson
55142ef165
SOLR-4718 Allow solr.xml to be stored in ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514800 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:16:02 +00:00
Chris M. Hostetter
3399d7ec73
SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514795 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:14:02 +00:00
Erick Erickson
b8097e9e53
SOLR-5156 Provide a way to move the contents of a file to ZooKeeper with ZkCLI
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514776 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 16:30:17 +00:00
Robert Muir
7a4f7c669b
Merged /lucene/dev/trunk:r1514641-1514711
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514719 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 14:11:27 +00:00
Erick Erickson
fd9ae25cd1
SOLR-5164, Can not create a collection via collections API (cloud mode). Fixes SOLR-5099 too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514666 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 12:01:06 +00:00
Robert Muir
3be8ed1d10
LUCENE-5178: add 'missing' support to docvalues (simpletext only)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514642 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 10:25:38 +00:00
Chris M. Hostetter
f02170a048
SOLR-5122: fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514494 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 21:07:16 +00:00
Chris M. Hostetter
1b3b9294cc
SOLR-5122: Fixed bug in spellcheck.collateMaxCollectDocs. Eliminates risk of divide by zero, and makes estimated hit counts meaningful in non-optimized indexes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514402 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:50:30 +00:00
Chris M. Hostetter
aad060e066
SOLR-4952: SolrCmdDistributorTest needs to force MergePolicy for consistent optimize() behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514377 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:04:48 +00:00
Chris M. Hostetter
da18c280f0
Simple init logging of processor chains
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514053 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 21:23:15 +00:00
Chris M. Hostetter
a5c0445b88
cleanup TestSolrCoreProperties so that it's less hackish and absurd -- and while we're at it, close the book on SOLR-4952
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513996 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 18:11:45 +00:00
Robert Muir
2ecb5843b0
SOLR-5144: add test that failed on 4.4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513962 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:56:55 +00:00
Robert Muir
1f3159af08
SOLR-4764: When using NRT, just init the reader from IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513945 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:09:49 +00:00
Mark Robert Miller
cec43e7d92
tests: clear more statics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513934 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 15:37:56 +00:00
Uwe Schindler
8bac549ce3
LUCENE-5170: Add getter for reuse strategy to Analyzer, make AnalyzerWrapper's reuse strategy configurable, fix strategy to be stateless
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513903 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 14:41:36 +00:00
Mark Robert Miller
97b418391f
SOLR-5135: Harden Collection API deletion of /collections/$collection ZooKeeper node
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513864 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 13:11:14 +00:00
Mark Robert Miller
b03231693d
SOLR-5134: Fix CHANGES and close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513859 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 13:02:22 +00:00
Mark Robert Miller
ea5e5616f0
SOLR-5134: Have HdfsIndexOutput extend BufferedIndexOutput.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513825 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 12:07:35 +00:00
Mark Robert Miller
2e12d5635e
SOLR-5133: HdfsUpdateLog can fail to close a FileSystem instance if init is called more than once.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513822 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 11:57:20 +00:00
Chris M. Hostetter
6edd62d433
SOLR-4952: solrconfig.snippet.randomindexconfig.xml used in more configs, including eliminating TestPluginEnable and folding it into TestConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513691 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 23:20:31 +00:00
Yonik Seeley
07b5204a77
tests: disable FullSolrCloudDistribCmdsTest during investigation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513649 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 21:01:14 +00:00
Chris M. Hostetter
960e49b288
SOLR-4952: get all manged schema tests using solrconfig.snippet.randomindexconfig.xml - mainly by removing several solrconfig-*-managed-schema.xml files and using sys props in solrconfig-managed-schema.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513611 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:37:26 +00:00
Yonik Seeley
44e9caa1e1
docs: make javadoc happy with new package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513604 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:17:31 +00:00
Yonik Seeley
685139d964
tests: don't log expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513598 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 17:55:32 +00:00
Chris M. Hostetter
1c413be194
SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in the QueryElevation tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513586 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 16:30:34 +00:00
Noble Paul
2baecc2713
SOLR-5017 support for routeField in COmpositeId router also
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513356 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 05:49:17 +00:00
Chris M. Hostetter
a0ab76a95c
SOLR-4952: make TestConfig use solrconfig.snippet.randomindexconfig.xml - this involved moving some 'default' tests arround, prunning down solrconfig-termindex.xml, and renaming solrconfig-termindex.xml -> solrconfig-test-misc.xml since the mane 'termindex' made no sense for what it is used for
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513312 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 01:40:57 +00:00
Chris M. Hostetter
7ed9edb532
SOLR-5140: pin TestGroupingSearch to use LogDocMergePolicy for predictable 'unordered' results
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513297 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 23:40:12 +00:00
Yonik Seeley
f28864213f
SOLR-3076: block join parent and child queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513290 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:52:57 +00:00
Steven Rowe
d4c20941c9
SOLR-5119: Managed schema problems after adding fields via Schema Rest API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513238 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:16:37 +00:00
Yonik Seeley
0e332a923d
fix comment typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512697 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 13:35:42 +00:00
Mark Robert Miller
b2070fefbc
SOLR-5121: zkcli usage help for makepath doesn't match actual command.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512435 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 18:32:03 +00:00
Chris M. Hostetter
3231e204c4
SOLR-4952: TestIndexSearcher.testReopen needs fixed segment merging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511954 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:03:40 +00:00
Noble Paul
f7399ac9b8
SOLR-5113
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511633 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 09:06:34 +00:00
Chris M. Hostetter
131cd87bcf
SOLR-5122: disble testEstimatedHitCounts until issue with inordered collection can be dealt with
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511539 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 23:48:20 +00:00
Chris M. Hostetter
1cd55ea231
Kill IndexReaderFactoryTest: the only thing it asserts is a lie. Move that (fixed) assertion to AlternateDirectoryTest where it's already true.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511142 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:52:08 +00:00