Commit Graph

29753 Commits

Author SHA1 Message Date
markrmiller ea504091e5 SOLR-10075: Remove test code. 2018-03-23 13:38:21 -05:00
markrmiller 5a61a18304 SOLR-10075: Move assumes to @BeforeTest instead of changing to if statements to prevent false fails. 2018-03-23 13:33:57 -05:00
markrmiller 848a410ca1 SOLR-10075: TestNonWritablePersistFile fails when run as a single test under root. 2018-03-23 10:35:43 -05:00
Noble Paul e364f5be31 SOLR-12015: fixed typo in CHANGES.txt 2018-03-23 13:52:25 +11:00
Noble Paul e340cef68d SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name> 2018-03-23 13:48:28 +11:00
Karl Wright ea12b5fd22 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-22 11:10:38 -04:00
Karl Wright 7cadada441 LUCENE-8219: Do a better job of estimating automaton array sizes up front, to save on reallocation. Committed on behalf of Christian Ziech. 2018-03-22 11:10:29 -04:00
Cao Manh Dat 92f1cdebfa SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state 2018-03-22 16:11:47 +07:00
Alan Woodward 2c4b78c43f LUCENE-8202: Add checks for shingle size 2018-03-21 17:38:05 +00:00
David Smiley 8e87a3e336 Remove obsolete comment 2018-03-21 11:41:36 -04:00
Steve Rowe 51a6bec48d SOLR-10912: fix routing of Solr non-contrib build output dirs (e.g. solr/core -> ../build/solr-core; previously -> ../build/core) 2018-03-21 11:31:11 -04:00
Alan Woodward fac84c01c8 LUCENE-8202: Add FixedShingleFilter 2018-03-21 13:45:03 +00:00
Simon Willnauer d4e69c5cd8 LUCENE-8217: Remove IndexFileDeleter#decRefWhileHandlingExceptions
This method is a duplicate of IDF#decRef(...) and hides exceptions
from the caller. This change removes this method and replaces it with
it's counterpart that escalades the exception.
2018-03-21 09:41:08 +01:00
Simon Willnauer f664896d1f LUCENE-8212: Ensure all closeables are closed even if an VMError is thrown 2018-03-21 09:35:56 +01:00
Cao Manh Dat d2ef38d784 SOLR-12110: Remove debug log for test 2018-03-21 11:25:53 +07:00
Cao Manh Dat 63a145aa7b SOLR-12129: After the core is reloaded, term of the core will not be watched 2018-03-21 09:35:51 +07:00
Chris Hostetter 9cda074e55 EarlyTerminatingSortingCollector is no longer a public class on master (LUCENE-8059) so we should stop linking to it from the ref-guide 2018-03-20 15:20:25 -07:00
Cassandra Targett db62ffe94a Ref Guide: two more bad javadoc links 2018-03-20 15:33:01 -05:00
Cassandra Targett 48512cc68f Ref Guide: fix a few wrong javadoc links 2018-03-20 13:54:37 -05:00
Cassandra Targett a845023652 SOLR-12024: fix parameter name from "encoding" to "encoder" 2018-03-20 12:58:48 -05:00
Steve Rowe 0c61c857c8 LUCENE-8106: Handle IncompleteRead exceptions while downloading the Jenkins log by retrying a limited number of times 2018-03-20 11:11:33 -04:00
Adrien Grand 04120273f8 LUCENE-8197: Fix CHANGES entry. 2018-03-20 14:30:38 +01:00
Andrzej Bialecki 3afb8b15bf SOLR-11134: This test fails reproducibly, mark it as AwaitsFix. 2018-03-20 13:47:13 +01:00
Adrien Grand 710993435f LUCENE-8197: Efficient integration of static scoring factors. 2018-03-20 11:57:29 +01:00
Simon Willnauer 2e35ef2b3d LUCENE-8215: Fix several fragile exception handling places in o.a.l.index
Several places in the index package don't handle exceptions well or ignores them.
This change adds some utility methods and cuts over to make use of try/with blocks
to simplify exception handling.
2018-03-20 10:50:12 +01:00
Adrien Grand 3048e5da22 LUCENE-8008: Remove unintended changes. 2018-03-20 09:52:24 +01:00
Simon Willnauer 65559cb94d LUCENE-8212: Make sure terms hash is always closed
if stored fields writer barfs we still need to close terms hash to
close pending files. This is crucial for some tests like TestIndexWriterOnVMError
that randomly failed due to this.
2018-03-19 22:08:25 +01:00
Karl Wright a832411844 LUCENE-8214: Move message to a different place 2018-03-19 16:47:15 -04:00
Karl Wright 9b4b7c6bbe LUCENE-8214: Update CHANGES.txt 2018-03-19 16:42:15 -04:00
Chris Hostetter 8bd7e5c9d2 SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used

