Commit Graph

24327 Commits

Author SHA1 Message Date
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 44b58ee4f8 LUCENE-6989: Merge changes 2016-02-16 17:15:27 +01:00
Mike McCandless 7ff31daeb0 use try-w-resources so Directory is closed even on assumption violation 2016-02-15 18:44:07 -05:00
Uwe Schindler 0e9307bb84 LUCENE-6989: Add Javadocs about required permissions to enable MMAP unmapping 2016-02-16 00:08:46 +01:00
Uwe Schindler 7d58232ed2 LUCENE-6989: Forward-port changes entry for 5.5 2016-02-15 21:48:31 +01:00
Uwe Schindler 7b6df2542d LUCENE-6989: Add preliminary support for MMapDirectory unmapping in Java 9 2016-02-15 19:57:39 +01:00
Mike McCandless a9dc40294e fix this test to avoid MockRandomMergePolicy which leads to false failures 2016-02-15 05:17:40 -05:00
Steve Rowe ef965661ab LUCENE-7024, LUCENE-6938: fix smoke tester to pull pom.xml.template files from the Solr source distribution instead of from svn
(cherry-picked branch_5_5 commit f6a1bbf)
2016-02-14 19:27:26 -05:00
Uwe Schindler 19c56f2085 LUCENE-6989: Disable test if mmap unmapping is not working (otherwise will fail with later Java 9), until we committed real fix for LUCENE-6989; remove useless and broken test 2016-02-15 00:18:17 +01:00
Mike McCandless 8bcd41e7cc absorb the un-released 5.4.2 changes into 5.5.0's section 2016-02-14 08:49:05 -05:00
Uwe Schindler dd6057e79f LUCENE-7028: Add changes for 5.5 2016-02-14 00:57:27 +01:00
Uwe Schindler 74421d729b LUCENE-7028: Remove duplicate method in LegacyNumericUtils 2016-02-14 00:49:21 +01:00
Uwe Schindler 42ae21cb9a LUCENE-7027: Fixed NumericTermAttribute to not throw IllegalArgumentException after NumericTokenStream was exhausted 2016-02-13 18:02:57 +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
Mike McCandless 4d094975d9 LUCENE-6938: fix some places in smoke tester to accept git commit hash instead of svn revison
Conflicts:
	dev-tools/scripts/smokeTestRelease.py
2016-02-11 15:22:22 -05:00
jbernste 111f45efa9 SOLR-8529: Improve JdbcTest to not use plain assert statements 2016-02-11 13:37:07 -05:00
jbernste 56b79ece8b SOLR-8527: Improve JdbcTest to cleanup properly on failures 2016-02-11 13:15:29 -05:00
Christine Poerschke b2e47984f4 SOLR-8621: add (test-framework) RandomForceMergePolicyFactory for existing (test-framework) RandomForceMergePolicy 2016-02-11 17:46:44 +00:00
jbernste 739b81063e SOLR-8190: Implement Closeable on TupleStream 2016-02-11 12:46:04 -05: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
jbernste 35337e8cf2 SOLR-8461: Update CHANGES.txt 2016-02-11 10:59:26 -05:00
jbernste 8eb58cc000 SOLR-8461: CloudSolrStream and ParallelStream can choose replicas that are not active 2016-02-11 10:54:03 -05:00
Mike McCandless 83ebd1bb71 fix usage line 2016-02-11 10:24:09 -05:00
Mike McCandless 7509b9c969 LUCENE-6938: add TODO that we should also detect unpushed commits 2016-02-11 10:24:09 -05:00
Mike McCandless de9d4ac3b7 LUCENE-6938: fix buggy detection of dirty git checkout 2016-02-11 10:24:09 -05:00
Mike McCandless f8be973b94 LUCENE-6938: switch from svn to git 2016-02-11 09:55:54 -05:00
Steve Rowe 8e0f7ff7bb 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:21:18 -08:00
markrmiller f6098148ae SOLR-8575: Revert while investigated. (reverted from commit ec4c72310f) 2016-02-11 08:32:37 -05:00
Mike McCandless 84637e99b1 bump version for 5.5.0 release 2016-02-11 04:26:27 -05:00
Mike McCandless 20c38e7b87 mark tests as Nightly 2016-02-11 04:25:38 -05:00
Mike McCandless 2514521b55 LUCENE-6938: addVersion can no longer do a --reord-only merge with git 2016-02-11 04:19:15 -05:00
Varun Thacker 9985a0966b SOLR-8534: Fix SolrJ APIs to add async support 2016-02-10 16:53:52 -08:00
Mike McCandless 70e61fd9e0 LUCENE-6938: switch from svn to git 2016-02-10 17:56:39 -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 588e3ff084 SOLR-8621: fix mergePolicyFacory vs. mergePolicyFactory typos in comments in solr/contrib and solr/example solrconfig.xml files. 2016-02-10 21:22:17 +00:00
markrmiller a8bc427aac SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we count on HttpClient or the JVM. 2016-02-10 15:32:56 -05: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
Shai Erera a5accccbfc SOLR-8621: fix solrconfig.xml under contrib and example 2016-02-10 16:33:01 +02:00
Mike McCandless 3a47dd29bc remove some core changes; add missing sync that caused stress test failure 2016-02-10 09:09:49 -05:00