Jason Gerlowski
216aec03a6
SOLR-14677: Always close DIH EntityProcessor/DataSource ( #1741 )
...
Prior to this commit, the wrapup logic at the end of
DocBuilder.execute() closed out a series of DIH objects, but did so
in a way that an exception closing any of them resulted in the remainder
staying open. This is especially problematic since Writer.close()
throws exceptions that DIH uses to determine the success/failure of the
run.
In practice this caused network errors sending DIH data to other Solr
nodes to result in leaked JDBC connections.
This commit changes DocBuilder's termination logic to handle exceptions
more gracefully, ensuring that errors closing a DIHWriter (for example)
don't prevent the closure of entity-processor and DataSource objects.
2020-08-13 21:21:31 -04:00
Jan Høydahl
bed3b8fbfb
SOLR-14751: Zookeeper Admin screen not working for old ZK versions
2020-08-14 01:32:28 +02:00
S N Munendra
d2cc022fcf
Fix syntax warning in smokeTestRelease.py ( #1746 )
...
while verifying the 8.6.1 release with latest python(3.8.5), observed
one SyntaxWarning.
https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/
2020-08-13 21:15:28 +05:30
noblepaul
0b55c94ad6
SOLR-14680: make jdk 8 compatible
2020-08-13 13:53:05 +10:00
Noble Paul
d517361bb1
SOLR-14680: Provide an implementation for the new SolrCluster API ( #1730 )
2020-08-13 13:34:24 +10:00
Jason Gerlowski
a6515ca38f
SOLR-14748: Correct condition on startup auth/ssl logging
2020-08-12 18:44:02 -04:00
andywebb1975
e72a0d66c6
SOLR-13751: add BooleanSimilarityFactory ( #867 )
2020-08-12 15:35:50 +01:00
Dawid Weiss
3579056249
Standalone distribution assembly and 'run' task for Luke ( #1742 )
...
Co-authored-by: Tomoko Uchida <tomoko.uchida.1111@gmail.com>
2020-08-12 16:28:48 +02:00
Andrzej Bialecki
a5543dfb51
SOLR-14470: Fix test failures by reducing the randomness of test data.
2020-08-12 13:45:25 +02:00
Atri Sharma
1d2749295b
Harden RequestRateLimiter Tests ( #1736 )
...
* Harden RequestRateLimiter Tests
This commit adds higher data size and load in the test path. Also improves
the asserts that are performed.
2020-08-11 22:42:53 +05:30
David Smiley
97c9bb732a
LUCENE spell: Implement SuggestWord.toString ( #1735 )
2020-08-11 12:45:49 -04:00
Mike Drob
092076ec39
LUCENE-9453 Assert lock held before volatile write ( #1734 )
...
Found via IntelliJ warnings.
2020-08-11 10:41:57 -05:00
Jason Gerlowski
5887032e95
SOLR-14692: Allow 'method' specification on JSON Facet join domain transforms ( #1707 )
2020-08-11 08:21:07 -04:00
Dawid Weiss
5375a2d2ad
LUCENE-9454: upgrade hamcrest to version 2.2. ( #1738 )
2020-08-11 11:55:52 +02:00
Noble Paul
15ae014c59
SOLR-14680: Provide simple interfaces to our cloud classes (only API) ( #1694 )
2020-08-11 15:05:14 +10:00
Cassandra Targett
424a9a6cfc
SOLR-13528: fix heading levels
2020-08-10 16:36:40 -05:00
Cassandra Targett
a747051c6a
LUCENE-9452: remove jenkins.build.ref.guide.sh as it's no longer needed
2020-08-10 15:48:13 -05:00
Cao Manh Dat
9b1aeb3c62
SOLR-14641: Update CHANGES.txt
2020-08-10 15:35:55 +07:00
Cao Manh Dat
57b0160659
SOLR-14641: PeerSync, remove canHandleVersionRanges check ( #1663 )
2020-08-10 15:04:34 +07:00
Eric Pugh
35771c3cfe
SOLR-14581 Document the way auto commits work in SolrCloud ( #1692 )
...
* provide some detail on eventually consistent code
* small tweak to language
* respond to comments and word smithing
2020-08-09 08:35:00 -04:00
Tomas Fernandez Lobbe
bd1dd6bdfb
SOLR-14582: Fix TestConfig
2020-08-07 16:01:11 -07:00
Gus Heck
f827286a2c
SOLR-14582 - Broken test needs fix ( #1727 )
...
AwaitsFix for ConfigTest#testDefaults()
2020-08-07 18:49:04 -04:00
Atri Sharma
a074418da0
SOLR-13528: Implement Request Rate Limiters ( #1686 )
...
This commit introduces two functionalities: request rate limiting and ability to identify requests based on type (indexing, search, admin). The default rate limiter rate limits query requests based on configurable parameters which can be set in web.xml. Note that this rate limiting works at a JVM level, not a core/collection level.
2020-08-08 01:36:06 +05:30
Cassandra Targett
10baa50519
Add paths for gems on new CI machines
2020-08-07 13:58:07 -05:00
Cassandra Targett
5dd4cd1ed3
Comment out RVM_PATH and RUBY_VERSION
2020-08-07 13:40:36 -05:00
Cassandra Targett
fb9110ad18
This time comment out ALL the RVM commands to fix the build
2020-08-07 13:35:37 -05:00
Cassandra Targett
abf637fc88
INFRA-20656: remove more RVM stuff for Ref Guide build on new CI machines
2020-08-07 13:22:15 -05:00
Cassandra Targett
a03e323a9f
INFRA-20656: comment out RVM install to fix the Ref Guide build on new Jenkins
2020-08-07 13:03:22 -05:00
Tomas Fernandez Lobbe
e6275d9970
SOLR-14582: Expose IWC.setMaxCommitMergeWaitMillis in Solr's index config ( #1602 )
2020-08-07 10:54:36 -07:00
Tomas Fernandez Lobbe
2bf092b8dd
SOLR-14702: Add Upgrade Notes and CHANGES entry ( #1718 )
2020-08-07 10:09:40 -07:00
Vincent Privat
a96499e6af
SOLR-13499: Fix "Apache License, Version 2.0" spelling in in pom.xml.template ( #674 )
2020-08-07 17:03:41 +01:00
Uwe Schindler
9dcc42a282
fix copypaste
2020-08-06 18:33:15 +02:00
Uwe Schindler
cd98b1f71f
Update batches with new ASF Cloudbees infrastructure
2020-08-06 18:29:24 +02:00
Cassandra Targett
35bf1785ec
SOLR-14654: actually fix the Ref Guide build failure
2020-08-06 10:15:06 -05:00
noblepaul
ddbe9495fc
SOLR-14654: ref-guide build failure
2020-08-06 23:30:05 +10:00
Julie Tibshirani
688583fc2d
LUCENE-9427: Fuzzy query should always call consumeTermsMatching in visitor
2020-08-06 12:05:04 +01:00
noblepaul
321c4bbe1f
SOLR-14654: clean up ref guide, CHANGES.txt
2020-08-06 16:46:12 +10:00
Noble Paul
6f2f1c3de2
SOLR-14654 Remove plugin loading from .system collection (for 9.0) ( #1677 )
2020-08-06 16:32:32 +10:00
Tomas Fernandez Lobbe
6752111be8
SOLR-14702: doFetch reads legacy parameters too
2020-08-05 14:53:50 -07:00
Marcus
7110118ad4
SOLR-14702: Remove oppressive language (part1) ( #1711 )
...
Replace references to "master" and "slave" with "leader" and "follower"
2020-08-05 14:52:48 -07:00
Adrien Grand
9b369abc17
LUCENE-9446: Move CHANGES entry from 9.0 to 8.7.
2020-08-04 17:13:49 +02:00
Julie Tibshirani
b91a161283
LUCENE-9446: In boolean rewrite, remove MatchAllDocsQuery filter clauses ( #1709 )
...
Previously, we only removed 'match all' FILTER clauses if there was at least one
MUST clause. Now they're also removed if there is another distinct FILTER clause.
This lets boolean queries like `#field:value #*:*` be written to `#field:value`.
2020-08-04 17:08:10 +02:00
Ishan Chattopadhyaya
bd21da6eca
SOLR-14604: Add the ability to uninstall a package from with the Package CLI ( #1710 )
...
Co-authored-by: Marcus <marcuseagan@gmail.com>
2020-08-04 14:53:25 +05:30
Chris Hostetter
a6c058a260
SOLR-14657: Improve error handling in IndexReader realted metrics that were causing scary ERROR logging if metrics were requested while Solr was in the process of closing/re-opening a new IndexReader
2020-08-03 09:58:16 -07:00
Munendra S N
07a89e7bf6
SOLR-14516: fix NPE is resp writer while writing docvalue only field
...
This issue occurs only while fetching uncommitted doc through /get.
Instead of directly calling stringValue() on IndexableField use
FieldType's toExtern() or toObject() to get the writable value for the field.
2020-07-31 20:05:41 +05:30
Munendra S N
80c6251651
SOLR-11262: reword changes entry
2020-07-31 19:52:04 +05:30
Noble Paul
44865c5220
moved SOLR-14681 from 9.0section to 8.7
2020-07-31 18:45:01 +10:00
Marcus
f443edebd2
SOLR-14681: Introduce ability to delete .jar stored in the Package Store ( #1702 )
2020-07-31 18:23:18 +10:00
Mike McCandless
cb457571e8
LUCENE-9440: call FieldInfo.checkConsistency for real (not under assert)
2020-07-30 14:59:55 -04:00
Mike McCandless
d894a7e8d7
LUCENE-9395: ConstantValuesSource now shares a single DoubleValues instance across all segments
2020-07-30 08:53:44 -04:00