31907 Commits

Author SHA1 Message Date
Noble Paul
d514beab94
SOLR-13534: Dynamic loading of jars from a remote url (#712)
* SOLR-13534 : Dynamic loading to support loading jars from a URL
2019-06-17 16:49:31 +10:00
Ishan Chattopadhyaya
ded3b77171 SOLR-13434: Fixing documentation regarding samplePercentage clusterprop 2019-06-16 22:52:10 +05:30
Joel Bernstein
412496a994 SOLR-13552: Update CHANGES.txt 2019-06-15 14:32:01 -04:00
Joel Bernstein
03e7205c89 SOLR-13552: Add recNum Stream Evaluator 2019-06-15 13:54:37 -04:00
Joel Bernstein
abb5ea0a06 SOLR-13550: Update CHANGES.txt 2019-06-14 19:27:56 -04:00
Gus Heck
4ba4444154 SOLR-13551 Minor fix in aliases.adoc 2019-06-14 18:08:40 -04:00
Joel Bernstein
0038e93667 SOLR-13550: Allow zplot to automatically create the x axis 2019-06-14 17:49:03 -04:00
Gus Heck
5d550a34a9 SOLR-13420 Routed Aliases now use collection properties instead of core properties 2019-06-14 13:51:16 -04:00
Cao Manh Dat
8d48f9252f SOLR-13541: Upgrade solr/CHANGES.txt 2019-06-14 15:47:17 +01:00
Cao Manh Dat
0c24aa6c75 SOLR-13541: Upgrade Jetty to 9.4.19.v20190610 2019-06-14 15:46:19 +01:00
Mikhail Khludnev
2ee0b16bf1 SOLR-13333: make terms.ttf work without terms.list in standalone mode 2019-06-14 15:42:22 +02:00
Charlie Yan
af2a4fe464 Update package-info.java (#388)
add a missing parenthesis
2019-06-14 14:54:57 +02:00
Christine Poerschke
335aaf801e SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator 2019-06-14 13:10:24 +01:00
Christine Poerschke
43fc05c1ed SOLR-13511: Add SearchHandler.newResponseBuilder method to facilitate custom plugins' maintenance of per-request state in a custom ResponseBuilder. (Ramsey Haddad, Christine Poerschke) 2019-06-14 13:10:24 +01:00
Jan Høydahl
d2793688ca
LUCENE-8861: Script to find open PRs that needs attention (#719) 2019-06-14 13:30:04 +02:00
Erick Erickson
81e8b385a4 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-13 15:40:13 -07:00
Cassandra Targett
719b4c5627
LUCENE-8842: add a pull request template (#705)
* LUCENE-8842: add a pull request template to a new .github/ root-level directory
2019-06-13 15:39:16 -05:00
Alan Woodward
b8c299640d LUCENE-8766: Pass BytesRef offset/length when decoding from input stream 2019-06-13 16:40:03 +01:00
Jan Høydahl
18f3a95e8e Merge remote-tracking branch 'origin/master' 2019-06-13 12:57:59 +02:00
Jan Høydahl
bc97c4caa0 SOLR-8754: CHANGES 2019-06-13 12:57:39 +02:00
Benoit Vanalderweireldt
2c10b1de19 SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest (#15) 2019-06-13 12:57:13 +02:00
Alan Woodward
b588e0b19e LUCENE-8766: Add CHANGES entry 2019-06-13 10:18:12 +01:00
Dag Wieers
3dc1d5e64a SOLR-13546: Fix typo 'hightlight' in webapp query interface (#704)
Due to a typo in the webapp query interface, the used query string is incorrect.
2019-06-13 11:17:49 +02:00
Alan Woodward
251dbe7cea LUCENE-8766: Add monitor subproject 2019-06-13 09:40:57 +01:00
Jan Høydahl
9a796117fe LUCENE-8820: Fix download links from ref-guide 2019-06-13 10:36:19 +02:00
Cassandra Targett
65b5391041 SOLR-13235: update doc links in apispec files to new pages 2019-06-12 19:03:21 -05:00
Cassandra Targett
c8b38d8969 SOLR-13235: Split Collections API Ref Guide page into several smaller child pages 2019-06-12 19:03:21 -05:00
Noble Paul
299af0df4b
SOLR-13347: Transaction log to natively support UUID types 2019-06-13 09:00:58 +10:00
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