Commit Graph

34149 Commits

Author SHA1 Message Date
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
Dawid Weiss f9fff6e1ed LUCENE-9436: use release flag for javac rather than source and target. 2020-07-20 12:35:29 +02:00
Dawid Weiss 8cf84a3725 Import Download task's plugin explicitly. 2020-07-20 10:57:13 +02:00
Erick Erickson 1a7db1c9f5 SOLR-14653: Replace usages of org.apache.hadoop.fs.Path that are used to construct Zookeeper paths 2020-07-17 16:18:21 -04:00
Ishan Chattopadhyaya db4516bc66 SOLR-13391: Removing unused imports 2020-07-17 04:14:41 +05:30
Noble Paul 03d658a7bc
SOLR-14151 Make schema components load from packages (#1669) 2020-07-16 16:05:24 +10:00
Erick Erickson 9c2e7819ee SOLR-13939: Extract any non-gradle related patches (deprecations, URL fixes, etc.) from gradle effort. Attmept to fix Windows disk full issues 2020-07-15 21:03:01 -04:00
Cassandra Targett c57a54bba5 SOLR-14646: Add STEM notation support for the Ref Guide 2020-07-15 11:24:07 -05:00
Bruno Roustant 522c146da5
Add back-compat indices for 8.6.0 2020-07-15 16:53:51 +02:00
Bruno Roustant efb936b787
Sync CHANGES for 8.6.0 2020-07-15 16:09:41 +02:00
Erick Erickson f3de646560 SOLR-13939: Extract any non-gradle related patches (deprecations, URL fixes, etc.) from gradle effort (thread leaks) 2020-07-15 09:23:27 -04:00
Bruno Roustant cebdae2952
DOAP changes for release 8.6.0 2020-07-15 10:53:20 +02:00
jdyer1 e5007c15ee SOLR-14647
- fix .gitignore for eclipse users
2020-07-14 10:56:17 -05:00
Eric Pugh 1d5a0ad8a3
SOLR-14637 update CloudSolrClient examples to remove deprecated .Builder() method (#1670)
* update CloudSolrClient examples to remove deprecated .Builder() method

* remove extra method lines that arent specific to what we are explaining.
2020-07-14 10:23:18 -04:00
Andrzej Bialecki a0488c1cf1 SOLR-14244: Remove ReplicaInfo. 2020-07-14 15:01:23 +02:00
Chris Hostetter e3c2a93edb SOLR-14635: re-enable test with better gatekeeping of expected 'ownership threads' and (nightly only) polling of 'locked/waiting threads' before making asserts 2020-07-13 12:29:04 -07:00
Cassandra Targett e9e2ff9b12 Ref Guide: fix aliases.adoc TIP for proper conversion 2020-07-13 09:27:01 -05:00
Atri Sharma a73dbdd877
Harden TestBuildingUpMemoryPressure (#1662)
Add better error message checking and finer mocks along with temporary logging which will be removed.
2020-07-13 15:02:59 +05:30
Erick Erickson c346881ad6 SOLR-13939: https://issues.apache.org/jira/browse/SOLR-13939 2020-07-12 22:41:08 -04:00
S N Munendra 8c9c0640cf
SOLR-11262: XML writer implements writeMap and writeIterator (#1665) 2020-07-13 11:21:14 +10:00