4513 Commits

Author SHA1 Message Date
Noble Paul
d77cd3287d SOLR-872: move the embedded xml for schema and solconfig for .system collection to individual files 2016-02-24 14:59:07 +05:30
markrmiller
18bb8caede SOLR-8720: ZkController#publishAndWaitForDownStates should use #publishNodeAsDown. 2016-02-23 14:51:01 -05:00
markrmiller
8ac4fdd6bb SOLR-8696: Start the Overseer before actions that need the overseer on init and when reconnecting after zk expiration and improve init logic. 2016-02-23 13:59:04 -05:00
markrmiller
7d32456efa SOLR-8497: Merge indexes should mark it's directories as done rather than keep them around in the directory cache. 2016-02-23 13:15:01 -05:00
Noble Paul
9ce2d0d25d SOLR-8698: params.json can now have appends and invariants as well. 'useParams' specified in the requestHandler is always applied 2016-02-23 17:40:49 +05:30
Noble Paul
4d9d0c0011 SOLR-8719 renamed classes to make their usage generic 2016-02-23 16:14:49 +05:30
Noble Paul
cf96432630 SOLR-8522: Make it possible to use ip fragments in replica placement rules , such as ip_1, ip_2 etc 2016-02-23 13:31:08 +05:30
Noble Paul
e069d31086 SOLR-7362 2016-02-23 11:21:59 +05:30
Noble Paul
982654b795 Merge remote-tracking branch 'origin/master' 2016-02-23 06:32:33 +05:30
Noble Paul
eb1f8e2409 SOLR-8377 removed an unnecessary for loop 2016-02-23 06:12:33 +05:30
Dennis Gove
d6105334a0 SOLR-8666: Adds header 'zkConnected' to response of SearchHandler and PingRequestHandler
Header is used to notify the client when a connection to zookeeper has been lost and there is a possibility of stale data on the node the request is coming from.
2016-02-22 19:25:17 -05:00
Dennis Gove
2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
yonik
1203264640 SOLR-8691: Cache index fingerprints per searcher 2016-02-22 13:00:38 -05:00
yonik
f47e6b2200 SOLR-8690: add solr.disableFingerprint system property 2016-02-22 12:44:30 -05:00
Christine Poerschke
b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Noble Paul
5a15fed9f5 SOLR-8700 eliminate the java class for implicit plugins 2016-02-21 20:49:55 +05:30
markrmiller
2fd90cd489 SOLR-8575: Add missing assert. 2016-02-20 20:35:21 -05:00
jbernste
b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller
9418369b46 SOLR-8697: Scope ZK election nodes by session to prevent elections from interfering with each other and other small LeaderElector improvements. 2016-02-19 17:06:38 -05:00
markrmiller
771f14cb6e SOLR-8656: PeerSync should use same nUpdates everywhere. 2016-02-19 16:41:49 -05:00
markrmiller
8cd53a076b SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and SolrCmdDistributor, which violates the lifecycle and can cause bugs. 2016-02-19 14:59:46 -05:00
markrmiller
e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller
32fbca6ea7 SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification. 2016-02-19 14:33:50 -05:00
anshum
c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
Noble Paul
8fe946bde2 Merge remote-tracking branch 'origin/master' 2016-02-18 16:28:19 -08:00
Noble Paul
2977efa922 updatd the test in according with SOLR-7984 2016-02-18 16:27:53 -08:00
anshum
d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul
8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
yonik
5d2fb9cf69 doc: explain why peersync fingerprinting is sometimes off 2016-02-18 13:24:01 -05:00
yonik
091889cf79 tests: additional prefix facet tests 2016-02-18 12:19:41 -05:00
markrmiller
31437c9b43 SOLR-8416: The collections create API should return after all replicas are active. 2016-02-17 13:37:08 -05:00
Mike McCandless
25931d3624 suppress IW's pending deletes check when creating SpellChecker 2016-02-16 17:41:05 -05:00
markrmiller
0bba332549 SOLR-7339: Jetty 9.3 upgrade. 2016-02-16 16:01:10 -05:00
markrmiller
9184d52f68 SOLR-8683: Always consume the full request on the server, not just in the case of an error. 2016-02-16 16:01:10 -05:00
markrmiller
a40118c9df SOLR-8578: Fully consume proxy requests and move CHANGES entry to 6.0. 2016-02-16 13:16:02 -05:00
markrmiller
13dda5debb SOLR-8669: Non binary responses use chunked encoding because we flush the outputstream early. 2016-02-16 13:11:37 -05:00
Uwe Schindler
74421d729b LUCENE-7028: Remove duplicate method in LegacyNumericUtils 2016-02-14 00:49:21 +01:00
Uwe Schindler
779120c6a4 SOLR-5730: Workaround non-working javadocs link (cannot refer to classes from packages in other modules that already exist in lucene-core.jar) 2016-02-13 13:53:17 +01:00
Christine Poerschke
f9df240e5c SOLR-5730: rename TestSegmentTerminateEarlyState to SegmentTerminateEarlyTestState 2016-02-12 23:41:30 +00:00
markrmiller
4cc844897e SOLR-8575: Fix HDFSLogReader replay status numbers, a performance bug where we can reopen FSDataInputStream much too often, and an hdfs tlog data integrity bug. 2016-02-12 15:58:06 -05:00
Christine Poerschke
677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00
Christine Poerschke
77558a649f SOLR-8621: SolrIndexConfig.toMap() fix to distinguish mergePolicyInfo and mergePolicyFactoryInfo, associated SolrIndexConfigTest and TestConfig tweaks. 2016-02-12 19:04:45 +00:00
Christine Poerschke
159ace1b7c SOLR-8621: solrconfig.xml in solr/server/solr/configsets and test-files/solr/configsets/bad-mergepolicy now also use <mergePolicyFactory> instead of <mergePolicy> 2016-02-11 20:41:35 +00:00
Christine Poerschke
360051a414 SOLR-8621: factor out protected abstract WrapperMergePolicyFactory.getMergePolicyInstance method
Here in SOLR-8621:
 * UpgradeIndexMergePolicyFactory extends WrapperMergePolicyFactory
 * (WrapperMergePolicyFactoryTest's) DefaultingWrapperMergePolicyFactory extends WrapperMergePolicyFactory

Elsewhere in SOLR-5730:
 * SortingMergePolicyFactory will extend WrapperMergePolicyFactory
2016-02-11 17:05:17 +00:00
Mike McCandless
12b8721a44 Merge branch 'jira/lucene-5438-nrt-replication' 2016-02-11 11:20:18 -05:00
markrmiller
f6098148ae SOLR-8575: Revert while investigated. (reverted from commit ec4c72310f3548b93139b25a12d6e9a16ac9e322) 2016-02-11 08:32:37 -05:00
Christine Poerschke
6b6932e8e1 SOLR-8621: WrapperMergePolicyFactory logic tweaks
* fix so that getMergePolicy() can now be called more than once
 * added WrapperMergePolicyFactoryTest.testUpgradeIndexMergePolicyFactory()
 * account for overlap between wrapping and wrapped setters (and disallow it)
** illustration:
   <mergePolicyFactory class="UpgradeMergePolicyFactory">
      <int name="noCFSRatio">0.24</int>
      <str name="wrapped.prefix">mergePolicy</str>
                      <str name="mergePolicy.class">TieredMergePolicyFactory</str>
                      <int name="mergePolicy.noCFSRatio">0.42</int>
   </mergePolicyFactory>
** implementation details: the wrapping MP's setter calls the wrapped MP's setter and in the current code the wrapping MP's value prevails i.e. the 0.24 value in the illustration since the wrapped MP is constructed before the wrapping MP. an end-user however might reasonably assume that the wrapped MP's 0.42 value will prevail. at best configuring the same setter twice within the same overall <mergePolicyFactory> element is ambiguous and so the code now disallows it.
2016-02-10 22:24:15 +00:00
Christine Poerschke
5d32609cdc SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor 2016-02-10 16:28:06 +00:00
markrmiller
8299b00868 SOLR-7281: Improve 'best effort', we don't want this best effort method to easily throw exceptions. 2016-02-10 10:27:43 -05:00
Noble Paul
b889109da1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-02-09 15:08:56 -08:00