Commit Graph

2109 Commits

Author SHA1 Message Date
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