35145 Commits

Author SHA1 Message Date
Dawid Weiss
332405e7ad LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry. 2021-06-09 10:45:01 +02:00
zacharymorn
8bcaf87a83
LUCENE-9976: Fix WANDScorer assertion error (#171)
LUCENE-9976: Fix WANDScorer assertion error as (tailMaxScore >= minCompetitiveScore) && (tailSize < minShouldMatch) are valid now
2021-06-09 00:11:10 -07:00
Julie Tibshirani
d22af75686 Fix random failures in TestPerFieldVectorFormat#testMergeUsesNewFormat 2021-06-08 14:26:52 -07:00
Julie Tibshirani
300589433f Move some 9.0 changelog items to 8.x
These were backported so should appear in the later sections. This commit also
fixes some small typos.
2021-06-08 09:11:28 -07:00
Julie Tibshirani
e9339253f5
LUCENE-9905: Make sure to use configured vector format when merging (#176)
Before when creating a VectorWriter for merging, we would always load the
default implementation. So if the format was configured with parameters, they
were ignored.

This issue was caught by `TestKnnGraph#testMergeProducesSameGraph`.
2021-06-08 08:07:35 -07:00
Christine Poerschke
1ec2a715a2 Fix 8.9.0 < 8.10.0 comparison in smokeTestRelease.py script. (#2509) 2021-06-08 15:54:57 +01:00
Julie Tibshirani
84499732c1 Mute TestKnnGraph#testMergeProducesSameGraph while we prepare a fix 2021-06-07 16:50:46 -07:00
Julie Tibshirani
05ae738fc9
LUCENE-9905: Move HNSW build parameters to codec (#166)
Previously, the max connections and beam width parameters could be configured as
field type attributes. This PR moves them to be parameters on
Lucene90HnswVectorFormat, to avoid exposing details of the vector format
implementation in the API.
2021-06-07 12:51:59 -07:00
Alan Woodward
dbb4c265d5
LUCENE-8143: Remove no-op SpanBoostQuery (#155)
Boosts are ignored on inner span queries, and top-level boosts can
be applied by using a normal BoostQuery, so SpanBoostQuery
itself is redundant and trappy. This commit removes it entirely.
2021-06-07 15:56:16 +01:00
Greg Miller
428d2d99d7
Fix typo in CHANGES.txt (#169) 2021-06-05 07:14:01 -07:00
Greg Miller
4404b19142
LUCENE-9991: Address bug in TestStringValueFacetCounts (#168) 2021-06-04 14:40:07 -07:00
Jan Høydahl
d47b75395c
LUCENE-9985 Upgrade Jetty to 9.4.41 (#165) 2021-06-04 09:41:35 +02:00
Greg Miller
7a7003c51c
LUCENE-9988: Fix DrillSideways bug discovered in randomized testing (#167) 2021-06-03 15:03:09 -07:00
Chris Hostetter
efb7b2a5e8 LUCENE-9970: Add TooManyNestedClauses extends TooManyClauses so that IndexSearcher.rewrite can distinguish hos maxClauseCount is exceeded
This is an extension of the work done in LUCENE-8811 which added the two types of checks
2021-06-03 12:46:53 -07:00
Naoto MINAMI
89034ad8cf
LUCENE-9823: Prevent unsafe rewrites for SynonymQuery and CombinedFieldQuery. (#160)
Before, rewriting could slightly change the scoring when weights were
specified. We now rewrite less aggressively to avoid changing the query's
behavior.
2021-06-02 17:28:51 -07:00
Julie Tibshirani
eecd1971fa
LUCENE-9905: Allow Lucene90Codec to be configured with a per-field vector format (#164)
Previously only AssertingCodec could handle a per-field vector format. This PR
also strengthens the checks in TestPerFieldVectorFormat.
2021-06-02 08:43:54 -07:00
Greg Miller
8b60641bca
LUCENE-9944: Allow DrillSideways users to pass a CollectorManager without requiring an ExecutorService (and concurrent DrillSideways approach). (#142) 2021-06-02 06:27:48 -07:00
Greg Miller
3c7a76a148
LUCENE-9962: Allow DrillSideways sub-classes to provide their own "drill down" facet counting implementation (or null). (#143) 2021-06-01 12:25:34 -07:00
Mike McCandless
c4cf7aa3e1 LUCENE-9981: more efficient getCommonSuffix/Prefix, and more accurate 'effort limit', instead of precise output state limit, during determinize, for throwing TooComplexToDeterminizeException 2021-06-01 13:58:47 -04:00
Gautam Worah
27b009c5d0
LUCENE-9956: Make getBaseQuery, getDrillDownQueries API from DrillDownQuery public (#138)
Co-authored-by: Gautam Worah <gauworah@amazon.com>
2021-06-01 09:54:18 -07:00
Nhat Nguyen
c46bcf75cc
LUCENE-9980: Do not expose deleted commits (#158)
If we fail to delete files that belong to a commit point, then we will 
expose that deleted commit in the next calls of IndexDeletionPolicy#onCommit.
I think we should never expose those deleted commit points as 
some of their files might have been deleted already.
2021-05-31 11:03:48 -04:00
Greg Miller
d76dd6454e
Add CHANGES.txt entry for LUCENE-9971 (#161) 2021-05-31 06:24:56 -07:00
Alexander Lukyanchikov
65842c5c4d
LUCENE-9971: Inconsistent SSDVFF and Taxonomy facet behavior in case of unseen dimension (#149) 2021-05-31 05:58:30 -07:00
Greg Miller
d669ddebc5
LUCENE-9946: Support multi-value fields in range facet counting (#127) 2021-05-30 19:46:11 -07:00
Jan Høydahl
5fdff6eabb
LUCENE-9589 Swedish Minimal Stemmer (#136) 2021-05-28 14:20:11 +02:00
Dawid Weiss
0a316b2495
LUCENE-9975: don't require signing of 'unsignedJars' publication (maven artifacts published to the user's maven local repository, build folder and apache nexus). (#156) 2021-05-28 11:51:28 +02:00
Tomoko Uchida
2160d7239d Revert "LUCENE-9448: clean up unused start scripts for luke."
This reverts commit 16104090fb0a6ebfca946635a2587419e6d8e466.
2021-05-27 19:22:29 +09:00
Alan Woodward
1e7d8146ff
LUCENE-9454: Remove version field on Analyzer (#154)
Version switching on Analyzer behaviour should be implemented
in the various component factories, rather than on a mutable
setting on Analyzer itself.
2021-05-26 17:34:01 +01:00
Tomoko Uchida
16104090fb LUCENE-9448: clean up unused start scripts for luke. 2021-05-26 23:32:52 +09:00
Alan Woodward
4464cd87cc
LUCENE 9204: Move SpanQuery and subclasses to the queries module (#152) 2021-05-26 10:12:14 +01:00
Dawid Weiss
5912e65434
LUCENE-9974: The test-framework module should apply the test ruleset for forbidden APIs. (#153) 2021-05-26 10:19:55 +02:00
Alan Woodward
93844d3846
LUCENE-9204: Move helper methods from TestMatchesIterator into a base class (#151)
TestMatchesIterator lives in core/tests and does various sanity checks
on the matches returned by various queries, including Span queries.
The Span-specific tests cannot stay here once Spans have been moved
out of core. This commit pulls various helper methods from this class
into a base class in the test framework, so that we can move the
Spans tests into their own class and keep coverage once things have
been migrated.
2021-05-25 14:16:05 +01:00
Alan Woodward
4b55ae5de4
LUCENE-9204: Remove Spans references from DisiWrapper (#150)
We have a number of helper classes in o.a.l.search that aid the
implementation of two-phase iteration over disjunctions. These have
some Spans-specific code, which will stop compiling once Spans
are moved into the queries module. This commit removes the
Spans references from the main code and duplicates the helper
code within the Spans package.
2021-05-25 14:14:47 +01:00
Alan Woodward
5e0e7a5479
LUCENE-9204: Make ConjunctionDISI package-private and add ConjunctionUtils factory class (#148)
ConjunctionDISI is really an internal implementation of DocIdSetIterator,
and would ideally be package-private. However, it is used in a few
other places:
* directly in ConjunctionSpans
* as a utility in the facet and join modules

This commit adds a public helper class ConjunctionUtils that allows easy
intersection of iterators for use by other modules. This means that
ConjunctionDISI itself can become package-private. It also removes
a reference to Spans from core classes, which will make it easier to
migrate Spans to the queries module.  ConjuctionSpans and
ConjunctionIntervalIterator now use the public Utils class, and intervals
no longer need their own ConjunctionDISI implementation.
2021-05-25 12:07:20 +01:00
Mike McCandless
654e978190 LUCENE-9967: don't throw NullPointerException while handling a different root-cause exception in ReplicaNode.start 2021-05-24 10:51:26 -04:00
Dawid Weiss
f7fbb9eda5 Add a small clarification about the required Java version for gradle. 2021-05-24 09:59:54 +02:00
Nhat Nguyen
a12260eb95
LUCENE-9827: Update backward codec in Lucene 9.0 (#147)
We need to update the reading logic of the backward codec in Lucene 9 
for LUCENE-9827 and LUCENE-9935 as we have backported them to Lucene 8.

Relates apache/lucene-solr#2495
Relates apache/lucene-solr#2494
2021-05-20 08:49:43 -04:00
Houston Putman
f919672647 LUCENE-9936: Add Gpg Signing help info to gradle help command 2021-05-19 10:43:31 -05:00
Greg Miller
693b6d3e34
move changes entry for backport to 8.9 (#145)
Co-authored-by: Greg Miller <gmiller@amazon.com>
2021-05-19 07:04:23 -04:00
Greg Miller
65820e5170
LUCENE-9953: Make FacetResult#value accurate for LongValueFacetCounts multi-value doc cases (#131)
Co-authored-by: Greg Miller <gmiller@amazon.com>
2021-05-18 12:37:53 -04:00
Greg Miller
ade50f0796
LUCENE-9950: New facet counting implementation for general string doc value fields (#133)
Co-authored-by: Greg Miller <gmiller@amazon.com>
2021-05-18 10:28:00 -04:00
Dawid Weiss
ba9fee502b
LUCENE-9960: Avoid unnecessary top element replacement for equal elements in PriorityQueue. (#141) 2021-05-18 08:49:53 +02:00
Nhat Nguyen
406aef8a4b LUCENE-9935: Fix testRandomStoredFieldsWithIndexSort
Skip verifying if the list of live ids is empty
2021-05-16 18:00:04 -04:00
Nhat Nguyen
eaaf13aa86 LUCENE-9935: Move CHANGES entry from 9.0 to 8.9 2021-05-16 16:54:12 -04:00
Dawid Weiss
0d05b21314
lucene/benchmarks: correct micro-standard.alg. (#71) 2021-05-14 11:07:25 -04:00
Adrien Grand
8045a170f4 LUCENE-9932: Spotless. 2021-05-14 13:58:42 +02:00
Adrien Grand
2c04ab5835 LUCENE-9958: Fixed performance regression for boolean queries that configure a minimum number of matching clauses. 2021-05-14 13:55:12 +02:00
Adrien Grand
8e94a591d8 LUCENE-9932: Fix test bug. 2021-05-14 09:51:12 +02:00
neoReMinD
fd4b3c81d5
LUCENE-9932: Performance improvement for BKD index building (#91) 2021-05-14 09:33:43 +02:00
Robert Muir
f215a55bc9
LUCENE-9827: move CHANGES.txt entry from 9.0 to 8.9 2021-05-13 12:37:58 -04:00