This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.

- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
  the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Chris Hostetter d6ed71b5c4 SOLR-12118: Solr Ref-Guide can now use some ivy version props directly as attributes in content 2018-03-19 10:13:34 -07:00
Uwe Schindler aae07d9572 LUCENE-8155: Fix Solr example with Java 9 (was a problem when reverting an old commit) 2018-03-19 15:35:34 +01:00
Andrzej Bialecki ed2d358330 SOLR-11670: Make sure defaults are applied in simulated cluster. 2018-03-19 15:16:50 +01:00
Andrzej Bialecki 9980f05ac3 SOLR-11911: Check for thread interrupted and stop looping. 2018-03-19 14:52:18 +01:00
Andrzej Bialecki fa03a3843c SOLR-11670 This functionality was added in 7.4 and not in 7.3.0. 2018-03-19 11:27:09 +01:00
Shalin Shekhar Mangar 7d9783d201 SOLR-11648: Do not show suggestions menu item in standalone solr mode 2018-03-19 10:04:36 +05:30
Karl Wright f282a855f2 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-18 16:15:57 -04:00
Karl Wright cd39314a00 LUCENE-8214: Do a better job of selecting the test point for a geocomplexpolygon. 2018-03-18 16:12:29 -04:00
Dawid Weiss d09cc1cb0b LUCENE-8206: improvements to TestIndexWriterWithThreads. 2018-03-18 19:14:18 +01:00
Simon Willnauer 916ed60eea LUCENE-8212: Never swallow Exceptions in IndexWriter and DocumentsWriter
IndexWriter as well as DocumentsWriter caught Throwable and ignored
it. This is mainly a relict from pre Java 7 were exceptions didn't have
the needed API to suppress exceptions. This change handles exceptions
correctly where the original exception is rethrown and all other exceptions
are added as suppressed.
2018-03-18 18:23:31 +01:00
Uwe Schindler 6eac67fe56 Fix changes 2018-03-18 11:47:48 +01:00
Uwe Schindler ec9bc024e9 SOLR-11331: Ability to run and debug standalone Solr and a single node SolrCloud server from Eclipse. Also being able to run all Lucene and Solr tests as a configuration 2018-03-18 11:43:51 +01:00
Erick Erickson c48177b4b6 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-03-17 19:25:18 -07:00
markrmiller c98ab259c5 SOLR-12101: ZkTestServer was not handling connection timeout settings properly. 2018-03-17 12:36:48 -05:00
David Smiley 4b08efcf1c SOLR-11731: LatLonPointSpatialField now supports docValue retrieval
Closes #323
2018-03-17 12:21:53 -04:00
Cao Manh Dat be8dca3c7b SOLR-12110: Replica which failed to register in Zk can become leader 2018-03-17 06:54:55 +07:00
Varun Thacker 77954fe90a SOLR-12063: Fix the Jira number mentioned against the changes entry for this fix 2018-03-16 14:07:39 -07:00
Varun Thacker c4d0223ad4 SOLR-12083: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR 2018-03-16 14:03:48 -07:00
Cassandra Targett b6427c83fa Ref Guide: Parameterize another place that uses version with solr-docs-version variable 2018-03-16 14:20:46 -05:00
Cassandra Targett 144206db33 Ref Guide: Use version param in GH link for LTR examples; fix name of demo script; make Git URL more precise 2018-03-16 13:45:16 -05:00