Commit Graph

32130 Commits

Author SHA1 Message Date
Thomas Wöckinger 828960927f SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 08:56:41 +10:00
Mikhail Khludnev 5ba6c0c7a2 SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check 2019-06-12 18:09:29 +02:00
Simon Willnauer 608d9134ad LUCENE-8835: Irony - our tests don't emulate windows well enough 2019-06-12 17:56:06 +02:00
Erick Erickson bfb5b41144 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 15:56:02 -07:00
Simon Willnauer e6a9bfb8b2 LUCENE-8853: Temporarily disable random FileSwitchDirectory 2019-06-11 21:32:45 +02:00
Simon Willnauer b6c68ccded
LUCENE-8835: Respect file extension when listing files form FileSwitchDirectory (#700)
FileSwitchDirectory splits file actions between 2 directories based
on file extensions. The extensions are respected on write operations
like delete or create but ignored when we list the content of the
directories. Until now we only deduplicated the contents on
Directory#listAll which can cause inconsistencies and hard to debug
errors due to double deletions in IndexWriter is a file is pending
delete in one of the directories but still shows up in the directory
listing form the other directory. This case can happen if both
directories point to the same underlying FS directory which is a
common use-case to split between mmap and NIOFS.

This change filters out files from directories depending on their
file extension to make sure files that are deleted in one directory
are not returned form another if they point to the same FS directory.
2019-06-11 17:27:55 +02:00
Gus Heck abeecfacd4 SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 10:12:52 -04:00
Andrzej Bialecki e2832b37d7 Improve this test - instead of waiting a fixed amount of time wait until an update arrives.
Also, deal with partial updates.
2019-06-11 14:10:30 +02:00
Alan Woodward 7a2b965106 LUCENE-8845: Add additional max boolean clause cap on expansion 2019-06-11 12:11:29 +01:00
Andrzej Bialecki 6527e74ed8 Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:13:54 +02:00
Alan Woodward 142a20bb0b LUCENE-8843: Fix precommit 2019-06-11 10:19:37 +01:00
Alan Woodward 50d65889df LUCENE-8815: Ensure single segments in tests 2019-06-11 10:19:37 +01:00
Jan Høydahl 1942f8cb69 Revert "SOLR-13526: @AwaitsFix failing tests"
This reverts commit 85abdbeb
2019-06-11 11:03:00 +02:00
Adrien Grand fb0f1776a5 LUCENE-8843: Add CHANGES entry. 2019-06-11 10:22:05 +02:00
Jason Tedor 4fdcb14acf 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:19:14 +02:00
Jan Høydahl 44287d4206
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.
2019-06-11 10:17:10 +02:00
Ignacio Vera 88c5817c01
LUCENE-8775: Compute properly the bridge between a polygon and a hole when sharing a vertex. 2019-06-11 07:01:42 +02:00
Jan Høydahl 7466d16c43 SOLR-13371: Move changes entry on master branch to 8.2 where it should be 2019-06-10 23:50:12 +02:00
Jan Høydahl 27b1c36994
SOLR-13371 improve security chapters in refguide (#635) 2019-06-10 23:46:22 +02:00
Andrzej Bialecki 010466ec04 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:21:46 +02:00
Koen De Groote 67104dd615 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:07:43 +02:00
Alan Woodward e8950f4a52 LUCENE-8845: Allow configurable maxExpansions for prefix/wildcard intervals 2019-06-10 16:14:42 +01:00
Atri Sharma f84afab008 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:14:15 +02:00
Colin Goodheart-Smithe 5ef2b3f6b8 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 09:07:24 +02:00
Tim Underwood 97ca9df7ef LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop (#698) 2019-06-10 08:56:21 +02:00
Namgyu Kim fe58b6f3a2 LUCENE-8812: disable Java 9 try-with-resources style in TestKoreanNumberFilter
Signed-off-by: Namgyu Kim <namgyu@apache.org>
2019-06-10 01:56:34 +09:00
Namgyu Kim 5a75b8a080 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:00:14 +09:00
Gus Heck 3d57a323a9 SOLR-13131 Fix CHANGES.txt entry 2019-06-08 13:25:03 -04:00
Michael Sokolov e85c6e6429 LUCENE-8844: bump FST version and fix related CHANGES entry 2019-06-08 10:22:02 -04:00
Cassandra Targett 4130876510 Ref Guide: little typos 2019-06-07 17:31:46 -05:00
Cassandra Targett c598e27ae7 Ref Guide: minor typos/fixes for 8.1 ref guide 2019-06-07 13:47:26 -05:00
Cassandra Targett 24f7a0bf51 SOLR-12330: ref guide typos 2019-06-07 13:47:26 -05:00
Atri Sharma 965fd194d1 LUCENE-8825: Improve CheckHits's Printing Capabilities
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2019-06-07 18:47:41 +02:00
Christine Poerschke 85f4029c5c SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument 2019-06-07 16:05:10 +01:00
Alan Woodward 67677d995e LUCENE-8828: Make unorderedNoOverlaps a separate IntervalsSource 2019-06-07 14:45:56 +01:00
Jan Høydahl 85abdbebf5 SOLR-13526: @AwaitsFix failing tests 2019-06-07 08:34:17 +02:00
Jan Høydahl df1775ffd3
LUCENE-8802: buildAndPushRelease --logfile arg (#679) 2019-06-06 21:47:50 +02:00
Jan Høydahl 8d6fd7298f LUCENE-8818: Fix smokeTestRelease.py encoding bug 2019-06-06 21:42:24 +02:00
Cao Manh Dat 3364753661 SOLR-13434: Using back Java 9 type reference 2019-06-06 12:11:37 +01:00
Ignacio Vera 05ea0f2d54
LUCENE-8775: Improve tessellator to handle better cases where a hole share a vertex with the polygon 2019-06-06 08:58:49 +02:00
Tomas Fernandez Lobbe f3148fa9e0 SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API) 2019-06-05 16:01:43 -07:00
Christine Poerschke 757e4548c7 SOLR-13518: extra assertNotNull info for SolrInfoBeanTest 2019-06-05 20:39:01 +01:00
Jan Høydahl 6b70bdb3c0 LUCENE-8827: Speed up poll-mirrors.py 2019-06-05 21:22:29 +02:00
Jan Høydahl f070b7c742
LUCENE-8827: Speed up poll-mirrors.py and add -once argument. Python3 only (#699)
Also skips Python2 support like the other scripts in the folder
2019-06-05 21:14:31 +02:00
Cao Manh Dat da832d4f3a SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:35:05 +01:00
Ignacio Vera c6390f80d1
LUCENE-8831: Fixed LatLonShapeBoundingBoxQuery .hashCode method 2019-06-05 15:57:10 +02:00
Jan Høydahl 73b15d8984 Add back-compat indices for 7.7.2 2019-06-05 11:16:41 +02:00
Jan Høydahl 0d9bf8fe73 Ignore python caches 2019-06-05 10:56:57 +02:00
Jan Høydahl be18d8eaa2 Add bugfix version 7.7.2 2019-06-05 02:31:09 +02:00
Jan Høydahl 6c1d1c3250 DOAP changes for release 7.7.2 2019-06-05 02:06:10 +02:00