Commit Graph

34581 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar d99c1667a5
SOLR-14942: Move request registration to ContentStreamHandlerBase (#2112)
This addresses review feedback from David Smiley on Jira. It moves the request registration to the ContentStreamHandlerBase class instead of doing a hack-ish instanceof check inside HttpSolrCall.
2020-12-02 10:11:23 +05:30
Thomas Mortagne feb897a962
SOLR-15017: Core's lib/ dir was ignored sometimes (#2107)
A core's lib/ folder was ignored when the core's configuration did not define any <lib> element.  This is a regression introduced in 8.6 by SOLR-14197.
2020-12-01 15:40:21 -05:00
Ilan Ginzburg 3df72502cc
SOLR-15004: tests for the replica placement API + placement plugin fixes and light refactoring (#2110)
Co-authored-by: Andrzej Bialecki <ab@apache.org>
2020-12-01 20:07:08 +01:00
Simon Willnauer 663655d659 SOLR-15013: Prevent merges since test asserts doc order 2020-12-01 10:23:12 +01:00
Cassandra Targett 689e56fbe0 Ref Guide: fix wrong class name in CSS to toggle the icon shown in sidebar nav when a section is open 2020-11-30 15:50:13 -06:00
Timothy Potter a0492840ee
SOLR-12182: Don't persist base_url in ZK as the scheme is variable, compute from node_name instead (#2010) 2020-11-30 12:05:48 -07:00
Mike Drob cb5ba42bd7
SOLR-15009 Propogate IOException from DF.exists 2020-11-30 10:27:23 -08:00
Chris Hostetter 37a61635e1 SOLR-14958: Refactor zkHost config logic to make testing easier and reduce risk of incorrect value being used 2020-11-30 10:43:08 -07:00
gf2121 2da3d1fef4
fix duplicate compute on maxUnpatchedValue (#2106)
Co-authored-by: 郭峰 <guofeng.my@bytedance.com>
2020-11-30 13:35:15 +01:00
David Smiley 021de9f45f
SOLR-14915: Prometheus-exporter should not depend on Solr-core (#1972)
* Reduced dependencies from Solr server down to just SolrJ.  Don't add WEB-INF/lib.
* Was missing some dependencies in lib/; now has all except SolrJ & logging.
* Can run via gradle, "gradlew run"
* Has own log4j2.xml now

Has own CHANGES.md now.
2020-11-27 15:08:33 -05:00
David Smiley 1e0ae2fb74
SOLR-15001 Docker: require init_var_solr.sh (#2083)
The Dockerfile should not initialize /var/solr's contents because this is confusing and redundant with init_var_solr.sh.
No need for init_var_solr.sh to echo what it does; VERBOSE can be used to accomplish that.

Separate CHANGES.md for Docker and contrib modules.
2020-11-27 14:59:54 -05:00
Jan Høydahl 99c38eee49
SOLR-14851 Http2SolrClient doesn't handle keystore type (#2098)
Signed-off-by: Jan Høydahl <janhoy@apache.org>
Co-authored-by: Andras Salamon <andras.salamon@melda.info>
2020-11-27 16:11:29 +01:00
Ignacio Vera b63c37d1e8
LUCENE-9606: Wrap boolean queries generated by shape fields with a Constant score query (#2093) 2020-11-25 08:40:38 +01:00
Simon Willnauer c71f119e9a
LUCENE-9508: Fix DocumentsWriter to block threads until unstalled (#2085)
DWStallControl expects the caller to loop on top of the wait call to make
progress with flushing if the DW is stalled. This logic wasn't applied such that
DW only stalled for one second and then released the indexing thread. This can cause
OOM if for instance during a full flush one DWPT gets stuck and onther threads keep on
indexing.
2020-11-24 13:05:21 +01:00
Alessandro Benedetti 7d54c28958 Merge remote-tracking branch 'origin/master' 2020-11-24 10:16:05 +00:00
Alessandro Benedetti ca040402d9 SOLR-15015: added support to parametric Interleaving algorithm (#2096) 2020-11-24 10:14:38 +00:00
Alessandro Benedetti 4d05e72eba
[SOLR-15015] added support to parametric Interleaving algorithm + tests (#2096) 2020-11-24 10:11:08 +00:00
Ignacio Vera 44be9f903d
LUCENE-9595: Make Component2D#withinPoint implementations consistent with ShapeQuery logic (#2059) 2020-11-23 09:36:35 +01:00
jimczi a5d0654a24 LUCENE-9581: Japanese tokenizer should discard the compound token instead of disabling the decomposition of long tokens when discardCompoundToken is activated. 2020-11-23 08:55:36 +01:00
Erick Erickson 77a205387f SOLR-14993: Unable to download zookeeper files of 1byte in size 2020-11-22 09:23:44 -05:00
Julie Tibshirani 8c7b709c08
LUCENE-9592: Loosen equality checks in TestVectorUtil. (#2084)
TestVectorUtil occasionally fails because of floating point errors. This
change slightly increases the epsilon in equality checks -- testing shows that
this will greatly decrease the chance of failure.
2020-11-19 19:05:04 -08:00
Christine Poerschke c4d4767bca SOLR-14035: Remove deprecated preferLocalShards=true support in favour of the shards.preference=replica.location:local alternative.
(Alex Bulygin via Christine Poerschke)
2020-11-19 17:57:47 +00:00
Alessandro Benedetti af0455ac83
SOLR-14560: Interleaving for Learning To Rank (#1571)
SOLR-14560: Add interleaving support in Learning To Rank
2020-11-18 18:15:24 +00:00
Cassandra Targett ea4dd0580f SOLR-14792: remove leftover /browse UI screenshot from ref guide docs 2020-11-17 15:00:38 -06:00
Michael Sokolov cb0d0cf0d1 Use h2 for top-level headers in HnswGraph javadoc, following jdk14 rule 2020-11-17 15:00:29 -05:00
Cassandra Targett 2b5b0f999c SOLR-14683: move "Missing Metrics" section down to config section; add short blurb to intro text 2020-11-17 11:58:09 -06:00
Michael Sokolov 02514e5bd6 Remove h3 from HnswGraph javadoc; doclet doesn't seem to like it 2020-11-17 09:37:25 -05:00
Marcus b9a93cf695
LUCENE-8626: Standardize Lucene test file naming Part 2 (#2053) 2020-11-17 08:13:13 -05:00
Adrien Grand 4735b4c12f LUCENE-9378: Fix test failure. 2020-11-17 09:41:51 +01:00
Tomoko Uchida 8503efdcff
LUCENE-9413: Add CJKWidthCharFilter and its factory. (#2081) 2020-11-17 17:32:10 +09:00
Nazerke Seidan 2d583eaba7
SOLR-14998: logging: info->debug in CollectionsHandler (#2079)
Because it's almost always redundant with HttpSolrCall's admin request log.
Co-authored-by: Nazerke Seidan <nseidan@salesforce.com>
2020-11-16 16:59:31 -05:00
Dawid Weiss fd3ffd0d38 LUCENE-8982: make native builds disabled by default (CI complains). 2020-11-16 17:23:21 +01:00
Noble Paul 73d5e7ae77
SOLR-14977 : ContainerPlugins should be configurable (#2065) 2020-11-17 00:19:50 +11:00
zacharymorn ebc87a8a27
LUCENE-8982: Separate out native code to another module to allow cpp build with gradle (#2068)
* LUCENE-8982: Separate out native code to another module to allow cpp build with gradle
2020-11-16 09:40:03 +01:00
Michael Sokolov 3ae0ca23d9 LUCENE-9610: fix bug in previous test fix 2020-11-15 12:46:16 +00:00
Michael Sokolov 09f78e2927 LUCENE-9610: fix TestKnnGraph.testMerge 2020-11-14 10:47:17 -05:00
Robert Muir 52f581e351
LUCENE-9605: update snowball to d8cf01ddf37a, adds Yiddish (#2077) 2020-11-14 09:27:08 -05:00
Erick Erickson 93ecd0fa0a SOLR-14986: Add warning to ref guide that using 'properties.name' is an expert option 2020-11-14 09:04:59 -05:00
Michael Sokolov 03c1910bff LUCENE-9004: CHANGES.txt entry 2020-11-13 09:05:17 -05:00
Michael Sokolov b36b4af22b
LUCENE-9004: KNN vector search using NSW graphs (#2022) 2020-11-13 08:53:51 -05:00
Dawid Weiss 80a0154d57 LUCENE-9608: add a hand-triggered test error class. 2020-11-13 14:49:08 +01:00
Tomoko Uchida 8bac4e7f74 LUCENE-9499: javadoc split package workaroud should be applied only to test-framework. 2020-11-13 21:31:37 +09:00
Uwe Schindler af47cb7bcd LUCENE-9600: Fix wrong link 2020-11-13 00:28:15 +01:00
Gautam Worah 3f8f84f9b0
LUCENE-9450 Switch to BinaryDocValues instead of stored fields in Lucene's facet implementation, yielding ~4-5% red-line QPS gain in pure faceting benchmarks (#1733) 2020-11-12 17:13:31 -05:00
Adrien Grand 06877b2c6e
LUCENE-9378: Make it possible to configure how to trade speed for compression on doc values. (#2069)
This adds a switch to `Lucene80DocValuesFormat` which allows to
configure whether to prioritize retrieval speed over compression ratio
or the other way around. When prioritizing retrieval speed, binary doc
values are written using the exact same format as before more aggressive
compression got introduced.
2020-11-12 16:10:00 +01:00
Shintaro Murakami d1297e52d9
Remove redundant fieldType.stored() check during indexing (#2076) 2020-11-12 08:51:53 -05:00
Christine Poerschke 2f02040a4c SOLR-14983: Fix response returning original score instead of reranked score due to query and filter combining.
(Krishan Goyal, Jason Baik, Christine Poerschke)
2020-11-12 12:51:21 +00:00
Mike Drob 66e285e7ae
SOLR-14995 Update Jetty to latest version 2020-11-11 13:27:49 -08:00
Jason Gerlowski a7197ac0ce
SOLR-14971: Handle atomic-removes on uncommitted docs (#2056)
Docs fetched from the update log via RTG look different than docs
fetched from commits in the index: the types of
field-values may be different between the two, etc.

This is a problem for atomic add/remove of field values, where matching
existing values has historically been done by object equals() calls (via
Collection operations).  This relies on equality checks which don't have
flexible enough semantics to match values across these different types.
(For example, `new Long(1).equals(new Integer(1))` returns `false`).
This was causing some add-distinct and remove operations on
uncommitted values to silently fail to remove field values.

This commit patches over this by converting between types in the more
common cases before using the fallback behavior.
2020-11-11 12:28:11 -05:00
Bruno Roustant 91ee53d418
SOLR-14975: Add entry in CHANGES.txt 2020-11-11 11:52:30 +01:00