Commit Graph

4619 Commits

Author SHA1 Message Date
Yonik Seeley f4c6a05206 SOLR-5261: fix javabin block indexing back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525732 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:31:13 +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
Chris M. Hostetter 499bd3688a LUCENE-5211: Better javadocs and error checking of 'format' option in StopFilterFactory, as well as comments in all snowball formated files about specifying format option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524809 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 19:06:37 +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 ea210933f5 SOLR-5243: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524288 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:40:45 +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
Uwe Schindler 8b8c2c05f6 SOLR-5082: Fix credits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524282 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:02:57 +00:00
Mark Robert Miller bf3937f049 SOLR-4816: add missing CHANGES credit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524176 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 18:53:44 +00:00
Mark Robert Miller 7684f2b73d SOLR-4816: deal with leader=null case and init map with known size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524170 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 18:45:39 +00:00
David Wayne Smiley b67683ea21 SOLR-5082: removed inadvertent credit to dsmiley
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524086 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 15:03:19 +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 90ac003c6c SOLR-4984: etc/logging.properties in example should be removed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523391 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 03:19:16 +00:00
Mark Robert Miller ffef7b3d1d improve license version detection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523367 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 00:14:24 +00:00
Uwe Schindler 5329cbdd3d LUCENE-5213: Use <groovy/> instead <script/> ant task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523214 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:19:33 +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
Mark Robert Miller 942dabba8c SOLR-4816: Don't create "loads" of LBHttpSolrServer's, shutdown LBHttpSolrServer when appropriate, get collection from nonRoutableParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522684 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:51:31 +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
Adrien Grand 980411d93d Add version 4.6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522507 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 09:40:24 +00:00
Dawid Weiss 047a650004 SOLR-5219: follow-up code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522472 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:49:23 +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
Dawid Weiss 098f8b37f4 SOLR-5219: always forget about eol-style...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521979 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 18:46:26 +00:00
Dawid Weiss 7a79894528 SOLR-5219: Rewritten selection of the default search and document clustering algorithms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521978 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 18:45:27 +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
Dawid Weiss 49a7ccee8c SOLR-5202: cleaned up comments surrounding clustering component. Left all the algorithms in there, but added a pointer to integration-strategies which includes more exhaustive configuration examples.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521804 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 11:24:19 +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 315c0e6dbe SOLR-5210: make perSegFilter cache actually per-segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521559 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:39:54 +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
Mark Robert Miller 19f9181c74 SOLR-5215: Fix possibility of deadlock in ZooKeeper ConnectionManager.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521236 13f79535-47bb-0310-9956-ffa450edef68
2013-09-09 18:36:11 +00:00
Dawid Weiss 4003d5cb7d SOLR-5202: follow-up to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520681 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 20:08:14 +00:00
Dawid Weiss 43467403b2 SOLR-5202: Support easier overrides of Carrot2 clustering attributes via XML data sets exported from the Workbench. Polished clustering configuration examples.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520677 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 20:02:57 +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
Tommaso Teofili e69fb35cc2 SOLR-5201 - AnalysisEngines are now created in the factory and passed to the processors with a JCas pool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520239 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 07:12:10 +00:00
Yonik Seeley 32803cb94f SOLR-5210: add block join support to example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520081 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 17:44:18 +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
Shai Erera 99fdfb3d63 LUCENE-5193: add jar-src to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518972 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:06:22 +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
Shalin Shekhar Mangar 2dc5b2a02c SOLR-5190: SolrEntityProcessor substitutes variables only once in child entities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518161 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 11:20:56 +00:00
Tommaso Teofili 082f6e4d2e SOLR-5195 - remove SolrCore reference from UIMAUpdateRequestProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518018 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 22:16:50 +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
Stefan Matheis b755bef24f SOLR-5112: Show full message in Admin UI Logging View
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517769 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 09:49:21 +00:00
Mark Robert Miller 340d8c4071 SOLR-5187: We are shipping with the wrong license for NetCDF.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517560 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 15:29:44 +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
Stefan Matheis cfbf8082d2 SOLR-5174: Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515527 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:36:20 +00:00
Stefan Matheis 544f490d7b SOLR-5171: SOLR Admin gui works in IE9, breaks in IE10.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1515524 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 17:33:43 +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
Mark Robert Miller b1f419fbaf SOLR-5164: fix relative solr.home testing on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514939 13f79535-47bb-0310-9956-ffa450edef68
2013-08-17 03:20:54 +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
Chris M. Hostetter d9ad5bfb76 make RandomMergePolicy log what MP it is wrapping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514815 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:41:44 +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
Steven Rowe 7a42fbecbd fix typo: "seffkes"->"steffkes"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513235 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:11:39 +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
Dawid Weiss 47c5d59d85 SOLR-4708: one more follow-up to a class that didn't extend from the base Solr test class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512322 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 14:32:48 +00:00
Uwe Schindler 57acbcfd00 SOLR-4679, SOLR-4908, SOLR-5124: Text extracted from HTML or PDF files using Solr Cell was missing ignorable whitespace, which is inserted by TIKA for convenience to support plain text extraction without using the HTML elements. This bug resulted in glued words.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512296 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 13:26:55 +00:00
Dawid Weiss 25bd977a3c SOLR-4708: a follow-up commit that disables the clustering component in tests. This is needed because core tests are executed before the contribs are compiled so certain classes are not yet available (unless you already have them locally). An alternative would be to compile everything before any tests are executed, but it seems that it'd add an extra unnecessary overhead to every build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512278 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 12:15:59 +00:00
Dawid Weiss 0fd1bed95b SOLR-4708: Enable ClusteringComponent by default in collection1 example.
The solr.clustering.enabled system property is set to 'true' by default.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512227 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 09:42:57 +00:00
Dawid Weiss b40f603f46 SOLR-5126: Update Carrot2 clustering to version 3.8.0, update Morfologik to version 1.7.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512203 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 08:39:21 +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
Chris M. Hostetter a4d0cd434f SOLR-4952: TestSolrDeletionPolicy2 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511138 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:26:50 +00:00
Chris M. Hostetter c19a5527d8 SOLR-4952: get SolrCoreCheckLockOnStartupTest using solrconfig.snippet.randomindexconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511134 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:13:40 +00:00
Chris M. Hostetter e778f261ad SOLR-4952: TestSolrDeletionPolicy1 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511128 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:43:54 +00:00
Chris M. Hostetter b5152fcfc2 SOLR-4952: missed the repeater config used in TestReplicationHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511123 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:28:25 +00:00
Chris M. Hostetter eb104d2190 SOLR-5107: Fixed NPE when using numTerms=0 in LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511064 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 18:26:27 +00:00
Chris M. Hostetter 8256f80523 SOLR-4952: ConvertedLegacyTest shouldn't assuming an absolute score now that we are randomizing merge policy settings, term stats may fluctuate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511044 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 17:23:52 +00:00
Chris M. Hostetter 74549edd2f SOLR-4952: fix DirectUpdateHandlerTest, it can't handle RandomMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 04:45:02 +00:00
Chris M. Hostetter 80fb94c647 SOLR-4952: get TestReplicationHandler using solrconfig.snippet.randomindexconfig.xml. This also fixes NumericFieldsTest and TestBinaryField which were using the replication configs for no explicable reason, and since i needed to fix TestBinaryField anyway, i simplified it to use SolrJettyTestBase instead of it's own kludgy setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510838 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 02:04:42 +00:00
Chris M. Hostetter c12875f84e SOLR-5118: beef up assertions in SolrIndexConfigTest, this allows us to remove TestPropInject and TestPropInjectDefaults -- neither of which were testing property injection (tested elsewhere) but were doing some basic assertions on the parsing & init of merge policy and merge scheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510830 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 00:38:10 +00:00
Chris M. Hostetter 6c8e6e00f3 SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in solrconfig.xml and crazy-path-to-config.xml; this included removing some unneccessary checks for indexConfig settings that already have their own explicit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510802 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 23:17:39 +00:00
Chris M. Hostetter 26a914558b SOLR-2570: randomize more indexConfig settings in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510637 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 18:18:39 +00:00
Noble Paul e021a1a7b3 updating CHANGES.txt regarding deprecation of shar.keys' param SOLR-5017
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510420 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 10:30:47 +00:00
Uwe Schindler 6465385110 SOLR-5113: Disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510073 13f79535-47bb-0310-9956-ffa450edef68
2013-08-03 22:49:10 +00:00
Chris M. Hostetter 9f72a776bd SOLR-4953: Make XML Configuration parsing fail if an xpath matches multiple nodes when only a single value is expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509359 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 18:18:10 +00:00
Noble Paul e5045d5538 SOLR-4221 SOLR-4808 SOLR-5006 SOLR-5017 SOLR-4222
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508968 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 17:53:02 +00:00
Robert Muir ecf245459b LUCENE-5154: move test logging config to where it will actually work in solrj tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:58:17 +00:00
Robert Muir a879da2b73 LUCENE-5154: fix test to use getTempDir instead of CWD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508719 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:57:08 +00:00
Chris M. Hostetter a3bcddbb1c SOLR-5094: Fix order of setup in TestJmxIntegration so MBean server is running before Solr init. Also fixes SOLR-4418
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508661 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 21:58:54 +00:00
Shai Erera a3b8cb3d8e LUCENE-5153: Allow wrapping Reader from AnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:45:08 +00:00
Chris M. Hostetter c78b4f80bb SOLR-4951: Better randomization of MergePolicy in Solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508521 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 16:57:37 +00:00
Erick Erickson 460a1be8a9 SOLR-5087, CoreAdminHandler.handleMergeAction generating NullPointerException. Thanks Patrick
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508476 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 14:51:56 +00:00
Uwe Schindler 82a5f35c20 SOLR-5082: The encoding of URL-encoded query parameters can be changed with the "ie" (input encoding) parameter, e.g. "select?q=m%FCller&ie=ISO-8859-1". The default is UTF-8. To change the encoding of POSTed content, use the "Content-Type" HTTP header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 23:24:22 +00:00
Mark Robert Miller 0036ab6eca tweak connect timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508191 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:40:08 +00:00
Robert Muir 02a2f383b2 LUCENE-5127: FixedGapTermsIndex should use monotonic compression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508147 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:34:52 +00:00
Uwe Schindler 2902c40cfd SOLR-5083: Move JDK-1.0-style hidden classes into inner classes of SolrRequestParsers (to prevent uptodate javac bugs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507742 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 23:15:10 +00:00