Commit Graph

34498 Commits

Author SHA1 Message Date
Christine Poerschke 0729746d77
Rename TestSolrTestCaseJ4 to SolrTestCaseJ4DeleteCoreTest. (#2032) 2020-11-02 16:13:01 +00:00
Adrien Grand 2a2e612db0 LUCENE-9536: CHANGES entry. 2020-11-02 16:46:45 +01:00
Julie Tibshirani 8f004f7a38
LUCENE-9536: Optimize OrdinalMap when one segment contains all distinct values. (#1948)
LUCENE-9536: Optimize OrdinalMap when one segment contains all distinct values.

For doc values that are not too high cardinality, it is common for some large
segments to contain all distinct values. In this case, we can check if the first
segment ords map perfectly to global ords, and if so store the global ord deltas
and first segment indices as `LongValues.ZEROES`
to save some space.
2020-11-02 16:40:16 +01:00
Christine Poerschke da0004875b
SOLR-14865: 'Index Merge Metrics' documentation correction (#1870) 2020-11-02 15:25:14 +00:00
Jan Høydahl 0c3f2f4ac8
SOLR-14972: Change default port of prometheus exporter to 8989 (#2046) 2020-11-02 14:06:34 +01:00
Emmanuel Bourg 0fb21e2980
Fix a typo in IndexWriter (#2054) 2020-11-02 12:40:53 +01:00
Erick Erickson 2c49c4a27d SOLR-14969: Prevent creating multiple cores with the same name which leads to instabilities (race condition) 2020-10-31 19:34:09 -04:00
Houston Putman e1698bda95
SOLR-14955: Add env var options to Prometheus Export scripts. (#2038) 2020-10-30 11:15:33 -04:00
S N Munendra f3fdd9b90b
SOLR-14946: fix responseHeader returned in resp with omitHeader=true (#2029)
* This occurs when BinaryResponseWriter#getParsedResponse is called as
  it doesn't check for omitHeader.
2020-10-30 18:50:18 +05:30
Marcus 57729c9aca
LUCENE-8626: Standardize Lucene Test Files (#2026) 2020-10-30 13:34:55 +07:00
Eric Pugh d0ba0f38a9
Enhance Javadocs for ExternalFileField on how to return values as part of document fields. SOLR-14968
* add helpful documentation on returning the field value

* wordsmith
2020-10-29 12:38:41 -04:00
Jan Høydahl 462c6c70d1
Graduate the release wizard from ALPHA (#2041) 2020-10-29 11:24:02 +01:00
Uwe Schindler 9ce4b98af2
LUCENE-9587: Add '--illegal-access=deny' to test runner (#2039) 2020-10-27 23:28:25 +01:00
Anver Sotnikov 6d00843d97 SOLR-14940: Fix ReplicationHandler memory leak through SolrCore.closeHooks
* Added ability to remove SolrCore.closeHooks
* Keep references to CloseHooks in ReplicationHandler and remove them on ReplicationHandler.shutdown()

closes #1997
2020-10-27 16:03:43 -05:00
Bruno Roustant 3730719ff2
Fix CHANGES entry for LUCENE-9455 2020-10-27 09:36:35 +01:00
Erick Erickson 521ca54802 SOLR-14844: Upgrade Jetty to 9.4.32.v20200930 2020-10-26 19:03:10 -04:00
Houston Putman 4fe4f37131
SOLR-14957: Add Prometheus Exporter to docker PATH. Fix classpath issues. (#2017) 2020-10-26 14:15:30 -04:00
Ilan Ginzburg b649f3f40d
SOLR-14964: remove Autoscaling related withCollection and COLOCATED_WITH (#2034)
Part of SOLR-14656 (remove Autoscalin)
2020-10-26 19:10:49 +01:00
Erick Erickson c29b0083d7 SOLR-14954: Heavily edit reindexing.adoc 2020-10-26 13:22:16 -04:00
Tomas Fernandez Lobbe 38f02869b4
Remove sleeps from SolrZkClientTest.testWrappingWatches (#1936)
Only sleep when tests are nightly
2020-10-26 10:11:11 -07:00
Julie Tibshirani 37c7d156ab
LUCENE-9322: Make sure to account for vectors in SortingCodecReader. (#2028) 2020-10-26 08:00:26 -04:00
Christine Poerschke 4bf254158a
Rename ConfigSetsAPITest to TestConfigSetsAPIShareSchema (#1890) 2020-10-26 09:45:13 +00:00
Christine Poerschke 7a09cc1d49
SOLR-14937: Correct client.queryDefaults().set(...) calls in some JSON facet tests. (#1987) 2020-10-26 09:43:56 +00:00
Zach Chen 98594b54fd
LUCENE-9455: ExitableTermsEnum should sample timeout and interruption check before calling next()
Closes #1998
2020-10-24 21:46:54 +02:00
David Smiley 2d3a221dcf
.gitignore clean up (#1993)
* Reorganized
* Removed outdated entries
* Moved some rules from the repo root to Solr
2020-10-24 11:09:55 -04:00
Michael Sokolov 56eac7c435 Fix random TestVectorValues failures by use of forceMerge (and getOnlyLeafReader) 2020-10-24 08:44:51 -04:00
Shalin Shekhar Mangar 706f284c46
SOLR-14942: Reduce leader election time on node shutdown (#2004)
The shutdown process waits for all replicas/cores to be closed before removing the election node of the leader. This can take some time due to index flush or merge activities on the leader cores and delays new leaders from being elected. Moreover, jetty stops accepting new requests on receiving SIGTERM which means that even though a leader technically exists, no new indexing requests can be processed by the node. This commit waits for all in-flight indexing requests to complete, removes election nodes (thus triggering leader election) and then closes all replicas.

Co-authored-by: Cao Manh Dat <datcm@apache.org>
2020-10-24 17:39:00 +05:30
Michael Sokolov 840a353bc7
LUCENE-9582: rename VectorValues.ScoreFunction to SearchStrategy (#2018)
Co-authored-by: Julie Tibshirani
2020-10-23 17:39:34 -04:00
Houston Putman 3bfe9d8ac9
SOLR-14947: Print out image info after gradle docker task. (#2007) 2020-10-22 11:30:43 -04:00
Andrzej Bialecki c680a6e061 Move upgrade notes from CHANGES.txt to the Ref Guide. 2020-10-22 17:28:13 +02:00
Christine Poerschke 43c087f91b SOLR-14956: correct (socket|conn)Timeout casing in 'Configuring the ShardHandlerFactory' example
(Yevhen Tienkaiev via Christine Poerschke)
2020-10-22 16:26:15 +01:00
Houston Putman 62de8f9f46
Add example for ConfigSet create with properties map. (#2005) 2020-10-22 11:20:33 -04:00
Noble Paul 052efd62ae Revert "refactor method names"
This reverts commit e826b1f344.

accidental commite reverted
2020-10-22 15:25:31 +11:00
Noble Paul e826b1f344 refactor method names 2020-10-22 12:35:47 +11:00
Andrzej Bialecki 67ecd8ff9a SOLR-14749: Improve support for arbitrary container-level plugins. Add ClusterSingleton
support for plugins that require only one active instance in the cluster.
2020-10-21 17:22:44 +02:00
Adrien Grand c587bf89e8 Reduce chances of _very_ slow tests in nightly builds. 2020-10-20 09:23:41 +02:00
Adrien Grand 0bc494e381 LUCENE-9524: Fix test failure. 2020-10-19 19:18:28 +02:00
Houston Putman 0746d30302
SOLR-14877: Add github action for running SolrJ tests. (#1891) 2020-10-19 12:26:12 -04:00
Michael Sokolov 6177be7296 Harden TestVectorValues.testAddIndexesDirectory01 2020-10-19 10:09:59 -04:00
Kevin Risden 6ac5747d76
SOLR-14549: Fix listing of Files in a Directory on Solr Admin UI
* Ensure that jstree can update data behind the scenes
* Fix file jstree object to represent open/closed correctly
* Upgrade jstree to 3.3.10 for compatibility with JQuery 3.5.x

Closes #1989
2020-10-19 09:41:36 -04:00
Jan Høydahl 3bc873e6d4
SOLR-14936: Fixed Grafana dashboard filters for collection, shard, replica and core (#1986) 2020-10-19 14:49:02 +02:00
Tomoko Uchida 44c1bd42c5
LUCENE-9318: Clean up package name conflicts for backward-codecs (#2000) 2020-10-19 21:32:06 +09:00
Eric Pugh 43edf379c3
SOLR-14943 Rework Monitoring Solr with Prometheus and Grafana ref guide page to be clearer (#1999)
* fix some errors in the doc to match reality

* bit more introductory text, and fix the embedded zk port

* add sample image and a tip on directly importing from grafana.com

* per discussion on github issue, this is no longer experimental contrib
2020-10-19 07:59:18 -04:00
Christine Poerschke b47ccbc618 Fix a highlight in query-settings-in-solrconfig.adoc file. 2020-10-19 12:54:37 +01:00
Christine Poerschke 6e2572882f Fix 'an[d]' typo in three solrconfig.xml comments. 2020-10-19 12:54:37 +01:00
Andrzej Bialecki 9ab9d208c7 SOLR-14944: Remove the "spins" metrics. 2020-10-19 11:50:08 +02:00
Robert Muir 4c42cbc5c9
LUCENE-9576: give solr back its getFileStoreAttributes permission
Solr apparently needs this for its IndexFetcher.
2020-10-18 12:30:47 -04:00
Michael Sokolov e9ff918dbd fix javadoc 2020-10-18 11:49:39 -04:00
Michael Sokolov dbcbcd0ee8 Add CHANGES entry for LUCENE-9322 2020-10-18 09:50:25 -04:00
Michael Sokolov c02f07f2d5 LUCENE-9322: Add Lucene90 codec, including VectorFormat
This commit adds support for dense floating point VectorFields.
The new VectorValues class provides access to the indexed vectors.
2020-10-18 07:49:36 -04:00