Commit Graph

22284 Commits

Author SHA1 Message Date
Steve Rowe f6a1bbf8be LUCENE-7204, LUCENE-6938: fix smoke tester to pull pom.xml.template files from the Solr source distribution instead of from svn 2016-02-12 13:39:35 -08:00
Christine Poerschke 8c60352182 SOLR-8621: SolrIndexConfig.toMap() fix to distinguish mergePolicyInfo and mergePolicyFactoryInfo, associated SolrIndexConfigTest and TestConfig tweaks. 2016-02-12 19:08:27 +00:00
Christine Poerschke 4c7c1d3c58 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-12 16:25:30 +00:00
Christine Poerschke d49d9dac83 SOLR-8621: add (test-framework) RandomForceMergePolicyFactory for existing (test-framework) RandomForceMergePolicy 2016-02-12 16:25:16 +00:00
Christine Poerschke 6a9d893095 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-12 16:25:00 +00:00
Mike McCandless 0cd6d229b3 LUCENE-6938: fix some places in smoke tester to accept git commit hash instead of svn revison 2016-02-11 15:20:18 -05:00
Varun Thacker 13313415a5 SOLR-8534: Fix SolrJ APIs to add async support 2016-02-11 10:59:31 -08:00
Mike McCandless 850c6c2483 fix usage line 2016-02-11 10:08:29 -05:00
Mike McCandless 9a4ff707ed LUCENE-6938: add TODO that we should also detect unpushed commits 2016-02-11 10:07:05 -05:00
Mike McCandless e3a06f0334 LUCENE-6938: fix buggy detection of dirty git checkout 2016-02-11 09:59:13 -05:00
Mike McCandless 3291678723 LUCENE-6938: switch from svn to git 2016-02-11 09:53:17 -05:00
Steve Rowe 02dee401cc LUCENE-6997: Maven config: build a spatial module test-jar, and add a test dependency on it to the sandbox module 2016-02-11 06:30:30 -08:00
markrmiller 51257d2ebe SOLR-8575: Revert while investigated. (reverted from commit 482b40f841) 2016-02-11 08:39:00 -05:00
Christine Poerschke 3f06f9a76f 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-11 13:10:28 +00:00
Christine Poerschke 47055d569d SOLR-8621: fix mergePolicyFacory vs. mergePolicyFactory typos in comments in solr/contrib and solr/example solrconfig.xml files. 2016-02-11 13:10:09 +00:00
Mike McCandless 7a329d4e29 LUCENE-6938: switch from svn to git 2016-02-10 17:55:07 -05:00
Christine Poerschke 5d106503e7 SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor 2016-02-10 16:42:48 +00:00
Mark Robert Miller df004731dd SOLR-8450: Do not retry admin requests, they are not idempotent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724813 13f79535-47bb-0310-9956-ffa450edef68
2016-02-10 10:37:31 -05:00
Mark Robert Miller 9da8846535 SOLR-8450: Fix debug logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724807 13f79535-47bb-0310-9956-ffa450edef68
2016-02-10 10:37:07 -05:00
markrmiller 42c17d225e SOLR-8450: Add CHANGES entry. 2016-02-10 10:36:43 -05:00
Mark Robert Miller f72c3e3a8f SOLR-8450: Our HttpClient retry policy is too permissive.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723616 13f79535-47bb-0310-9956-ffa450edef68
2016-02-10 10:35:10 -05:00
markrmiller 0417cc41dc SOLR-7281: Improve 'best effort', we don't want this best effort method to easily throw exceptions. 2016-02-10 10:29:36 -05:00
Shai Erera 24f4025dc1 SOLR-8621: fix solrconfig.xml under contrib and example 2016-02-10 16:33:49 +02:00
nknize 2b2c516477 LUCENE-6997: refactor GeoPointField and query classes from lucene.spatial to lucene.spatial.geopoint package 2016-02-09 22:02:14 -06:00
Mikhail Khludnev c3cdb84dc6 SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier. 2016-02-10 02:37:17 +03:00
Noble Paul 890497b081 SOLR-6594 Mark old schema APIs as deprecated 2016-02-09 15:22:56 -08:00
nknize b92ccc01f6 LUCENE-7019: add two-phase iteration to GeoPointTermQueryConstantScoreWrapper 2016-02-09 14:38:16 -06:00
Christine Poerschke 594145f2d5 SOLR-8621: more <mergePolicy> vs. <mergePolicyFactory> test coverage
* added bad-mpf-solrconfig.xml as MergePolicyFactory equivalent of bad-mp-solrconfig.xml (with DummyMergePolicyFactory as equivalent to DummyMergePolicy)

