Commit Graph

34746 Commits

Author SHA1 Message Date
Dawid Weiss 8ef6a0da56 LUCENE-9570: code reformatting [partial]. 2020-12-28 12:26:13 +01:00
Dawid Weiss 9af588e71e Correct extra * in javadoc. 2020-12-28 12:25:25 +01:00
Dawid Weiss 409a0ac125
LUCENE-9643: git revisions for .git-blame-ignore-revs need to be full sha1, not abbreviated. (#2167) 2020-12-23 23:31:50 +01:00
Mike Drob ba8221098e
LUCENE-9647 Add back github action for Ant (#2163) 2020-12-23 14:22:57 -06:00
John Gallagher 70f461ee45
SOLR-14413 allow timeAllowed and cursorMark parameters
closes #1436
2020-12-23 13:01:44 -06:00
Dawid Weiss 8c234b2879 LUCENE-9570: code reformatting [record rev]. 2020-12-23 12:41:50 +01:00
Dawid Weiss 2d6ad2fee6 LUCENE-9570: code reformatting [partial]. 2020-12-23 12:41:23 +01:00
Pieter van Boxtel 98f12f4aeb
SOLR-15031 Prevent null being wrapped in a QueryValueSource
closes #2118
2020-12-22 15:34:18 -06:00
epugh@opensourceconnections.com 1b67ed9516 fix typos 2020-12-22 15:23:42 -05:00
Kevin Risden f0b73fdc6d
SOLR-14951: Upgrade Angular JS 1.7.9 to 1.8.0
Closes PR #2008
2020-12-22 11:18:44 -06:00
Dawid Weiss 39a39d7bce Remove accidentally checked-in local files. 2020-12-22 15:59:18 +01:00
Michael Sokolov e1cd426bce
LUCENE-9644: diversity heuristic for HNSW graph neighbor selection (#2157)
* Additional options to KnnGraphTester to support benchmarking with ann-benchmarks
 * switch to parallel array-based storage in HnswGraph (was using LongHeap)
2020-12-22 09:48:24 -05:00
Jason Gerlowski 8b272a0960
SOLR-15049: Add TopLevelJoinQuery optimization for 'self-joins' (#2146) 2020-12-22 08:32:52 -05:00
Mike McCandless d905a7ba8e LUCENE-9617: move CHANGES.txt entry to right place (9.0 -> 8.8.0) 2020-12-18 16:45:11 -05:00
msfroh 8e162e2670
LUCENE-9617: Reset lowestUnassignedFieldNumber in FieldNumbers.clear() (#2088)
* LUCENE-9617: Reset lowestUnassignedFieldNumber in FieldNumbers.clear()

FieldNumbers.clear() is called from IndexWriter.deleteAll(), which is
supposed to completely reset the state of the index. This includes
clearing all known fields.

Prior to this change, it would allocate progressively higher field
numbers, which results in larger and  larger arrays for
FieldInfos.byNumber, effectively "leaking" field numbers every time
deleteAll() is called.

Co-authored-by: Michael Froh <froh@amazon.com>
2020-12-18 16:30:33 -05:00
Adrien Grand 734c533cca LUCENE-9635: Move changes to the right section. 2020-12-18 16:07:29 +01:00
gf2121 00a5637457
LUCENE-9629: Use computed masks (#2113)
Co-authored-by: 郭峰 <guofeng.my@bytedance.com>
2020-12-18 15:59:40 +01:00
yiluncui 894b6b5c88
LUCENE-9635: BM25FQuery - Mask encoded norm long value in array lookup to avoid negative norms in long documents (#2138) 2020-12-18 15:56:31 +01:00
Dawid Weiss a827aaac2b LUCENE-9570: add parial reformatting commit reference to .git-blame-ignore-revs [thanks rmuir] and add a note to git.txt aiding in making this a persistent local option. 2020-12-18 13:10:47 +01:00
Dawid Weiss 6faa4f98e0 LUCENE-9570: code reformatting [partial]. 2020-12-18 13:02:08 +01:00
Dawid Weiss 6af9cbba29 Correct double semicolon. 2020-12-17 14:18:43 +01:00
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