Christine Poerschke
fa41ea51d4
Add two solr/CHANGES.txt entries for SOLR-14981 and SOLR-15046. ( #2149 )
...
So that 8.8.0 sections match on master and branch_8x branches.
2020-12-17 12:40:05 +00:00
Dawid Weiss
c94b035df8
LUCENE-9564: add spotless and gjf (automatic code formatter)
2020-12-17 13:11:54 +01:00
iverase
2eeec2f6be
LUCENE-9637: Index disjoint multipolygons in TestLatLonMultiPolygonShapeQueries
2020-12-17 09:59:11 +01:00
Timothy Potter
809d15115b
SOLR-15054: Test should not require private methods to be final ( #2150 )
2020-12-16 15:35:30 -07:00
Mike Drob
f11837544f
SOLR-15029 Add lucene.interal tag
2020-12-16 15:06:54 -06:00
Cassandra Targett
2f45a31fbd
Ref Guide: copy editing solr-tracing.adoc; fix for table template so format options to work; code in tables is highlighted
2020-12-16 14:21:38 -06:00
Christine Poerschke
0b5003cfed
SOLR-14939: JSON range faceting to support cache=false parameter ( #1992 )
2020-12-16 17:42:24 +00:00
Ignacio Vera
6f56a3cd73
LUCENE-9637: Removes some unused code and replaces the Point implementation on ShapeField/ShapeQuery random tests
2020-12-16 12:08:23 +01:00
Mike Drob
bf7b438f12
SOLR-15029 Trigger leader election on index writer tragedy
...
SOLR-13027 Use TestInjection so that we always have a Tragic Event
When we encounter a tragic error in the index writer, we can trigger a
leader election instead of queing up a delete and re-add of the node in
question. This should result in a more graceful transition, and the
previous leader will eventually be put into recovery by a new leader.
closes #2120
2020-12-15 15:54:40 -06:00
Michael Sokolov
3c9d355315
LUCENE-9638: fix simple text vector format fields list terminator
2020-12-15 08:19:26 -05:00
Ignacio Vera
4b3e8d7ce8
LUCENE-9627: Remove unused Lucene50FieldInfosFormat codec and small refactor some codecs to separate reading header/footer from reading content of the file
2020-12-15 10:13:25 +01:00
Noble Paul
94c69f4385
SOLR-14977: improved plugin configuration ( #2099 )
2020-12-15 14:18:09 +11:00
Adrien Grand
ecf152279b
LUCENE-9636: Add CHANGES entry.
2020-12-14 13:41:02 +01:00
gf2121
ecd47a8b7b
LUCENE-9636: Exact and operation to get a SIMD optimize ( #2139 )
...
Co-authored-by: 郭峰 <guofeng.my@bytedance.com>
2020-12-14 13:37:50 +01:00
Ignacio Vera
bc854b2627
LUCENE-9552: make sure we don't construct Illegal rectangles due to quantization ( #2131 )
2020-12-14 12:15:54 +01:00
noblepaul
63943a739b
use RTimer
2020-12-14 19:03:31 +11:00
noblepaul
a2a811a1b4
added a perf test
2020-12-14 18:54:32 +11:00
Przemek Bruski
ccf3e60453
LUCENE-9021 QueryParser: re-use the LookaheadSuccess exception ( #962 )
...
* LUCENE-9021 QueryParser: re-use the LookaheadSuccess exception
Authored-by: Przemek Bruski <pbruski@atlassian.com>
2020-12-12 06:05:46 -08:00
Dawid Weiss
a648143955
LUCENE-9633: Improve match highlighter behavior for degenerate intervals (on non-existing positions). ( #2127 )
2020-12-11 20:07:26 +01:00
Noble Paul
a95ce0d422
SOLR-14827: Refactor schema loading to not use XPath ( #1963 )
2020-12-11 15:27:47 +11:00
Mayya Sharipova
ab0b17ec8c
Fix indent from 4 to 2 spaces ( #2129 )
...
Files in org.apache.lucene.search.comparators package
has a wrong indent of 4 spaces instead of 2.
This patch fixes only the indent from 4 to correct 2 spaces
2020-12-10 14:55:26 -05:00
Joel Bernstein
04b9a98060
SOLR-15040: Improvements to postlogs timestamp handling
2020-12-10 12:49:42 -05:00
Michael Sokolov
8200f895e9
reindent TestHnsw (was 4 indented spaces)
2020-12-09 21:43:11 -05:00
Michael Sokolov
af3e12265f
LUCENE-9626 represent HNSW graph neighbors using primitive arrays ( #2108 )
...
* also adds LongHeap, a primitive int priority queue
2020-12-09 15:41:10 -05:00
Houston Putman
0f15b5e2ee
Adding Apache Reporter step in Release Wizard. ( #2130 )
2020-12-08 04:04:49 -05:00
Timothy Potter
30e5e38336
SOLR-14987: Reuse HttpSolrClient per node vs. one per Solr core when using CloudSolrStream ( #2067 )
2020-12-07 09:03:03 -07:00
Andrzej Bialecki
637afadeaa
SOLR-15022: fix page-children declaration.
2020-12-07 14:33:22 +01:00
Andrzej Bialecki
8dcaa6c6d3
SOLR-15022: Add RefGuide documentation for cluster plugins.
2020-12-07 14:03:47 +01:00
Tim Owen
510f96c69c
SOLR-8673: Enable custom aggregate functions by opening up FacetContext
...
Prior to this change, it was not feasible to write a custom aggregate function in plugin code
because the FacetContext class did not expose its fields for access outside its package. Also
some of the useful abstract classes for SlotAcc were package-private too
2020-12-06 22:45:09 -08:00
Andrzej Bialecki
478c6cb0f5
SOLR-15016: Fix javadoc so that the example matches the current API.
2020-12-06 18:45:01 +01:00
Andrzej Bialecki
cced5078ea
SOLR-15016: Replica placement plugins should use container plugins API / configs.
2020-12-06 14:51:10 +01:00
David Smiley
21b8890f58
SOLR: Remove CHANGES.md; use solr/CHANGES.txt
...
For now, any way. See dev list discussion.
2020-12-04 17:59:07 -05:00
saatchibhalla
19ed903377
SOLR-14965: add overseer queue size metrics ( #2040 )
...
Adds two metrics to the SolrCloud Overseer: solr_metrics_overseer_stateUpdateQueueSize and solr_metrics_overseer_collectionWorkQueueSize with corresponding entries in the the Prometheus exporter's default/stock configuration.
Co-authored-by: Saatchi Bhalla <s.bhalla@salesforce.com>
2020-12-04 16:47:35 -05:00
Mike Drob
cef928171f
SOLR-14992 Wait for node down before checking for node up ( #2115 )
2020-12-03 16:32:07 -08:00
Mayya Sharipova
69de1a490f
LUCENE-9599 Disable sort optim on index sort ( #2075 )
...
Disable sort optimization in comparators on index sort.
Currently, if search sort is equal or a part of the index sort, we have
an early termination in TopFieldCollector.
But comparators are not aware of the index sort, and may run
sort optimization even if the search sort is congruent with
the index sort.
This patch:
- adds `disableSkipping` method to `FieldComparator`,
This method is called by `TopFieldCollector`, and currently called
when the search sort is congruent with the index sort,
but more conditions can be added.
- disables sort optimization in comparators in this case.
- removes a private `MultiComparatorLeafCollector` class, because the only
class that extends `MultiComparatorLeafCollector` was `TopFieldLeafCollector`.
The logic of the deleted `TopFieldLeafCollector` is added to `TopFieldLeafCollector`.
Relates to #1351
2020-12-03 12:08:46 -05:00
Patrick Zhai
f24b497c72
LUCENE-9618: Do not call IntervalIterator.nextInterval after NO_MORE_DOCS returned ( #2095 )
...
* LUCENE-9618: Do not call IntervalIterator.nextInterval after NO_MORE_DOCS is returned
2020-12-03 10:17:30 -05:00
Dawid Weiss
a9e180b20a
LUCENE-9631: Properly override slice() on subclasses of OffsetRange.
2020-12-03 10:55:33 +01:00
Timothy Potter
4c100a0175
SOLR-12182: Fix Changes.txt in master ( #2116 )
2020-12-02 17:28:19 -07:00
Chris Hostetter
5208d47e1a
SOLR-14934: Remove redundent deprecated "solr.solr.home" logic
2020-12-02 17:18:58 -07:00
Jan Høydahl
e3572d0c4d
Reconcile upgrade notes in master ( #2103 )
...
inspired by And fixes #2102
2020-12-02 23:28:02 +01:00
David Smiley
d50bdbae83
Remove obsolete dev-tools scripts ( #2105 )
2020-12-02 16:04:40 -05:00
Chris Hostetter
05a8477a36
SOLR-14934: Fix some additional test helper methods that aren't used on master but triggered problems when when backporting to branch_8x
2020-12-02 13:35:33 -07:00
Chris Hostetter
8732df8c50
SOLR-14934: test workaround for SOLR-15026
2020-12-02 12:13:55 -07:00
Chris Hostetter
2e6a02394e
SOLR-14934: Refactored duplicate "Solr Home" logic into a single place to eliminate risk of tests using divergent values for a single solr node.
2020-12-02 10:24:36 -07:00
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