* added solrconfig-logmergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-logmergepolicy.xml

* added solrconfig-mergepolicyfactory-nocfs.xml as MergePolicyFactory equivalent of solrconfig-mergepolicy-nocfs.xml

* added solrconfig-indexconfig-mergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-indexconfig.xml

* added solrconfig-warmer-randommergepolicyfactory.xml as MergePolicyFactory equivalent of solrconfig-warmer.xml
2016-02-09 17:50:06 +00:00
Jan Høydahl 996cc45d17 SOLR-3141: Warn in logs when expensive optimize calls are made 2016-02-09 15:40:13 +01:00
Christine Poerschke 39fd942514 SOLR-8621: TestMergePolicyConfig.testTieredMergePolicyConfig now randomly chooses between solrconfig-tieredmergepolicy.xml and solrconfig-tieredmergepolicyfactory.xml; solrconfig-tieredmergepolicyfactory.xml fix so that TestMergePolicyConfig.testTieredMergePolicyConfig passes. 2016-02-09 12:55:22 +00:00
Christine Poerschke b052a8f937 SOLR-8621: solr/CHANGES.txt 'Upgrading from 5.4' section now also mentions <mergeFactor> and <maxMergeDocs> deprecation, also useCompoundFile attribute/element. 2016-02-09 10:56:40 +00:00
Uwe Schindler 7fa9ca0cae More incorrect usage of default Locale 2016-02-09 08:50:32 +01:00
markrmiller 2e65a90eba SOLR-7281: Add an overseer action to publish an entire node as 'down'. 2016-02-08 23:25:21 -05:00
markrmiller 6af3d8ffd6 SOLR-8551: Make collection deletion more robust. 2016-02-08 23:05:28 -05:00
Erick Erickson 21e019fab0 Corrected CHANGES.txt entry for SOLR-2649
(cherry picked from commit 1f66406)
2016-02-08 19:53:24 -08:00
Erick Erickson f4f1486895 SOLR-8658: Fix test failure introduced in SOLR-8651 2016-02-08 19:52:43 -08:00
markrmiller f579011ead SOLR-8615: Just like creating cores, we should use multiple threads when closing cores. 2016-02-08 21:02:57 -05:00
anshum 3892f7e7a3 SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API 2016-02-08 14:20:48 -08:00
Shai Erera 67bf26f78d SOLR-8621: add missing package-info.java 2016-02-08 23:48:51 +02:00
Shai Erera eac5a35960 SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory> 2016-02-08 23:17:05 +02:00
Adrien Grand 11afd639c3 LUCENE-7002: Fixed MultiCollector to not throw a NPE if setScorer is called after one of the sub collectors is done collecting. 2016-02-08 16:42:48 +01:00
Erick Erickson c9ead8b022 Fixed up missing import 2016-02-07 22:07:42 -08:00
Erick Erickson 8ff9ebdad8 SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries 2016-02-07 22:07:42 -08:00
Erick Erickson 43309a4e76 SOLR-8642: SOLR allows creation of collections with invalid names 2016-02-07 15:06:32 -08:00
nknize 291aa71280 re-enable random term encoding in TestGeoPointQuery 2016-02-07 14:51:17 -06:00
Mike McCandless b027adc7dd LUCENE-6750: add verbosity when this test fails 2016-02-07 13:35:00 -05:00
Mike McCandless 6edb216057 MDW's assertNoUnreferencedFilesOnClose should still run even if checkIndexOnClose is turned off 2016-02-07 09:25:29 -05:00
Mike McCandless fdee0a65e8 fix java7 only javadocs warning 2016-02-07 05:34:31 -05:00
Mike McCandless 6539bedd9a add verbosity for this test when it fails 2016-02-07 05:25:14 -05:00
nknize cc052491ca add super.rewrite to GeoPointInPolygonQuery.rewrite, fix invalid javadoc reference 2016-02-06 22:26:38 -06:00