29855 Commits

Author SHA1 Message Date
Jim Ferenczi
e851b89cbe LUCENE-8231: Add a new analysis module (nori) similar to Kuromoji but to handle Korean
This change adds a korean analyzer in a new analysis module named nori. It is similar
to Kuromoji but uses the mecab-ko-dic dictionary to perform morphological analysis of Korean
text.
2018-04-13 11:26:42 +02:00
Simon Willnauer
d5b6857603 LUCENE-8233: Never reset initiazlized DV gen
We drop changes after we finish a merge, this has also reset
the DV generation the PendingSoftDeletes were initialized on causing
assertions to trip if releaseing the reader was writing DV to disk.
This change removes resetting the dv generation to make assertions
hold which requried to keep the pending change count on PendingSoftDeletes.
2018-04-13 09:34:33 +02:00
Karl Wright
f41e7c4da7 LUCENE-8251: Add an explicit test case to cover the discovered failure. But it appears to be already fixed. 2018-04-13 00:10:57 -04:00
Karl Wright
e8f1649ab4 LUCENE-8251: Annotate occasionally failing test with AwaitsFix 2018-04-12 23:46:40 -04:00
Karl Wright
71936db9f0 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 23:32:56 -04:00
Karl Wright
1d201f3c18 LUCENE-8245: Make precommit happy, again. 2018-04-12 23:32:46 -04:00
Erick Erickson
0014f3af88 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-04-12 17:58:32 -07:00
Varun Thacker
2a2a0b6acd SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir 2018-04-12 15:35:34 -07:00
David Smiley
3d5f2f24c3 SOLR-11336: DocBasedVersionConstraints URP is now more extensible; versionField is a list 2018-04-12 14:04:28 -04:00
David Smiley
4f694d5c72 LUCENE-8245: fix unused import 2018-04-12 12:30:09 -04:00
Varun Thacker
7a57ca8c0d SOLR-12065: A successful restore collection should mark the shard state as active and not buffering 2018-04-12 08:20:28 -07:00
David Smiley
e6b65151b6 LUCENE-8229: add lucene.experimental, plus small changes 2018-04-12 10:59:58 -04:00
Karl Wright
7a4937106c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-04-12 07:09:30 -04:00
Karl Wright
832e89748e LUCENE-8245: Use strict bounds checking for edge planes when assessing envelope crossings. It's the only way to insure we don't overdetect or underdetect such intersections. 2018-04-12 07:08:51 -04:00
Simon Willnauer
19b4483ca0 Fix lint error of unused imports in LeaderVoteWaitTimeoutTest 2018-04-12 12:44:34 +02:00
Simon Willnauer
24f10c48dc Fix TestLRUQueryCache#testDocValuesUpdatesDontBreakCache
this test was flagged as BadApple and referred to SOLR-12028
The test stated clearly that the usage of newSearch(reader) is
dangerous since it might add concurrency to the test. This commit
respects this comment and removes all subsequent useage of
newSearcher(...)
2018-04-12 12:44:34 +02:00
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