32035 Commits

Author SHA1 Message Date
Luca Cavanna
327a6dfeb4 LUCENE-8796: Use exponential search in IntArrayDocIdSetIterator#advance (#667) 2019-06-18 10:30:17 +02:00
Simon Willnauer
d391565ca5 LUCENE-8853: Try parsing original file extension from tmp file (#716)
FileSwitchDirectory fails if the tmp file are not in the same directory
as the file it's renamed to. This is correct behavior but breaks with
tmp files used with index sorting. This change tries best effort to find
the right extension directory if the file ends with `.tmp`
2019-06-18 08:48:25 +02:00
Chris Hostetter
29e060c6f9 eliminate CPU hogging spin-loops in OverseerTest
this test already uses waitForState (frequently via verifyReplicaStatus) so there is no reason to include CPU/network/ZK intensive infinite loop checks looking for udpated cluster state

(cherry picked from commit 3030ea9d9418626ffb3c3bbd174aee344a778b25)
2019-06-17 15:55:20 -07:00
Chris Hostetter
592d10d7ce SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig
(cherry picked from commit 7eb8703df64b4fdda8113ddcbcd0b4d2413ecc38)
2019-06-17 15:34:24 -07:00
Chris Hostetter
2f2333a781 SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.

(cherry picked from commit 5a974860fa83408a86ca64b417f3111b037da7eb)
2019-06-17 10:00:05 -07:00
Noble Paul
a7af74f0c4 SOLR-13347: moved to "New Features" 2019-06-17 17:01:24 +10:00
Noble Paul
0c529cb968 SOLR-13534 : Dynamic loading to support loading jars from a URL 2019-06-17 17:00:38 +10:00
Noble Paul
562c462ee3 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 17:00:26 +10:00
Ishan Chattopadhyaya
4c11ef3367 SOLR-13434: Fixing documentation regarding samplePercentage clusterprop 2019-06-16 22:53:08 +05:30
Joel Bernstein
d58b8b7590 SOLR-13552: Update CHANGES.txt 2019-06-15 14:32:42 -04:00
Joel Bernstein
57c22defb7 SOLR-13552: Add recNum Stream Evaluator 2019-06-15 13:55:37 -04:00
Joel Bernstein
3bc719cfec SOLR-13550: Update CHANGES.txt 2019-06-14 19:29:02 -04:00
Gus Heck
6cf6ecc44f SOLR-13551 Minor fix in aliases.adoc
(cherry picked from commit 4ba4444154fd7394bca3123d19306a5afd132bc8)
2019-06-14 18:12:00 -04:00
Joel Bernstein
28bfe7903e SOLR-13550: Allow zplot to automatically create the x axis 2019-06-14 17:51:18 -04:00
Gus Heck
2009c81374 SOLR-13420 Routed Aliases now use collection properties instead of core properties 2019-06-14 15:44:36 -04:00
Cao Manh Dat
22fca67bfe SOLR-13541: Upgrade Jetty to 9.4.19.v20190610 2019-06-14 15:45:45 +01:00
Mikhail Khludnev
c73761b798 SOLR-13333: make terms.ttf work without terms.list in standalone mode 2019-06-14 15:46:22 +02:00
Christine Poerschke
908754a764 SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator 2019-06-14 13:12:33 +01:00
Christine Poerschke
5c65d12460 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:12:32 +01:00
Jan Høydahl
a53a80cfba LUCENE-8861: Script to find open PRs that needs attention (#719)
(cherry picked from commit d2793688ca6d2d7e0f334108c9a504f45a78d262)
2019-06-14 13:31:01 +02:00
Erick Erickson
47e67be775 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing
(cherry picked from commit 81e8b385a4cac5268c2cd920240d0e717f55713a)
2019-06-13 15:42:00 -07:00
Alan Woodward
4071703ce2 LUCENE-8766: Pass BytesRef offset/length when decoding from input stream 2019-06-13 16:23:45 +01:00
Jan Høydahl
79fd32091e SOLR-8754: CHANGES
(cherry picked from commit bc97c4caa0f556d54d6daf0cba2b71bd2706cbec)
2019-06-13 12:58:56 +02:00
Benoit Vanalderweireldt
28ef51bff3 SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest (#15)
(cherry picked from commit 2c10b1de19725ac30a342f9b551f9b6ad155b093)
2019-06-13 12:58:43 +02:00
Dag Wieers
8995f21e4b 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.

(cherry picked from commit 3dc1d5e64aebeab0fb331c9ad358b0b2f8c3df60)
2019-06-13 11:18:55 +02:00
Alan Woodward
c080c643bf LUCENE-8766: Add CHANGES entry 2019-06-13 10:17:43 +01:00
Alan Woodward
b8773d13ad LUCENE-8766: Add monitor subproject 2019-06-13 10:15:31 +01:00
Jan Høydahl
482a3e2bfa LUCENE-8820: Fix download links from ref-guide
(cherry picked from commit 9a796117fe7d0071792e0d9e59fcb78c5e2b73c9)
2019-06-13 10:37:17 +02:00
Cassandra Targett
e139c86769 SOLR-13235: Split Collections API Ref Guide page into several smaller child pages 2019-06-12 19:04:33 -05:00
Cassandra Targett
8c5dd4a98b SOLR-13235: update doc links in apispec files to new pages 2019-06-12 19:04:21 -05:00
Noble Paul
fe871b906b SOLR-13347: Transaction log to natively support UUID types 2019-06-13 09:02:41 +10:00
Thomas Wöckinger
e91c5c5b75 SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 09:02:25 +10:00
Mikhail Khludnev
5f6df28e11 SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check 2019-06-12 18:12:21 +02:00
Simon Willnauer
9ddc94045d LUCENE-8835: Irony - our tests don't emulate windows well enough 2019-06-12 17:56:40 +02:00
erick
cd809ef767 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 13:29:23 -07:00
Simon Willnauer
c2e78455c2 LUCENE-8853: Fix imports 2019-06-11 21:31:50 +02:00
Simon Willnauer
213abb7e4a LUCENE-8853: Temporarily disable random FileSwitchDirectory 2019-06-11 21:31:08 +02:00
Gus Heck
fbae72c4cc SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 14:36:04 -04:00
Simon Willnauer
613106b7e9 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:30:27 +02:00
Andrzej Bialecki
60821addcf 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:11:11 +02:00
Alan Woodward
eee1bc72a4 LUCENE-8845: Add additional max boolean clause cap on expansion 2019-06-11 12:11:52 +01:00
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