Commit Graph

29741 Commits

Author SHA1 Message Date
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
Cassandra Targett 80485cf517 SOLR-12067: omitted correct information about where to define autoAddReplica trigger param 2018-03-16 13:18:37 -05:00
Shalin Shekhar Mangar 4c8825b6c6 SOLR-12097: Document the diskType policy attribute and usage of disk space in Collection APIs 2018-03-16 23:38:35 +05:30
markrmiller 7330010e1d SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. 2018-03-16 11:50:52 -05:00
Karl Wright cbd4b671ff Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-03-16 10:44:08 -04:00
Karl Wright 349579f010 LUCENE-8211: Handle the case where we've got a full-half-world single-plane path in GeoComplexPolygon. 2018-03-16 10:43:54 -04:00
Cassandra Targett 92002ed14b SOLR-12067: Ref Guide updates for autoAddeplicas: change default for autoReplicaFailoverWaitAfterExpiration;
running-solr-on-hdfs had inaccurate information about the feature;moved param info to autoscaling trigger docs;
removed unsupported params & added warning about clusterprop deprecation
2018-03-16 08:26:09 -05:00
Jason Gerlowski 2ca741d36a SOLR-11749: Introduce bin/solr test suite 2018-03-15 21:20:13 -04:00
Steve Rowe 298063eee7 SOLR-10912: personality fix: in solr-ref-guide, don't run compile and unit plugins. Also, consistently use curly brackets when interpolating variables 2018-03-15 20:18:28 -04:00
Steve Rowe ac9559d70d SOLR-10912: reverting personality plugins changes to include junit+unit and javac+compile, since this combo works, and neither one individually does. 2018-03-15 15:41:59 -04:00
Steve Rowe bd20e36d2d SOLR-10912: attempted personality plugins fix: trying just junit/javac instead of unit/compile (which didn't actually do anything at all) 2018-03-15 15:38:05 -04:00
Steve Rowe 63fde153d3 SOLR-10912: updating copy of Jenkins precommit job script: proc max limit code seems not to work on jenkins slaves, so put it at a fixed 10k; added customization of artifact url so console output links in the JIRA comment report work properly; no longer attempting to cache the yetus download, since it always downloads every time anyway. 2018-03-15 15:26:14 -04:00
Steve Rowe cc1ad49e72 SOLR-10912: excluding apparently unnecessary plugins: 'junit' and 'javac' (the 'unit' and 'compile' plugins are producing output but the 'j' ones aren't) 2018-03-15 15:26:14 -04:00