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
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
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
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
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
David Wayne Smiley
bd455f46da
SOLR-2345: geodist support for RPT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507409 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 19:37:14 +00:00
Han Jiang
92021404d4
LUCENE-5138: remove executable attr from java files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507313 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 13:51:38 +00:00
James Dyer
e4cba1525b
SOLR-4489: fix StringIndexOutOfBoundsException in SpellCheckComponent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507042 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 16:04:03 +00:00
David Wayne Smiley
47bf70812b
LUCENE-5118: multiplier to spatial makeDistanceValueSource
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506632 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 17:20:10 +00:00
Alan Woodward
30d15988b3
SOLR-5056: Further cleanup of ConfigSolr API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506020 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 12:53:31 +00:00
Chris M. Hostetter
a17ba3674e
improve TestXIncludeConfig to also check entity includes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 17:55:08 +00:00
Steven Rowe
fbfd8a9d4f
SOLR-5037: The CSV loader now accepts field names that are not in the schema.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 02:14:59 +00:00
Michael McCandless
97fb0209ce
LUCENE-5030: FuzzySuggester can optionally measure edits in Unicode code points instead of UTF8 bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504490 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:36:34 +00:00
Mark Robert Miller
dbbc4261b7
SOLR-4990: Beef up BasicHdfsTest and rename it to StressHdfsTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 19:14:16 +00:00
Michael McCandless
360452940e
LUCENE-5114: remove unused useCache param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 17:44:10 +00:00
Shalin Shekhar Mangar
69049b99fa
SOLR-4997: Skip log recovery for sub shard leaders only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503328 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 16:47:48 +00:00
Steven Rowe
3c43636281
SOLR-4894: fix error message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 14:45:37 +00:00
Shalin Shekhar Mangar
e5fc7da2a2
SOLR-4997: Call commit before checking shard consistency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503019 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 18:41:40 +00:00
Erick Erickson
5513f48c87
fix for SOLR-5039, admin/schema browser displaying -1 for unique terms on multiValued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502959 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 11:41:45 +00:00
David Wayne Smiley
d2a2cc12dc
SOLR-5034: A facet.query that parses or analyzes down to a null Query would throw a NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502730 13f79535-47bb-0310-9956-ffa450edef68
2013-07-13 00:05:10 +00:00
Uwe Schindler
40968cf653
LUCENE-5107: Properties files by Lucene are now written in UTF-8 encoding, Unicode is no longer escaped. Reading of legacy properties files with \u escapes is still possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 17:10:22 +00:00
Alan Woodward
bc645837a2
SOLR-4914: Close input streams as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502507 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 10:50:31 +00:00
Alan Woodward
8b0a481fd3
SOLR-4914: Use Properties.store(OutputStream, String) for back compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502481 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:55:04 +00:00
Alan Woodward
3f8064c90a
SOLR-4914: Close OutputStreamWriter properly, use System.getProperty("line.separator") instead of \n
...
Fixes Windows test failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502468 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:25:36 +00:00
Shalin Shekhar Mangar
506a7924e1
SOLR-4997: The splitshard api doesn't call commit on new sub shards before switching shard states. Multiple bugs related to sub shard recovery and replication are also fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502458 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:32:13 +00:00
Alan Woodward
5a42052fba
SOLR-4914: Factor out core discovery and persistence logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Grant Ingersoll
aade0000a6
SOLR-5010: single field handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502247 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 15:31:58 +00:00
Alan Woodward
417f1ba3b4
SOLR-5028,SOLR-5029: Fix ShardHandlerFactory creation and persistence
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 14:15:35 +00:00
Uwe Schindler
748cb61e82
SOLR-4916: Fix bugs & usage of NullIndexOutput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502167 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 09:34:36 +00:00
Yonik Seeley
90d792dd1d
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502006 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 21:19:26 +00:00
Yonik Seeley
884ed33b39
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:43:41 +00:00
Yonik Seeley
020d816f42
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501967 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:28:01 +00:00
Yonik Seeley
9a77cfbba0
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501950 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:06:06 +00:00
Yonik Seeley
ed9d17b991
tests: use json utility method for single quoted json
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501941 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:54:21 +00:00
Yonik Seeley
8607f3b76e
tests: add regex capability to JSON test format
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501933 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:34:56 +00:00
Mark Robert Miller
7d1e3ba363
SOLR-5018: The Overseer should avoid publishing the state for collections that do not exist under the /collections zk node.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501916 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:06:27 +00:00
Mark Robert Miller
6455dec1e0
SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Erik Hatcher
c3bc304aaf
SOLR-4991: Register QParserPlugins as SolrInfoMBeans
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501863 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:27:08 +00:00
Yonik Seeley
7f1765f1fa
tests: use single quoted json for readability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:54:35 +00:00
Mark Robert Miller
2310ab22f0
SOLR-5026: org.apache.solr.store.blockcache.BlockDirectoryTest.testRandomAccessWrites would pass a 0 to random#next on 0 file size
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501781 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:05:52 +00:00
Grant Ingersoll
f007cde66d
SOLR-5010: switch to lists for copy fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501715 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 10:55:38 +00:00
Yonik Seeley
4617b8da89
tests: don't log expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501498 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:50:34 +00:00
Yonik Seeley
fd914505ea
SOLR-5020: add DelegatingCollector.final()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501376 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 16:54:55 +00:00