33968 Commits

Author SHA1 Message Date
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
David Smiley
7d5b617973
LUCENE-9443: UnifiedHighlighter shouldn't close reader (#1706)
A regression from 8.6.  Don't close the underlying IndexReader.
2020-07-29 17:56:24 -04:00
Mike McCandless
327d860a00 LUCENE-9416: fix CheckIndex to print an invalid non-zero norm as unsigned long when detecting corruption 2020-07-29 10:04:33 -04:00
Christine Poerschke
2f155aa0c3 SOLR-14489: remove ReplicationHandler's deprecated "master.commitReserveDuration" use (in favour of "commitReserveDuration") 2020-07-29 10:23:17 +01:00
Jan Høydahl
ebb5219b1b
SOLR-14671: Parsing dynamic ZK config sometimes cause NuberFormatException (#1701) 2020-07-29 10:33:02 +02:00
David Smiley
a3624029ad
SOLR-14651: Metrics History could disable better (#1672)
* SolrRrdBackendFactory should not be created if history is disabled
* Disable MetricsHistoryHandler by default in tests
* Await shutdown of all executors
2020-07-28 16:46:27 -04:00
Tomoko Uchida
5d46361024
LUCENE-9321: Fix offline link base url for snapshot build (#1695) 2020-07-28 08:04:21 +09:00
Mike McCandless
e4c2be98fa LUCENE-9424: add a performance warning to AttributeSource.captureState javadocs 2020-07-27 11:11:35 -04:00
Erick Erickson
6bf5f4a87f SOLR-11868: CloudSolrClient.setIdField is confusing, it's really the routing field. Should be deprecated. 2020-07-26 18:18:05 -04:00
David Smiley
5295007022
SOLR-14652: SolrCore should hold its own CoreDescriptor (#1675)
(minor refactoring)
Also:
* SolrCore's constructors don't need a "name" since it's guaranteed to always be the name in the coreDescriptor.  I checked.
* SolrCore's constructor shouldn't call coreContainer.solrCores.addCoreDescriptor(cd); because it's the container's responsibility to manage such things.  I made SolrCores.putCore ensure the descriptor is added, and this is called by CoreContainer.registerCore which is called after new SolrCore instances are created.
* solrCore.setName should only be called when we expect the name to change.  Furthermore that shouldn't ever happen in SolrCloud so I added checks.
* solrCore.setName calls coreMetricManager.afterCoreSetName() which is something that is really only related to a rename, not name initialization (from the constructor).  I renamed that method and further only call it if the name did change from non-null.
2020-07-25 01:08:23 -04:00
Zeno Gantner
d0642600ff
LUCENE-9429 add missing semicolon (#1673) 2020-07-24 16:21:27 -05:00
Erick Erickson
4b2e90b3aa SOLR-11656: TLOG replication doesn't work properly after rebalancing leaders. 2020-07-24 13:10:35 -04:00
Atri Sharma
ec007c4bf2
Use FileSystem.newInstance instead of FileSystem.get in HDFSBackupRepository (#1682)
FileSystem.get can cause FileSystem closed exceptions, especially with S3.
2020-07-24 09:57:58 +05:30
Eric Pugh
80b6dcecfe
SOLR-14435: Update collection management docs on RESTORE (#1683)
* include missing RESTORE parameters

* small grammer fix

* remove duplication of describing the parameters in favour of the pattern of pointing to the CREATE command documentation.
2020-07-23 17:52:56 -04:00
Erick Erickson
67da34ac3b SOLR-14676: Update commons-collections to 4.4 and use it in Solr 2020-07-23 17:09:15 -04:00
Mike McCandless
03a03b34a4 LUCENE-9437: make DocValuesOrdinalsReader.decode public 2020-07-22 09:57:04 -04:00
Dawid Weiss
8ebf2d0b21 LUCENE-9312: Allow builds against arbitrary JVMs (squashed
jira/LUCENE-9312)
2020-07-21 09:19:38 +02:00
Jason Gerlowski
48e92ba9c7 SOLR-13205: Improve empty-string handling in SolrQueryParserBase
Contributed-By: pramodkumar9
2020-07-20 09:51:28 -04:00
Ishan Chattopadhyaya
b46321e19e SOLR-14656: Adding back REPLACENODE documentation that was omitted by mistake 2020-07-20 18:50:19 +05:30
Ishan Chattopadhyaya
cc0c111949 SOLR-14656: Removing Autoscaling Framework
The following were removed:
 *  Autoscaling policy, triggers etc.
 *  withCollection handling
 *  UTILIZENODE command
 *  Sim framework
 *  Suggestions tab in UI
 *  Reference guide pages for autoscaling
 *  autoAddReplicas feature
 *  UTILIZENODE
2020-07-20 17:47:01 +05:30
Dawid Weiss
1d143744bd SOLR-14523: moved logger message to info so that it doesn't pollute console on regular runs. 2020-07-20 12:47:14 +02:00