Commit Graph

30089 Commits

Author SHA1 Message Date
Simon Willnauer 9cb07c735b LUCENE-8233: Harden PendingDeletes modification assertions
This change adds a missing call to PendingDeletes#onNewReader and
hardens the assertion when a PendingDelete can actually be modified ie.
receive deletes and updates. Now PendingDeltes are also initialized
when no reader is provided but the SegmentCommitInfo has evidence that there
is are no deletes.
2018-04-12 12:44:34 +02:00
Karl Wright 017f59bae5 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 06:39:56 -04:00
Karl Wright 0b1e8ef72e LUCENE-8245: Re-solve the 'intersection outside the world' case. 2018-04-12 06:39:32 -04:00
Cao Manh Dat 11d54b0cc4 SOLR-12214: Leader may skip publish itself as ACTIVE even its last published state is DOWN 2018-04-12 12:28:00 +07:00
yonik 8d20fc575b SOLR-12190: properly escape output in GraphMLResponseWriter 2018-04-11 23:00:03 -04:00
Tomas Fernandez Lobbe 8927d469cb SOLR-11982: Add support for indicating preferred replica types for queries 2018-04-11 16:23:00 -07:00
Karl Wright 5bd7b03e71 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-11 17:54:30 -04:00
Karl Wright 0c71503448 LUCENE-8245: Change how crossings are computed. 2018-04-11 17:53:50 -04:00
Andrzej Bialecki 376f6c4946 SOLR-12181: Add trigger based on document count / index size. 2018-04-11 15:38:54 +02:00
Simon Willnauer e99a19755c LUCENE-8246: Allow to customize the number of deletes a merge claims
With the introduction of soft deletes no every merge claims all documents
that are marked as deleted in the segment readers. MergePolicies still
need to do accurate accounting in order to select segments for merging
and need to decide if segments are merged. This change allows the
merge policy to customize the number of deletes a merge of a segment
claims.
2018-04-11 15:27:05 +02:00
Alan Woodward 040a9601b1 LUCENE-8229: Add Weight.matches() to iterate over match positions 2018-04-11 09:43:27 +01:00
Karl Wright 5b250b4a40 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-11 02:54:03 -04:00
Karl Wright 8e77892443 LUCENE-8245: Handle parallel planes case properly. 2018-04-11 02:53:51 -04:00
David Smiley 0292d0f6ea SOLR-12160: Time Routed Alias (TRA) documentation 2018-04-10 23:20:12 -04:00
Steve Rowe fe0da9e8d5 SOLR-12201: TestReplicationHandler.doTestIndexFetchOnMasterRestart(): handle unexpected replication failures 2018-04-10 22:15:31 -04:00
Mark Miller b93e24cb83 SOLR-12211: HdfsDirectoryFactoryTest can fail by trying to allocate too much direct memory. 2018-04-10 16:16:23 -05:00
Christine Poerschke e513c95377 SOLR-12151: Add abstract MultiSolrCloudTestCase class. 2018-04-10 21:09:06 +01:00
Christine Poerschke e8f862ea44 SOLR-12036: Factor out DefaultStreamFactory solrj class. 2018-04-10 20:45:58 +01:00
Mikhail Khludnev a39a6ce672 SOLR-12155: awake threads awaiting UIF.<init> despite of exception. 2018-04-10 21:32:25 +03:00
Mikhail Khludnev 764dcc336b SOLR-12207: rethowing AssertionError from jdk reflection bug 2018-04-10 20:34:07 +03:00
Joel Bernstein e90ab4bb81 LUCENE-8245: Fix precommit 2018-04-10 12:43:19 -04:00
Joel Bernstein 9ebe11f1d9 SOLR-12158: Allow the monteCarlo Stream Evaluator to support variables 2018-04-10 12:36:22 -04:00
Karl Wright 61c37551ac LUCENE-8245: Fix precommit. 2018-04-10 12:01:03 -04:00
Karl Wright b7dd782d98 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-10 11:10:51 -04:00
Karl Wright 14b313f42b LUCENE-8245: Adopt a more-rigorous way of finding intersections with envelope planes. 2018-04-10 11:10:40 -04:00
Mikhail Khludnev ce061a5198 SOLR-11251: documenting debug=timing hint for JSON Facet API. 2018-04-10 16:14:16 +03:00
Karl Wright b65229c904 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-10 06:57:34 -04:00
Karl Wright 661fdf3a43 LUCENE-8245: Add more tests that demonstrate problems with GeoComplexPolygon. 2018-04-10 06:57:13 -04:00
Ignacio Vera d45211d534 LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest 2018-04-10 10:02:14 +02:00
Ishan Chattopadhyaya a70b257c80 SOLR-12096: Fix test failure, using deterministic sort order 2018-04-10 12:35:05 +05:30
Mark Miller 5e2a5a5b8c SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source. 2018-04-09 21:57:56 -05:00
Joel Bernstein 1d8c58eb6d SOLR-12198: Fix precommit 2018-04-09 21:41:17 -04:00
Joel Bernstein 0e4605cc45 SOLR-12198: Stream Evaluators should not copy matrices needlessly 2018-04-09 21:24:55 -04:00
Karl Wright 1cd859713b Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-09 20:13:23 -04:00
Karl Wright 9bd6d1305c LUCENE-8245: Don't rely only on 'intersects' code to determine whether we should bother looking for crossings; also see if endpoints lie on travel planes. 2018-04-09 20:13:12 -04:00
Steve Rowe a12d398874 SOLR-12205,SOLR-7887: fix maven javadoc generation by removing unrecognized annotation processing directive 2018-04-09 18:09:51 -04:00
David Smiley f0aed933a6 SOLR-12139: eq() now works on strings and perhaps anything 2018-04-09 12:17:48 -04:00
Alan Woodward e30264b314 LUCENE-8242: Remove IndexSearcher.createNormalizedWeight 2018-04-09 15:07:04 +01:00
Alan Woodward 798d351034 LUCENE-8242: Deprecate createNormalizedWeight 2018-04-09 15:07:04 +01:00
Ishan Chattopadhyaya f83a8da05e SOLR-12096: Removing redundant patch file 2018-04-09 17:43:29 +05:30
Ishan Chattopadhyaya ea08bd3b67 SOLR-12096: Fixed inconsistent results format of subquery transformer for distributed search (multi-shard) 2018-04-09 16:36:07 +05:30
Simon Willnauer a7a3c0a282 LUCENE-8237: Add missing CHANGES.TXT entry 2018-04-09 12:09:32 +02:00
Simon Willnauer ed62b990d8
LUCENE-8237: Add a SoftDeletesDirectoryReaderWrapper
This adds support for soft deletes if the reader is opened form a directory.
Today we only support soft deletes for NRT readers, this change allows to wrap
existing DirectoryReader with a SoftDeletesDirectoryReaderWrapper to also filter
out soft deletes in the case of a non-NRT reader.
2018-04-09 11:50:38 +02:00
Adrien Grand b82f5912a0 Disable rewrite optimizations that can make the test fail because of floating-point rounding errors. 2018-04-09 10:22:53 +02:00
Adrien Grand 6568f3bb59 LUCENE-8222: Await-fix TestICUTokenizerCJK. 2018-04-09 09:53:22 +02:00
Simon Willnauer a49543b48a LUCENE-8243: Add original finder to the attribution list in the CHANGES.TXT 2018-04-09 09:16:30 +02:00
Uwe Schindler 3530397f17 SOLR-11971: Add CVE number: CVE-2018-1308 2018-04-08 19:20:12 +02:00
Mike McCandless 99364584ff LUCENE-8243: fix IndexWriter.addIndexes(Directory[]) to properly preserve index file names for updated doc values fields 2018-04-08 11:15:21 -04:00
Karl Wright bd8fe72426 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-08 06:44:45 -04:00
Karl Wright 348de9e8b5 LUCENE-8245: Adjust envelope to not leave as big a gap between travel planes and above/below planes. 2018-04-08 06:44:10 -04:00