Commit Graph

5769 Commits

Author SHA1 Message Date
Munendra S N 58d13608b4 SOLR-10471: update default zk session timeout in bin/solr* scripts
* zkClientTimeout value is already set to 30s in solr.xml but
  same update was missing from bin/solr* script
2020-09-15 19:32:51 +05:30
Houston Putman bc0b29eca3
SOLR-14789: Rename docker tests task, adding missing credit in CHANGES (#1871) 2020-09-14 10:55:43 -04:00
Houston Putman 485d5fb41a
SOLR-14789: Absorb the docker-solr repo. (#1769) 2020-09-11 12:29:29 -04:00
Mike Drob e2deca0c2b CHANGES.txt 2020-09-09 09:21:39 -05:00
Jason Gerlowski ecb8ca2fef SOLR-14821: {!terms} dVTFTL supports single-valued strings
Prior to this commit the docValuesTermsFilterTopLevel method of the
{!terms} query parser would return zero results when run against a
single-valued String.  This commit fixes this by wrapping the
single-valued 'SortedDocValues' in a 'SortedSetDocValues' object.
2020-09-05 13:54:27 -04:00
Erick Erickson f71ba62d4a SOLR-14579: Comment SolrJ 'Utils' generic map functions 2020-09-05 09:19:45 -04:00
Andy Vuong 2544df8f6d
SOLR-14658: SolrJ collectionStatus(col) should only fetch one status (#1687)
An optimization or a perf-bug depending on point of view
2020-09-03 14:25:36 -04:00
Bruno Roustant 22abecdbc1
SOLR-14819: Fix inefficient iterator pattern in JsonSchemaValidator. 2020-09-03 12:05:13 +02:00
epugh 6ab3660f25 SOLR-14422 was committed to master but not documented 2020-09-02 07:17:49 -04:00
Erick Erickson 070237cd97 SOLR-14714: Solr.cmd in windows loads the incorrect jetty module when using java>=9 2020-09-01 08:35:45 -04:00
iverase dc901e6797 Sync CHANGES for 8.6.2 2020-09-01 09:53:11 +02:00
Alexandre Rafalovitch a57ba25400
SOLR-14783: Remove DIH from 9.0 (#1794)
* Remove DIH example directory

* Remove contrib code directories

* Remove contrib package related configurations for build tools

* Remove mention of DIH example

* remove dih as build dependencies and no-longer needed version pins

* Remove README references to DIH

* Remove dih mention from the script that probably does need to exist at all

* More build artifact references

* More removed dependencies leftovers (licenses/versions)

* No need to smoke exclude DIH anymore

* Remove Admin UI's DIH integration

* Remove DIH from shortname package list

* Remove unused DIH (related? not?) dataset
Unclear what is happening here, but there is no reference to that directory anywhere else
The other parallel directories ARE referenced in a TestConfigSetsAPI.java

* Hidden Idea files references

* No DIH to ignore anymore

* Remove last Derby DB references

* Remove DIH from documentation
Add the information in Major Changes document with the link to the external repo

* Added/updated a mention to CHANGES

* Fix leftover library mentions

* Fix Spellings
2020-08-29 10:52:04 -04:00
Tomas Fernandez Lobbe 59d087f0b3
SOLR-14774: Create HealthCheckHandler in CoreContainer (#1774)
This commit does two things:
* Allow users to plug-in different implementations of the handler (they must extend HealthCheckHandler)
* Remove the HealthCheckHandler from the implicit SolrCore plugins
2020-08-28 15:59:56 -07:00
Ishan Chattopadhyaya d84977eb5c SOLR-14616: Remove CDCR 2020-08-29 02:13:13 +05:30
Erick Erickson 69fa5a00fb LUCENE-9433: Remove Ant support from trunk 2020-08-28 09:31:16 -04:00
Philipp Trulson f4c4fbcafc SOLR-14752: Fix error in Zookeeper status when Prometheus plugin is enabled in ZK
Signed-off-by: Jan Høydahl <janhoy@apache.org>
2020-08-26 10:03:42 +02:00
Christine Poerschke 4761dbabd9
SOLR-14700: avoid NPEs in TupleStream.getShards() when streamContext is null. (#1754) 2020-08-24 13:00:38 +01:00
Erick Erickson c9c75810c2 Revert "LUCENE-9433: Remove Ant support from trunk"
This reverts commit 37cd17dc
2020-08-21 16:57:58 -04:00
Mike Drob 77ca552cc6 move changes entry to 8.7 2020-08-21 15:23:56 -05:00
Anderson Dorow 66b6ce2cd0
SOLR-13438: on collection delete, also delete .AUTOCREATED config set (#1759)
Co-authored-by: Anderson Dorow <Anderson.Dorow@zooplus.com>
2020-08-21 14:43:16 -05:00
Erick Erickson 37cd17dcf5 LUCENE-9433: Remove Ant support from trunk 2020-08-21 15:19:52 -04:00
Atri Sharma 2f37f40171
SOLR-14615: Implement CPU Utilization Based Circuit Breaker (#1737)
This commit introduces CPU based circuit breaker. This circuit breaker
tracks the average CPU load per minute and triggers if the value exceeds
a configurable value.

This commit also adds a specific control flag for Memory Circuit Breaker
to allow enabling/disabling the same.
2020-08-20 13:21:26 +05:30
Ishan Chattopadhyaya 77a4d495cc SOLR-14731: Rename @SolrSingleThreaded to @SolrThreadUnsafe, mark DistribPackageStore with the annotation
Co-authored-by: Marcus <marcuseagan@gmail.com>
2020-08-18 16:21:38 +05:30
David Smiley 0ce2d610c2
SOLR-14722: timeAllowed should track from req creation (#1726)
* set(long) instead of set(Long).
* Fix javadocs CommonParams.TIME_ALLOWED
2020-08-15 00:41:07 -04:00
Houston Putman c7b70267b8 Sync CHANGES for 8.6.1 2020-08-14 16:44:56 -04:00
Yuriy Koval 44c4e6ef31
SOLR-14703 Edismax parser replaces whitespace characters with spaces (#1713) 2020-08-14 14:12:53 -04:00
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
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
Cao Manh Dat 9b1aeb3c62 SOLR-14641: Update CHANGES.txt 2020-08-10 15:35:55 +07: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
noblepaul 321c4bbe1f SOLR-14654: clean up ref guide, CHANGES.txt 2020-08-06 16:46:12 +10: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
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
Erick Erickson 4b2e90b3aa SOLR-11656: TLOG replication doesn't work properly after rebalancing leaders. 2020-07-24 13:10:35 -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 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
Noble Paul 03d658a7bc
SOLR-14151 Make schema components load from packages (#1669) 2020-07-16 16:05:24 +10:00
Bruno Roustant efb936b787
Sync CHANGES for 8.6.0 2020-07-15 16:09:41 +02: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
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
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 5c6314a970 SOLR-14635: ThreadDumpHandler has been enhanced to show lock ownership 2020-07-09 12:13:02 -07:00
noblepaul 4ae976bdf0 SOLR-14610: CHANGES.txt 2020-07-09 18:55:02 +10: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
Noble Paul 5154b6008f
SOLR-14634: Limit the HTTP security headers to "/solr" end point (#1655) 2020-07-07 23:16:32 +10:00
Cao Manh Dat a80eb84d56
SOLR-14354: HttpShardHandler send requests in async (#1470) 2020-07-07 09:17:26 +07: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
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
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
Andrzej Bialecki 1b8fb70216 SOLR-14537: Improve performance of ExportWriter. 2020-07-02 17:34:50 +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
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
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
Mikhail Khludnev f647400e31 SOLR-14539: Introducing {!bool excludeTags=foo,bar} 2020-06-30 18:55:07 +03: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
Atri Sharma 698c9cce6c Revert "CHANGES.txt entry for SOLR-14588"
This reverts commit aba7a61594.
2020-06-27 23:50:01 +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
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
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 11538e52a2 SOLR-14541: Ensure classes that implement equals implement hashCode or suppress warnings 2020-06-25 16:35:56 -04:00
Atri Sharma aba7a61594 CHANGES.txt entry for SOLR-14588 2020-06-25 21:42:38 +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 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
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 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
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
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
Erick Erickson 6357b3bdaa SOLR-14573: Fix or suppress warnings in solrj/src/test 2020-06-16 13:27:53 -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
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
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
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
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 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
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
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
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
Erick Erickson ae3de57b33 SOLR-14538: Fix or suppress remaining warnings in apache/solr/handler 2020-06-05 15:22:44 -04:00
Chris Hostetter b055c7489f SOLR-14467: Fix relatedness() stat in json.facets to no longer cause server errors (or nonsense results) when combined with allBuckets:true 2020-06-05 08:58:59 -07:00
Erick Erickson 0c4d8fb116 SOLR-14535: Fix or suppress warnings in apache/solr/handler/component, sql and loader 2020-06-04 17:49:46 -04:00
Erick Erickson bab4fccba2 SOLR-14533: Fix or suppress warnings in solr/handler/admin 2020-06-04 07:02:55 -04:00
Joel Bernstein 90039fc9bc SOLR-14476: Add percentiles and standard deviation aggregations to stats, facet and timeseries Streaming Expressions 2020-06-03 14:08:26 -04:00
Chris Hostetter fb58f433fb SOLR-14520: Fixed server errors from the json.facet allBuckets:true option when combined with refine:true 2020-06-03 09:09:46 -07:00
David Smiley 2af82c83d9 SOLR-11334: Split some field lists better
Used by HighlightComponent and TermVectorComponent
Used to produce an empty string on comma-space, leading to an exception.
2020-06-02 22:57:37 -04:00
Erick Erickson db9cd0cebb SOLR-14526: fix or suppress warnings in apache/solr/core 2020-06-02 09:08:11 -04:00
Noble Paul e841d7625c
SOLR-14525 For components loaded from packages SolrCoreAware, ResourceLoaderAware are not honored (#1547) 2020-06-02 10:01:39 +10:00
Yuriy Koval cb7e948d2e
SOLR-14517 Obey "mm" local param on edismax queries with operators (#1540)
Prior to this commit query parsing looked for mm in query-params, but neglected to check local params for a subset of queries.
2020-06-01 08:13:11 -04:00
Ishan Chattopadhyaya 1dda684876 SOLR-14491: Intercepting internode requests in KerberosPlugin when HTTP/2 client is used 2020-06-01 13:37:12 +05:30
Erick Erickson e1cc7a75c7 SOLR-14519:Fix or suppress warnings in solr/cloud/autoscaling 2020-05-31 15:07:06 -04:00
Mikhail Khludnev 2c8cfa678b SOLR-14419: adding {param:ref} to Query DSL 2020-05-28 23:51:53 +03:00
Mike Drob a240f0ba3f Add bugfix version 8.5.2 2020-05-27 12:09:36 -05:00
Erick Erickson 07a9b5d1b0 SOLR-14474: Fix remaining auxilliary class warnings in Solr 2020-05-27 12:06:29 -04:00
Jason Gerlowski 46ca768687 SOLR-14280: SolrConfig error handling improvements 2020-05-26 08:32:06 -04:00
Andrzej Bialecki 22044fcabb SOLR-14498: Upgrade to Caffeine 2.8.4, which fixes the cache poisoning issue. 2020-05-26 12:56:08 +02:00
Erick Erickson 675956c004 SOLR-14495: Fix or suppress warnings in solr/search/function 2020-05-22 13:40:20 -04:00
Shalin Shekhar Mangar 338671e511
SOLR-13325: Add a collection selector to ComputePlanAction (#1512)
ComputePlanAction now supports a collection selector of the form `collections: {policy: my_policy}` which can be used to select multiple collections that match collection property/value pairs. This is useful to maintain a whitelist of collections for which actions should be taken without needing to hard-code the collection names. The collection hints are pushed down to the policy engine so operations for non-matching collections are not computed at all. The AutoAddReplicasPlanAction now becomes a thin shim over ComputePlanAction and simply adds a collection selector for the collection property autoAddReplicas=true.
2020-05-22 10:36:27 +05:30
David Smiley 3fba3daa95
SOLR-14461: Replace commons-fileupload with Jetty (#1490) 2020-05-22 00:34:48 -04:00
Tomas Fernandez Lobbe 3ca7628c43
SOLR-13289: Rename minExactHits to minExactCount (#1511) 2020-05-21 16:42:37 -07:00
Tomas Fernandez Lobbe 5e9483e788
SOLR-13289: Use the final collector's scoreMode (#1517)
This is needed in case a PostFilter changes the scoreMode
2020-05-21 15:48:37 -07:00
Andrzej Bialecki 0728ef06e9 SOLR-14504: ZkController LiveNodesListener has NullPointerException in startup race. 2020-05-21 18:17:47 +02:00
Erick Erickson 9c066f60f1 SOLR-14482: Fix or suppress warnings in solr/search/facet 2020-05-21 08:59:32 -04:00
Chris Hostetter 28209cb8b1 SOLR-14492: Fix ArrayIndexOutOfBoundsException in json.facet 'terms' when FacetFieldProcessorByHashDV is used with aggregations over multivalued numeric fields
SOLR-14477: Fix incorrect 'relatedness()' calculations in json.facet 'terms' when 'prefix' option is used
2020-05-20 11:16:05 -07:00
Andrzej Bialecki 57b7d8a8db SOLR-14486: Autoscaling simulation framework should stop using /clusterstate.json. 2020-05-19 18:52:47 +02:00
David Smiley 9259f00748
SOLR-14472: missed CHANGES.txt 2020-05-18 17:45:55 -04:00
David Smiley 803aad9175
SOLR-8394: /admin/luke didn't computeindexHeapUsageBytes (#1497)
Needed to call FilterLeafReader.unwrap.

Co-authored-by: igiguere <igiguere@opentext.com>
2020-05-15 14:02:49 -04:00
erick 34e5e6c127 SOLR-14485: Fix or suppress 11 resource leak warnings in apache/solr/cloud 2020-05-15 13:39:51 -04:00
Tomas Fernandez Lobbe 4e564079fb SOLR-14471: Add CHANGES entry 2020-05-14 21:35:21 -07:00
Joel Bernstein 08360a2997 SOLR-14407, SOLR-14478: Update CHANGES.txt 2020-05-14 10:52:55 -04:00
Jan Høydahl 1e449e3d04
SOLR-12131: ExternalRoleRuleBasedAuthorizationPlugin (#341) 2020-05-13 23:29:33 +02:00
Samuel García Martínez adddab9d14
SOLR-14456: Fix Content-Type header forwarding on compressed requests (#1480)
Co-authored-by: Samuel García Martínez <samuelgma@inditex.com>
2020-05-12 17:50:07 -04:00
Andrzej Bialecki 4680e9245f SOLR-14423: Move static SolrClientCache from StreamHandler to CoreContainer for wider reuse and better life-cycle management. 2020-05-12 21:44:00 +02:00
Jan Høydahl 6971244134
SOLR-14463: Solr Admin ZkStatus page now works with ZK 3.6 (#1499) 2020-05-12 10:57:33 +02:00
Erick Erickson a0e158c3d0 SOLR-14266: Fix or suppress 14 resource leak warnings in apache/solr/core 2020-05-11 21:55:29 -04:00
Erick Erickson aeb9f6ce5b SOLR-7880: Update commons-cli to 1.4 2020-05-10 19:04:30 -04:00
Erick Erickson 15be0db586 SOLR-11934: Visit Solr logging, it's too noisy. 2020-05-09 12:49:59 -04:00
Tomas Fernandez Lobbe d9f9d6dd47
SOLR-13289: Add Support for BlockMax WAND (#1456)
Add support for BlockMax WAND via a minExactHits parameter. Hits will be counted accurately at least until this value, and above that, the count will be an approximation. In distributed search requests, the count will be per shard, so potentially the count will be accurately counted until numShards * minExactHits. The response will include the value numFoundExact which can be true (The value in numFound is exact) or false (the value in numFound is an approximation).
2020-05-08 14:25:47 -07:00
Erick Erickson 4a76a59d69 SOLR-14466: Upgrade log4j2 to latest release (2.13.2) 2020-05-08 13:28:19 -04:00
Cassandra Targett d4dbd0b9e7 SOLR-14173: Add entry in CHANGES.txt 2020-05-05 15:40:47 -05:00
Marcus 6f775bfa69
SOLR-14014 Allow disabling AdminUI at launch (#1471) 2020-05-04 16:51:31 -05:00
Andrzej Bialecki 5eea489e44 SOLR-14431: SegmentsInfoRequestHandler does not release IndexWriter. 2020-05-04 14:44:01 +02:00
Mike Drob 242f48a1ca SOLR-14440 Cert Auth plugin 2020-05-01 13:11:01 -05:00
Mike Drob a5c73d39d3 Revert "SOLR-14440 CertAuth plugin (#1463)"
Another commit accidentally snuck in

This reverts commit 7b289d6185.
2020-05-01 13:09:28 -05:00
Mike Drob 7b289d6185
SOLR-14440 Cert Auth plugin (#1463) 2020-05-01 12:47:12 -05:00
Mike Drob ddd8fa9284 update CHANGES for #807 2020-04-29 18:29:05 -05:00
Ishan Chattopadhyaya 0c682d0e9a SOLR-14237: A new panel with security info in admin UI's dashboard 2020-04-29 22:34:13 +05:30
David Smiley daeaffa9d7
SOLR-14433: Improve SolrShardReporter default metrics list (#1453)
Now includes TLOG and UPDATE./update.
These were small bugs to begin with but from user perspective this is an incremental improvement.
2020-04-27 23:48:34 -04:00
noble b25eabe6a9 SOLR-13942: A read API at /api/cluster/zk/* to fetch raw ZK data and view contents of a ZK direcory 2020-04-27 20:36:16 +10:00
Tomoko Uchida f03e6aac59
SOLR-14429: Convert .txt files to properly formatted .md files (#1450) 2020-04-27 08:43:04 +09:00
Mike Drob fe05a6d380
SOLR-14420 Declare ServletRequests as HttpRequests in AuthenticationPlugin (#1442)
Declare ServletRequests as HttpRequests in AuthenticationPlugin
2020-04-22 12:06:18 -05:00
Andrzej Bialecki 5d60ff4613 SOLR-12845: Add a default autoscaling cluster policy. 2020-04-22 17:46:39 +02:00
Jan Høydahl c9cd623a62 SOLR-14421: Fix non-working examples in solr.in.cmd 2020-04-21 15:10:13 +02:00
Kevin Risden 89e14faca9
SOLR-13886: HDFSSyncSliceTest and SyncSliceTest started failing frequently
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-04-19 17:49:20 -04:00
David Smiley f5d91395db SOLR-14391: getDocSet(Query[]) can use search(query,collector)
Refactoring to simplify SolrIndexSearcher.
ScoreFilter interface is obsolete now.
Fixed #1409
2020-04-18 20:28:57 -04:00
Erick Erickson 3af165b32a LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects 2020-04-17 20:40:32 -04:00
Jan Høydahl 03363f413f
SOLR-14371 Zk StatusHandler should know about dynamic zk config (#1392) 2020-04-17 16:30:27 +02:00
Jan Høydahl fc53fd921a SOLR-14411, SOLR-14359 CHANGES entry fixes after 8.5.1 release 2020-04-17 15:58:39 +02:00
Markus Schuch 74ecc13816 SOLR-14387 add testcase for ids with separators to GetByIdTest and fix SolrClient to escape ids properly 2020-04-16 11:52:03 -05:00
Mikhail Khludnev b24b028402 SOLR-14291: fix regexps to handle dotted fields in Old Analytics params. 2020-04-16 14:11:22 +03:00
iverase b7b85f3e75 Move bugfix entries to version 8.5.1 2020-04-16 09:36:55 +02:00
iverase 8a88ab0e7c Add bugfix version 8.5.1 2020-04-16 09:27:06 +02:00
Shalin Shekhar Mangar 4df81f1d6d SOLR-9909: The deprecated SolrjNamedThreadFactory has been removed. Use SolrNamedThreadFactory instead. 2020-04-13 08:23:10 +05:30
Shalin Shekhar Mangar 6b78330668 SOLR-9909: Add the right Jira issue to CHANGES.txt 2020-04-13 08:18:00 +05:30
Shalin Shekhar Mangar 13f19f6555 SOLR-9906: SolrjNamedThreadFactory is deprecated in favor of SolrNamedThreadFactory. DefaultSolrThreadFactory is removed from solr-core in favor of SolrNamedThreadFactory in solrj package and all solr-core classes now use SolrNamedThreadFactory 2020-04-13 08:16:35 +05:30
David Smiley 4dece1ae17 CHANGES.txt move SOLR-14396
oops!
2020-04-12 22:06:45 -04:00
Trey Grainger 04f44399ba SOLR-14396: TaggerRequestHandler should not error on empty index
Fixes #1421
2020-04-12 21:54:27 -04:00
Shalin Shekhar Mangar d52c1021e5 SOLR-14402: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search.
This is a fix for incomplete optimization made by SOLR-11880 in Solr 7.4 which fixed distributed updates but not distributed search.
2020-04-11 08:56:01 +05:30
Cao Manh Dat adbd714b37
SOLR-14365: CollapsingQParser - Avoiding always allocate int[] and float[] with size equals to number of unique values (WIP) (#1395) 2020-04-10 15:24:10 +07:00