Commit Graph

14560 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
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
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
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
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
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
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
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
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
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 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
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
Munendra S N e355c616b3 Ref Guide: fix documentation for forceElevation param 2020-07-11 13:56:20 +05:30
Cassandra Targett 1862171e06 Ref Guide: move allowPaths note into Security section for 8.6 2020-07-10 13:35:02 -05:00
Cassandra Targett c1ea964847 Ref Guide: fix template to put list items inside a <p> element for consistent styling 2020-07-10 13:09:37 -05:00
Chris Hostetter c20501a504 SOLR-13132: fix some small package visibility and javadoc glitches that were caught on backport by the java8/branch_8x precommit but slipped past the java11/master precommit 2020-07-09 21:05:13 -07:00
Michael Gibney 40e2122b5a SOLR-13132: JSON Facet perf improvements to support "sweeping" collection of "relatedness()"
This adds a lot of "under the covers" improvements to how JSON Faceting FacetField processors work, to enable
"sweeping" support when the SlotAcc used for sorting support it (currently just "relatedness()")

This is a squash commit of all changes on https://github.com/magibney/lucene-solr/tree/SOLR-13132
Up to and including ca7a8e0b39840d00af9022c048346a7d84bf280d.

Co-authored-by: Chris Hostetter <hossman@apache.org>
Co-authored-by: Michael Gibney <michael@michaelgibney.net>
2020-07-09 18:42:37 -07:00
Chris Hostetter 5a422db60e SOLR-14635: disable test that has silly concurrency assumptions 2020-07-09 18:23:22 -07:00
Chris Hostetter 5c6314a970 SOLR-14635: ThreadDumpHandler has been enhanced to show lock ownership 2020-07-09 12:13:02 -07:00
Mike Drob 2341c220ce
SOLR-11390 Trie* field javadocs to @see *Point (#1612)
Co-authored-by: Christine Poerschke <cpoerschke@apache.org>
2020-07-09 12:20:56 -05:00
noblepaul 4ae976bdf0 SOLR-14610: CHANGES.txt 2020-07-09 18:55:02 +10:00
noblepaul 2155258974 SOLR-14610 : Use Methodhandles instead of VarHandle. Works with java8 as well 2020-07-09 18:08:22 +10:00
Joel Bernstein 3b8ae56b39 Ref Guide: Add Streaming Expression documentation for 8.6 release 2020-07-08 14:19:16 -04:00
Cassandra Targett 7bf2153c9d Ref Guide: add more context to HDFS, CDCR, DIH deprecations; put CDCR notice on all CDCR pages 2020-07-08 12:53:33 -05:00
Andrzej Bialecki cf742f4596 SOLR-12847: Remove support for maxShardsPerNode. 2020-07-08 17:57:24 +02:00
Mike Drob fc5887181b
SOLR-10814 changes entry 2020-07-08 10:24:15 -05:00
Jason Gerlowski 00203c292f SOLR-14566: Correct CHANGES.txt entry 2020-07-08 08:51:21 -04:00
Jason Gerlowski 80f8ab717c
SOLR-14566: Add request-ID to all distrib-search requests (#1574) 2020-07-08 08:38:23 -04:00
Mike Drob d3f4b21deb
SOLR-10814 Add short-name feature to RuleBasedAuthz plugin
Additional-Author: Hrishikesh Gadre <hgadre@cloudera.com>
2020-07-07 11:37:50 -05:00
Ilan Ginzburg 06b1f3e866
SOLR-14462: adjust test so less sessions are used even if test runs slowly. fix synchronization issue. (#1656) 2020-07-07 17:13:22 +02:00
Andrzej Bialecki f19057f5e5 SOLR-14537: Fix inner class visibility, reduce diffs with branch_8x. 2020-07-07 16:46:39 +02:00
Noble Paul 5154b6008f
SOLR-14634: Limit the HTTP security headers to "/solr" end point (#1655) 2020-07-07 23:16:32 +10:00
Ishan Chattopadhyaya a88a333d54 SOLR-14599: Some more ref guide updates 2020-07-07 08:32:18 +05:30
Cao Manh Dat a80eb84d56
SOLR-14354: HttpShardHandler send requests in async (#1470) 2020-07-07 09:17:26 +07:00
Ishan Chattopadhyaya 5fc12745ca SOLR-14599: Ref guide updates and some error handling fixes
* Ref guide section for types of plugins (that now includes a cluster level plugins section)
* Ref guide updates for deploying, undeploying, updating cluster level plugins
* Better error handling for cluster level plugin deployments
2020-07-07 07:39:45 +05:30
Eric Pugh 45573b9f1d
SOLR-14422 progressive render load main admin page (#1654)
* hide error message template until angular app has loaded
2020-07-06 14:56:13 -04:00
David Smiley 31e7ad9ee2
SOLR-14628: hl.fragsizeIsMinimum now defaults to true (#1651)
Fragments size like <= Solr 8.4 and addresses a significant performance regression
2020-07-06 09:31:37 -04:00
Eric Pugh 4e20986f89
update the name of the deletegation method in docs to be correct method name (#1652) 2020-07-06 06:35:36 -04:00
Chris Hostetter fea6c1b9da SOLR-14595: add AwaitsFix test to TestJsonFacetRefinement demonstrating problem, and work around to randomized testing in TestCloudJSONFacetSKGEquiv 2020-07-05 13:28:08 -07:00
noble 3642aa3d4e SOLR-14404: update was not working 2020-07-05 16:28:35 +10:00
Ishan Chattopadhyaya c3d6a8bf7a SOLR-14021: Deprecate HDFS support 2020-07-04 18:29:45 +05:30
Ishan Chattopadhyaya 04d9b52b3f SOLR-14603: Update CHANGES.txt 2020-07-04 14:58:16 +05:30
Ishan Chattopadhyaya df3bc4288c SOLR-14603: Upgrade Restlet to 2.4.3 2020-07-04 14:53:00 +05:30
Ishan Chattopadhyaya 35b5eea147 SOLR-14537: Fix gradle precommit failures 2020-07-04 14:31:23 +05:30
Noble Paul 05324e7b18
SOLR-14610: ReflectMapWriter to use VarHandle instead of old legacy reflection (#1635) 2020-07-03 15:25:58 +10:00
Erick Erickson e9568c3473 SOLR-10742: SolrCores.getNamesForCore is quite inefficient and blocks other core operations 2020-07-02 23:56:17 -04:00
Eric Pugh 2005c43667
fix link and wordsmith a bit (#1642) 2020-07-02 16:36:44 -04:00
Eric Pugh b50dd0c9c7
SOLR-14358 respond to feedback on URLClassifyProcessorFactory (#1632)
* Add an example explaining how to use

* fix up JavaDoc formatting

* Respond to feedback from @janhoy

Co-authored-by: ohtwadi <harinder.hanjan@gmail.com>
2020-07-02 15:16:24 -04:00
Andrzej Bialecki 1b8fb70216 SOLR-14537: Improve performance of ExportWriter. 2020-07-02 17:34:50 +02:00
Jan Høydahl 257a185107 SOLR-14561: Fix silly mistake in refguide link 2020-07-02 17:08:31 +02:00
Jan Høydahl cc9df5af05
SOLR-14561: Adding upgrade notes for allowPaths (#1641) 2020-07-02 15:37:53 +02:00
Ishan Chattopadhyaya dd6d1c90c8 SOLR-14066: Deprecate DIH 2020-07-02 16:38:31 +05:30
Ishan Chattopadhyaya 7c593b1940 SOLR-14022: Deprecate CDCR 2020-07-02 16:29:29 +05:30
Atri Sharma 3f9cc227f1
SOLR-14588: Implement Circuit Breakers (#1626)
* SOLR-14588: Implement Circuit Breakers

This commit consists of two parts: add circuit breakers infrastructure and a "real" JVM heap memory based
circuit breaker which monitors incoming search requests and rejects them with SERVICE_TOO_BUSY error
if the defined threshold is breached, thus giving headroom to existing indexing and search requests
to complete.
2020-07-02 12:43:48 +05:30
Atri Sharma ccdfee2cf0 Remove Redundant Import in TestContainerPlugin 2020-07-02 12:24:05 +05:30
noblepaul 2e60e1fbbd SOLR-14404: Unregister was not working for plugins with $path-prefix 2020-07-02 15:44:16 +10:00
Erick Erickson d0864a19c7 SOLR-14523: Enhance gradle logging calls validation: eliminate getMessage() 2020-07-01 22:07:59 -04:00
Erick Erickson 76e1d901cb SOLR-14592: Upgrade Zookeeper to 3.6.1 2020-07-01 19:47:16 -04:00
Mikhail Khludnev 1f6de31db8 SOLR-14539 Ref Guide update {!bool excludeTags} 2020-07-01 15:06:55 +03:00
Tomas Fernandez Lobbe 6eb7bc3b7b
SOLR-14590 : Add support for Lucene's FeatureField in Solr (#1620)
Add a new RankField type that internally creates a FeatureField
Add a new RankQParser that can create queries on the FeatureField
2020-06-30 11:15:36 -07:00
Atri Sharma d1c29ae8a9 SOLR-14609: Fix Unused Imports in TestJsonFacetsWithNestedObjects 2020-06-30 23:09:52 +05:30
Atri Sharma ccbdb77344 Remove Unused Import in BoolQParserPlugin 2020-06-30 22:17:48 +05:30
Mikhail Khludnev f647400e31 SOLR-14539: Introducing {!bool excludeTags=foo,bar} 2020-06-30 18:55:07 +03:00
Noble Paul 20c1fdbf7e
SOLR-14404: use MethodHandles in AnnotatedAPI (#1624) 2020-06-30 22:40:26 +10:00
Jan Høydahl f0764dbb54 SOLR-14561: Fix failing @Nightly test 2020-06-30 14:37:10 +02:00
Ishan Chattopadhyaya adf3361428 SOLR-14599: Package manager support for cluster level plugins
Usage:
        bin/solr package deploy <packagename> -y -cluster
        bin/solr package deploy <packagename>:<new-version> -y -cluster --update
        bin/solr package undeploy <packagename> -y -cluster
2020-06-30 15:50:40 +05:30
Joel Bernstein 0cc45f6cdf SOLR-14481: Update CHANGES.txt 2020-06-29 20:43:13 -04:00
Jan Høydahl 49a3f0a11d
SOLR-14561 Followup - validate params for more core operations (#1629)
Add template to solr.in scripts
Also testes Windows paths
Added RefGuide documentation to some params
2020-06-29 13:18:24 +02:00
Jan Høydahl 574e399ce5 SOLR-14588: Fix failing DebugComponentTest by reverting test to pre-patch state 2020-06-29 12:53:42 +02:00
noble d883cd69fc SOLR-14481: use classloader to open resource 2020-06-29 14:03:17 +10:00
noble 94684cc014 SOLR-14481: precommit error 2020-06-29 13:46:21 +10:00
Joel Bernstein 7bb9926ef2 SOLR-14481: Add drill Streaming Expression 2020-06-28 20:41:40 -04:00
noble 584e4d5f3c syncing with branch_8x 2020-06-28 15:22:42 +10:00
Noble Paul 1590ed56bb
SOLR-14404: support for openResource() in PackageResourceLoader & path-prefix for container plugins 2020-06-28 14:49:06 +10:00
Atri Sharma 698c9cce6c Revert "CHANGES.txt entry for SOLR-14588"
This reverts commit aba7a61594.
2020-06-27 23:50:01 +05:30
Atri Sharma 529faf1241 Revert "SOLR-14588: Implement Circuit Breakers (#1606)"
This reverts commit 7b54902f68.
2020-06-27 23:44:32 +05:30
Atri Sharma 45763b6531 Revert "SOLR-14588: Follow Up Fixes and Documentation (#1615)"
This reverts commit 74ac97e402.
2020-06-27 23:43:58 +05:30
David Smiley 80bc86dd6a
SOLR Revert change in path separator exposed by cat()
Previous change *should* have been purely a refactor but accidentally  changed the path separator this streaming expression exposed to always be '/'.  Apparently this is controversial so the previous behavior is re-instated here (and fixes a failing test on Windows).
2020-06-27 12:13:25 -04:00
Ishan Chattopadhyaya 20f39b9c62 Revert "SOLR-14598: Granting reflection access for using annotations in SOLR-14404"
This reverts commit e6ffa8e9e2.
2020-06-27 17:59:16 +05:30
Ishan Chattopadhyaya e6ffa8e9e2 SOLR-14598: Granting reflection access for using annotations in SOLR-14404 2020-06-27 15:59:49 +05:30
Gus Heck b7f8baab05 SOLR-13286 changes comment to correct section 2020-06-26 18:12:09 -04:00
Gus Heck 455f2e6c73 SOLR-13286 Quiet down metrics logging, add a marker to allow any handler to be silenced via log4j2.xml 2020-06-26 18:00:52 -04:00
Christine Poerschke 68a9e8fc97 SOLR-14376: remove no-longer-needed 'not no filter queries' check in SolrFeatureWeight 2020-06-26 18:12:33 +01:00
Atri Sharma 74ac97e402
SOLR-14588: Follow Up Fixes and Documentation (#1615)
This commit is a follow up to the original commit and adds more documentation and adds timing information for circuit breaker in query response only if circuit breakers are enabled. This commit also adds a test for ensuring that the query response is correct when timing is enabled and circuit breakers are being used.
2020-06-26 22:20:21 +05:30
Erick Erickson cb6b0318a7 SOLR-14588: fix failing test 2020-06-25 19:29:20 -04:00
Marcus 31de01f0ae
SOLR-14578: Update solrcloud-autoscaling-triggers.adoc and test (#1591)
* Update solrcloud-autoscaling-triggers.adoc
* fix the name of the execute_plan action in docs and test.
2020-06-25 16:50:50 -05:00
Erick Erickson 11538e52a2 SOLR-14541: Ensure classes that implement equals implement hashCode or suppress warnings 2020-06-25 16:35:56 -04:00
Cassandra Targett f1650d5f47 Ref Guide: prep for 8.6: upgrade notes, typos 2020-06-25 13:53:23 -05:00
Cassandra Targett aad8c983e5 SOLR-14237: refguide: update dashboard screenshot to show security panel; add'l text edits 2020-06-25 13:53:23 -05:00
Cassandra Targett df81ba959f SOLR-14594: Make titles bold in Admin UI Dashboard screen 2020-06-25 13:53:23 -05:00
Cassandra Targett 1ab9835440 SOLR-14307: add enabled parameter to cache documents; typos in common-query-parameters in cache section 2020-06-25 13:53:23 -05:00
Atri Sharma aba7a61594 CHANGES.txt entry for SOLR-14588 2020-06-25 21:42:38 +05:30
Atri Sharma 7b54902f68
SOLR-14588: Implement Circuit Breakers (#1606)
* SOLR-14588: Implement Circuit Breakers

This commit consists of two parts: initial circuit breakers infrastructure and real JVM memory based
circuit breaker which monitors incoming search requests and rejects them with SERVICE_TOO_BUSY error
if the defined threshold is breached, thus giving headroom to existing indexing and search requests
to complete.
2020-06-25 21:06:22 +05:30
Dan Fox 54e6528304 SOLR-13749: XCJF -> Cross-Collection Join
change solrUrlWhitelist -> allowSolrUrls
ref guide: update join parser section to be inline with the unit tests.
2020-06-25 09:26:00 -04:00
noble 73a5016ea7 Use simplified API signatures. @EndPoint annotation can be attached to a method and it's posisble to have just a single parameter for an end point 2020-06-25 16:16:04 +10:00
David Smiley 3000bbd05a
SOLR Move "userfiles" stuff from SolrPaths to CoreContainer. (#1600)
And convert String and File paths to Path API
2020-06-25 00:18:58 -04:00
Noble Paul 57a892f896
SOLR-14404 CoreContainer level custom requesthandlers (#1432)
SOLR-14404 CoreContainer level custom requesthandlers
2020-06-25 13:08:51 +10:00
Noble Paul 419560ef2a
SOLR-14409: Existing violations allow bypassing policy rules when add… (#1598)
* SOLR-14409: Existing violations allow bypassing policy rules when adding new replicas
2020-06-25 10:33:28 +10:00
Mike Drob fa44f822e3
LUCENE-6669 Fix repeated "the the"
Co-Authored-By: Rich Bowen <rbowen@apache.org>
2020-06-24 16:15:51 -05:00
Ilan Ginzburg 25428013fb
SOLR-14462: cache more than one autoscaling session (#1504)
SOLR-14462: cache more than one autoscaling session
2020-06-24 22:02:43 +02:00
Atri Sharma 6a455866b0
Change JoinQuery class's visibility to package again (#1611) 2020-06-24 22:41:34 +05:30
Atri Sharma 7030bb5e27
SOLR-14591: Move JoinQuery To Its Own File (#1609) 2020-06-24 21:36:46 +05:30
Erick Erickson db986086f5 SOLR-14541: Remove IntelliJ //noinspection comments 2020-06-23 19:36:51 -04:00
Erick Erickson 9c1772f094 LUCENE-9411: Fail complation on warnings, 9x gradle-only 2020-06-23 16:21:10 -04:00
Erick Erickson ea1bb9f2e9 SOLR-13268: Clean up any test failures resulting from defaulting to async logging 2020-06-23 15:35:08 -04:00
Ilan Ginzburg 3c6e09268c
SOLR-14546: add a Bug Fixes section for Solr 9.0.0 in CHANGES.txt (#1607) 2020-06-23 18:35:48 +02:00
Christine Poerschke 710fe3a107 SOLR-14502: increase bin/solr's post kill sleep (from 1s to 10s) 2020-06-23 16:34:43 +01:00
Christine Poerschke b4b641ea44 Revert "SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s)"
This reverts commit 6b55d79bf3.
2020-06-23 16:34:06 +01:00
Christine Poerschke 6b55d79bf3 SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s) 2020-06-23 16:14:27 +01:00
Christine Poerschke 3f4f5e2f76 SOLR-14584: CHANGES.txt entry
SOLR-14584: Correct SOLR_SSL_KEY_STORE and SOLR_SSL_TRUST_STORE example comments in solr.in.sh and solr.in.cmd files

(Aren Cambre via Christine Poerschke)

Closes #1597
2020-06-23 16:12:59 +01:00
Aren Cambre dc1e359076 fixes SOLR-14584 2020-06-23 16:05:52 +01:00
Ilan Ginzburg 3e42286e9e
SOLR-14546: OverseerTaskProcessor can process messages out of order (#1561)
SOLR-14546: OverseerTaskProcessor can process messages out of order
2020-06-23 16:16:46 +02:00
Tomas Fernandez Lobbe a1be1de67e
SOLR-14554: Let Solr use WAND algorithm when scores are requested (#1566)
Make MaxScoreCollector set minCompetitiveScore
2020-06-22 16:50:54 -07:00
Ilan Ginzburg 62dd94d26b
SOLR-12823: fix TestZKPropertiesWriter (#1575)
SOLR-12823: remove clusterstate.json in Lucene/Solr 9.0 - fix TestZKPropertiesWriter

TestZKPropertiesWriter relied on removed legacy features of the SolrCloud cluster to work.
Start a MiniSolrCloudCluster (implies config set and other test resources config) and have the test use the core of a created collection.
2020-06-22 18:02:26 +02:00
David Smiley aa5b26f6c4
Remove some needless toAbsolutePath calls (#1582) 2020-06-21 16:28:25 -04:00
Erick Erickson 84729edbba SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 2) 2020-06-18 11:12:50 -04:00
Jan Høydahl 936b9d770e
SOLR-14561 CoreAdminAPI's parameters instanceDir and dataDir are now validated (#1572) 2020-06-18 16:13:52 +02:00
Tomas Fernandez Lobbe cfae052973
SOLR-14577: Return BAD REQUEST when field is missing in terms QP (#1588) 2020-06-17 16:02:48 -07:00
Erick Erickson b01e249c9e SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 1) 2020-06-17 17:51:41 -04:00
Eric Pugh 207efbceeb
SOLR-14572 document missing SearchComponents (#1581)
* Add an example explaining how to use

* fix up JavaDoc formatting

* add missing SearchComponents that ship with Solr, and point to external site with components.

* fix path

* simplify page layout by consolidating to lists

* add missing components that are documented elsewhere in refguide

* try to get pathing to pass precommit

* remove mention of solr.cool, in favour of a seperate PR that handles it differently
2020-06-17 11:01:49 -04:00
Erick Erickson 6357b3bdaa SOLR-14573: Fix or suppress warnings in solrj/src/test 2020-06-16 13:27:53 -04:00
Jason Gerlowski a7792b129b
SOLR-14558: Record all log lines in SolrLogPostTool (#1570) 2020-06-16 08:21:24 -04:00
Nazerke Seidan 2da71c2a40
SOLR-14384: SolrRequestInfo now stacks internally.
* "set" now MUST pair with a "clear"
* fixes SolrIndexSearcher.warm which should have re-instated previous SRI
* cleans up some SRI set/clear users

Closes #1527
2020-06-16 01:46:50 -04:00
noble fabc704748 SOLR-14516: NPE in JsonTextWriter 2020-06-15 19:17:23 +10:00
Erick Erickson 8426dc7a6a SOLR-14556: Fix or suppress warnings in solrj/cloud/autoscaling 2020-06-14 15:43:30 -04:00
Erick Erickson 4e90e48ac2 SOLR-14567: Fix or suppress remaining warnings in solrj 2020-06-14 08:11:23 -04:00
Gus Heck 396490b65c SOLR-13169 Improve docs for MOVEREPLICA - better parity with ref guide for v2 api descriptions 2020-06-13 16:24:45 -04:00
Gus Heck b00d747eb6 SOLR-13169 Improve docs for MOVEREPLICA - document additional existing parameters, second pass fixing spelling and other details. 2020-06-13 15:55:32 -04:00
Gus Heck b8ff4c7636 Refactor for code clarity, add some comments. 2020-06-13 12:17:48 -04:00
Erick Erickson a41aa20b0a SOLR-14564: Fix or suppress remaining warnings in solr/core 2020-06-13 11:00:58 -04:00
Erick Erickson 6801d4c139 SOLR-14565: Fix or suppress warnings in solrj/impl and solrj/io/graph 2020-06-12 20:06:16 -04:00
Erick Erickson 8cbfb192ab SOLR-14563: Fix or suppress warnings in solr/contrib 2020-06-12 10:56:22 -04:00
Michael Sokolov 26075fc1dc
LUCENE-9394: fix and suppress warnings (#1563)
* LUCENE-9394: fix and suppress warnings in lucene/*
* Change type of ValuesSource context from raw Map to Map<Object, Object>
2020-06-12 07:25:31 -04:00
Patrick Zhai 2991acf8ff
LUCENE-9391: Upgrade HPPC to 0.8.2 (#1560)
* LUCENE-8574: Upgrade HPPC to 0.8.2 (Co-authored-by: Haoyu Zhai <haoyzhai@amazon.com>)
2020-06-12 07:36:43 +02:00
Erick Erickson ff391448d1 SOLR-14559: Fix or suppress warnings in solr/core/src/java/org/apache/solr/util, response, cloud, security, schema, api 2020-06-11 18:01:29 -04:00
Mike Drob fb98f30a61
SOLR-8392 type safety on SolrParam (#1556) 2020-06-11 14:21:54 -05:00
murblanc b4dcbfa3de
SOLR-12823: fix failures in CloudHttp2SolrClientTest CloudSolrClientTest TestCloudSolrClientConnections (#1565)
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-11 10:50:16 -05:00
Erick Erickson 07a203628e SOLR-14455: Fix or suppress warnings in solr/test-framework 2020-06-10 18:05:50 -04:00
Tomas Fernandez Lobbe 9728f4ef20
SOLR-14552: Add BMW support to ReRank queries (#1559) 2020-06-10 14:59:50 -07:00
Munendra S N 53040984f6 SOLR-14345: return correct err msg when non-binary resp parser is used
* This adds support to parse error properly in case of non-binary
  resp parser but the problem still exists for noopResponseParser
2020-06-10 19:11:52 +05:30
Munendra S N 001c4e2ddd SOLR-14550: fix duplicate issue in Atomic updates with add-distinct
* When add-distinct value is list, it can end up adding duplicate
  entries
2020-06-10 18:59:44 +05:30
murblanc d4f7c90bab
SOLR-14347: fix cached session update to not depend on Zookeeper state (#1542)
SOLR-14347: fix cached session update to not depend on Zookeeper state
2020-06-10 21:13:55 +10:00
Mike Drob 2660139aa3 few more awaitsfix 2020-06-09 22:00:44 -05:00
Erick Erickson c8f48d4701 SOLR-14547: Fix or suppress warnings in solr/client/solrj/io/stream 2020-06-09 19:21:36 -04:00
Mike Drob 7b5d2442ac awaitsfix failing test 2020-06-09 18:12:51 -05:00
Mike Drob 8ee6e6797b
SOLR-14548 Address warning: static member should be qualified by type… (#1555) 2020-06-09 15:33:37 -05:00
murblanc 1ab9b811c6
SOLR-12823: remove /clusterstate.json (#1528)
* SOLR-12823: remove /clusterstate.json

Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option.

Also fixes SOLR-11877 DocCollection.getStateFormat is buggy

Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-09 13:59:17 -05:00
Adrien Grand 684c2e6afe SOLR-14470: Fix precommit 2020-06-09 09:37:51 +02:00
Erick Erickson 4dcdd750f2 SOLR-14545: Fix or suppress warnings in apache/solr/update 2020-06-08 19:03:34 -04:00
Varun Thacker 8663a425a8
fix typo in the Solr CHANGES file 2020-06-08 14:06:57 -07:00
Andrzej Bialecki 30924f23d6 SOLR-14470: Add streaming expressions to /export handler. 2020-06-08 16:03:07 +02:00
Jan Høydahl 3e538005ec SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode 2020-06-08 10:46:53 +02:00
Erick Erickson 7bf59a16bd SOLR-14544: Fix or suppress warnings in solr/client/solrj/io/eval 2020-06-07 21:31:51 -04:00
Erick Erickson 04ba04c29d SOLR-14543: Fix or suppress warnings in apache/solr/search 2020-06-07 21:20:25 -04:00
Jan Høydahl f404a38fa6
SOLR-9679: Exception when removing zk node /security.json (#1403) 2020-06-08 01:11:56 +02:00
Gus Heck ae6fe8d826 Revert "Refactor for code clarity, add some comments."
This reverts commit ebd40918 for which I apparently ran the tests one less time than I needed to
2020-06-07 13:02:45 -04:00
Gus Heck 12280819a1 SOLR-13169 Improve docs for MOVEREPLICA - Warn that maxShardsPerNode is ignored,
better detail on when some parameters are ignored
2020-06-07 12:24:17 -04:00
Gus Heck ebd409187a Refactor for code clarity, add some comments. 2020-06-07 12:24:17 -04:00
Gus Heck 14a988cc2a Legibility: Only get the value of node from messages once. 2020-06-07 12:20:27 -04:00
mrsoong 291e358a3d
SOLR-13203: return 400 on invalid dynamic field for edismax uf (#1502) 2020-06-07 17:42:25 +05:30
Erick Erickson f96488180c SOLR-14542: Fix or suppress warnings in solr/handler/dataimport 2020-06-07 08:10:35 -04:00
Guna Sekhar Dora Kovvuru aca95a1ec6
SOLR-13492: perform explicit GC concurrently (#1370) 2020-06-07 15:44:30 +05:30
Erick Erickson 3cbb1e0b4f SOLR-14480: Fix or suppress warnings in solr/cloud/api 2020-06-06 18:11:37 -04:00
Mikhail Khludnev a60f17dc0a SOLR-14442: add improvement to CHANGES.txt 2020-06-06 17:51:12 +03:00
Erick Erickson 6d5b1ae7f4 SOLR-14536: Fix or suppress warnings in apache/solr/common 2020-06-06 09:30:17 -04:00
Mikhail Khludnev c8e4334692 SOLR-14442: call jstack before force kill; force kill regardles of open port. 2020-06-06 13:06:13 +03:00
Gus Heck ff8caeb7f4 SOLR-13169 Improve docs for MOVEREPLICA - improve examples 2020-06-05 17:47:12 -04:00
Gus Heck 4b496b364f SOLR-13169 Improve docs for MOVEREPLICA - correct existing parameter docs. 2020-06-05 17:47:11 -04:00
Erick Erickson ae3de57b33 SOLR-14538: Fix or suppress remaining warnings in apache/solr/handler 2020-06-05 15:22:44 -04:00