Commit Graph

29617 Commits

Author SHA1 Message Date
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
Tomas Fernandez Lobbe 67dab22f29 SOLR-11960: Don't add property listeners on core registration 2018-03-15 12:21:20 -07:00
Shalin Shekhar Mangar d50890e925 SOLR-12098: Document the Lucene spins auto-detection and its effect on CMS dynamic defaults 2018-03-15 23:06:52 +05:30
Steve Rowe 12372530a8 SOLR-10912: Add scripts for automatic patch validation 2018-03-15 12:31:59 -04:00
Karl Wright b896fe68a7 LUCENE-8208: Use a tighter definition of identical when it comes to vectors. 2018-03-15 12:29:30 -04:00
Andrzej Bialecki 0dfe19880c SOLR-12091: Rename TimeSource.getTime to getTimeNs. 2018-03-15 16:54:41 +01:00
Simon Willnauer f2a45790f6 LUCENE-8205: Rethrow even if no inner exception happens 2018-03-15 15:44:55 +01:00
Simon Willnauer 143b6135a5 LUCENE-8205: Suppress potential second exception caught by ECJ 2018-03-15 15:37:58 +01:00
Ishan Chattopadhyaya fbdf7fa736 SOLR-11920: Differential file copy for IndexFetcher 2018-03-15 19:31:15 +05:30
Shalin Shekhar Mangar 759b0d092f SOLR-12099: Remove reopenReaders attribute from 'IndexConfig in SolrConfig' page in ref guide 2018-03-15 18:19:42 +05:30
Simon Willnauer 5dfba25e34 LUCENE-8205: Simplify AbortingException handling and tragic event logic
Today we try to signal via exception handling if an exception is aborting
and/or a tragic event. This causes today that we ignore certain exception if we
are in the process of handling a such which is generally bad practice. This
change simplify the signaling of aborting exceptions and separates acting on
tragic events and closing the writer because of a tragic event. This in-turn
simplifies lock ordering since we never acquire a lock anymore inside the
tragic event code.
2018-03-15 13:46:33 +01:00
Simon Willnauer 12fc8c7ae0 LUCENE-8200: Add dummy doc before forceMerge in TestIndexWriter to force a new segment 2018-03-15 13:41:09 +01:00
Shalin Shekhar Mangar dab739ae4c SOLR-11702: Minor edits to log and exception messages 2018-03-15 16:58:59 +05:30
Andrzej Bialecki 25ec5cda0b SOLR-11670: Allow for larger diff in simulated time. 2018-03-15 11:52:11 +01:00
Cassandra Targett 12d543cbb8 Ref Guide: make sure some URLs aren't hyperlinked; rename "Appendix" section of AWS docs because it looks weird in the middle of the PDF 2018-03-14 16:02:01 -05:00
Shalin Shekhar Mangar cb453ce110 SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened due to using stale http connections 2018-03-15 02:22:25 +05:30
Varun Thacker 57524f1d41 SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates 2018-03-14 12:58:30 -07:00
Simon Willnauer b7793372a9 LUCENE-8200: Fix NPE in TestIndexWriter 2018-03-14 17:26:06 +01:00
Alan Woodward 446d38474e TestGrouping.testRandom() requires BM25Similarity 2018-03-14 14:59:36 +00:00
Andrzej Bialecki 5e02c18769 SOLR-11911: Wait a while for left-behind threads from executors. 2018-03-14 14:27:51 +01:00
Shalin Shekhar Mangar 941351a5c2 SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package 2018-03-14 16:29:56 +05:30
Simon Willnauer ef291c9767 LUCENE-8200: Allow doc-values to be updated atomically together with a document
Today we can only update a document by deleting all previously indexed
documents for the given term. In some cases like when deletes are not
`final` in the way that documents that are marked as deleted should not
be merged away a `soft-delete` is needed which is possible when doc-values
updatea can be done atomically just like delete and add in updateDocument(s)

This change introduces such a soft update that reuses all code paths from deletes
to update all previously updated documents for a given term instead of marking it
as deleted. This is a spinnoff from LUCENE-8198
2018-03-14 09:09:47 +01:00
Shalin Shekhar Mangar 9de0ebe797 SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page 2018-03-14 10:26:45 +05:30
David Smiley e9393e88fd SOLR-12081: improve docs on query parsing RE embedded queries, uf 2018-03-13 16:01:57 -04:00
Cassandra Targett 5ebca378c8 SOLR-11648: Add docs for autoscaling suggestions UI that didn't get done with the feature 2018-03-13 13:33:21 -05:00