32144 Commits

Author SHA1 Message Date
Andrzej Bialecki
55ff28d15e Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:14:24 +02:00
Alan Woodward
74e2a5cb51 LUCENE-8843: Fix precommit 2019-06-11 10:19:25 +01:00
Alan Woodward
a66fe5f777 LUCENE-8815: Ensure single segments in tests 2019-06-11 10:19:25 +01:00
Jan Høydahl
59e8886bf1 Revert "SOLR-13526: @AwaitsFix failing tests"
This reverts commit 891b8b04
2019-06-11 11:04:04 +02:00
Adrien Grand
1ed253460f LUCENE-8843: Add CHANGES entry. 2019-06-11 10:35:44 +02:00
Jason Tedor
d7897e4b1d LUCENE-8843: Only ignore IOException on dirs when invoking force (#706)
Today in the method IOUtils#fsync we ignore IOExceptions when fsyncing a
directory. However, the catch block here is too broad, for example it
would be ignoring IOExceptions when we try to open a non-existent
file. This commit addresses that by scoping the ignored exceptions only
to the invocation of FileChannel#force. This prevents us from
suppressing an exception in case we run into an unexpected issue when
opening the file.

However, fsyncing directories on Windows is not possible. We always
suppressed this by allowing that an AccessDeniedException is thrown when
attemping to open the directory for reading. Yet, per the above, this
suppression also allowed other IOExceptions to be suppressed, and that
should be considered a bug (e.g., not only the directory not existing,
but any filesystem error and other reasons that we might get an access
denied there, like genuine permissions issues). Rather than relying on
exceptions for flow control and continuing to suppress there, we simply
return early if attempting to fsync a directory on Windows (we should
not put this burden on the caller).
2019-06-11 10:35:44 +02:00
Jan Høydahl
00b146b371 Merge remote-tracking branch 'origin/branch_8x' into branch_8x 2019-06-11 10:23:45 +02:00
Jan Høydahl
9f29c0cc3f LUCENE-8837 smokeTestRelease.py option --download-only (#702)
* LUCENE-8837: smokeTestRelease.py option --download-only
Move download() and check_and() functions to scriptutil
Add cwd param to run() function in scriptutil
Move the check_ant function from buildAndPushRelease into scriptutil.py, and let it return the version.

(cherry picked from commit 44287d420624fe669a319f95f4712486bd57ae38)
2019-06-11 10:23:29 +02:00
Ignacio Vera
9fc2beb0ab LUCENE-8775: Compute properly the bridge between a polygon and a hole when sharing a vertex. 2019-06-11 07:02:46 +02:00
Jan Høydahl
da8fbbd99c SOLR-13371 improve security chapters in refguide (#635)
(cherry picked from commit 27b1c369943d61517626e335138c7190d090bfa2)
2019-06-10 23:48:38 +02:00
Andrzej Bialecki
58d3761bf5 SOLR-13512: Fix a bug due to a different StoredFieldVisitor API in 8x. 2019-06-10 21:40:40 +02:00
Andrzej Bialecki
c932e7ffd5 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:22:17 +02:00
Koen De Groote
8b6a0d0964 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:10:06 +02:00
Alan Woodward
74a695ee44 LUCENE-8845: Allow configurable maxExpansions for prefix/wildcard intervals 2019-06-10 16:14:02 +01:00
Atri Sharma
d2ff7ffafc LUCENE-8362: Introduce DocValues Fields and Range Queries for native Range Field Types
This commit introduces a new DocValues field and corresponding
range query for binary ranges. These classes are extended into
concrete implementations for each of Int, Long, Float and Double
range fields.
2019-06-10 15:27:33 +02:00
Colin Goodheart-Smithe
2d00d17dc4 LUCENE-8815: Adds a DoubleValues implementation for feature fields (#687)
This change adds a static method FeatureField#newDoubleValues() which can be used to retrieved the values of a feature for documents directly rathert than having to store the values in a numeric field alongsidde the feature field.
2019-06-10 15:27:26 +02:00
Tim Underwood
1e49d84545 LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop (#698) 2019-06-10 15:27:19 +02:00
Namgyu Kim
619e47b791 LUCENE-8812: disable Java 9 try-with-resources style in TestKoreanNumberFilter
Signed-off-by: Namgyu Kim <namgyu@apache.org>
2019-06-10 01:42:44 +09:00
Namgyu Kim
d037957f9b Revert "disable Java 9 try-with-resources style in TestKoreanNumberFilter"
This reverts commit ec7e38908775e4a3517c178595bf1944701d331d.
2019-06-10 01:35:06 +09:00
Namgyu Kim
ec7e389087 disable Java 9 try-with-resources style in TestKoreanNumberFilter
Signed-off-by: Namgyu Kim <namgyu@apache.org>
2019-06-10 00:44:28 +09:00
Namgyu Kim
36b90c6056 LUCENE-8812: Add new KoreanNumberFilter that can change Hangul character to number and process decimal point.
Signed-off-by: Namgyu Kim <namgyu@apache.org>
2019-06-09 23:13:46 +09:00
Michael Sokolov
a8478c790a LUCENE-8844: bump FST version and fix related CHANGES entry 2019-06-08 10:02:49 -04:00
Cassandra Targett
7425044457 Ref Guide: little typos 2019-06-07 17:32:25 -05:00
Cassandra Targett
b3d1a7b8e2 SOLR-12330: ref guide typos 2019-06-07 14:33:14 -05:00
Cassandra Targett
c75963b744 Ref Guide: minor typos/fixes for 8.1 ref guide 2019-06-07 14:33:05 -05:00
Atri Sharma
131b7bfbe5 LUCENE-8825: Improve CheckHits's Printing Capabilities
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2019-06-07 18:47:38 +02:00
Christine Poerschke
1710a8a36d SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument 2019-06-07 16:50:18 +01:00
Alan Woodward
cd030efa9c LUCENE-8828: Make unorderedNoOverlaps a separate IntervalsSource 2019-06-07 14:46:03 +01:00
Jan Høydahl
891b8b04bb SOLR-13526: @AwaitsFix failing tests
(cherry picked from commit 85abdbebf57f9e85918cf72c1be20359710e62db)
2019-06-07 08:35:15 +02:00
noble
b92ae784c7 SOLR-13329: ref guide 2019-06-07 12:38:56 +10:00
noble
10242afb1b SOLR-13329: ref guide 2019-06-07 12:38:43 +10:00
Jan Høydahl
5ee558cc5d LUCENE-8802: buildAndPushRelease --logfile arg (#679)
(cherry picked from commit df1775ffd3517c23ace582384c0554f4f521f6e0)
2019-06-06 21:49:07 +02:00
Jan Høydahl
8a488478f0 LUCENE-8818: Fix smokeTestRelease.py encoding bug
(cherry picked from commit 8d6fd7298fe480a627db333eafeadc7b6a8fdcad)
2019-06-06 21:46:11 +02:00
Ignacio Vera
ca07f444c8 LUCENE-8775: Improve tessellator to handle better cases where a hole share a vertex with the polygon 2019-06-06 09:00:15 +02:00
iverase
3da8a9f69f remove unused import 2019-06-06 08:32:13 +02:00
Tomas Fernandez Lobbe
43a7ec87a2 SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API) 2019-06-05 16:03:32 -07:00
Christine Poerschke
57c159e476 SOLR-13518: extra assertNotNull info for SolrInfoBeanTest 2019-06-05 20:39:55 +01:00
Jan Høydahl
2d571ee655 clipboardPatchFile 2019-06-05 21:25:34 +02:00
Cao Manh Dat
dc7b54df0c SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:33:51 +01:00
Ignacio Vera
b8f430a853 LUCENE-8831: Fixed LatLonShapeBoundingBoxQuery .hashCode method 2019-06-05 16:02:37 +02:00
Jan Høydahl
6ecdec2435 Add back-compat indices for 7.7.2 2019-06-05 10:51:51 +02:00
Jan Høydahl
b317598023 Ignore python cache 2019-06-05 10:48:15 +02:00
Jan Høydahl
d51756cfda Add bugfix version 7.7.2 2019-06-05 09:36:38 +02:00
Chris Hostetter
63e93735a6 Fix TestSort.testRandomFieldNameSorts typo that ccaused very sporadic but reproducible failures
(cherry picked from commit 92cf9d8758285352a6bd3a959988f9b72ecdf8f0)
2019-06-04 13:50:16 -07:00
Cao Manh Dat
63686689c0 SOLR-13434: Update CHANGES.txt 2019-06-04 20:07:13 +01:00
Cao Manh Dat
a39c342793 SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:05:17 +01:00
Cao Manh Dat
26b49827ed SOLR-13510: Move entry of CHANGES.txt to 8.1.2 2019-06-04 20:03:21 +01:00
erick
06257c5847 SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud
(cherry picked from commit 7fb5b7ed357b730c93ece574d1e977ecd1268533)
2019-06-04 10:27:51 -07:00
Cao Manh Dat
518143c2f0 SOLR-13510: Intermittent 401's for internode requests with basicauth enabled 2019-06-04 16:17:29 +01:00
Erick Erickson
d32334b199 SOLR-8346: Fix precommit failure on 8x 2019-06-03 18:33:51 -07:00