Commit Graph

35229 Commits

Author SHA1 Message Date
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 16104090fb.
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
Nhat Nguyen 9a17d67658
LUCENE-9935: Enable bulk merge for stored fields with index sort (#134)
This commit enables bulk-merges (i.e., raw chunk copying) for stored 
fields when index sort is enabled
2021-05-12 21:00:18 -04:00
Gus Heck ad43841daf LUCENE-9575 add missing changes entry 2021-05-12 20:47:12 -04:00
Michael Wechner a9522c7179
LUCENE-9954: README for Luke (#135) 2021-05-13 00:53:53 +09:00
Jan Høydahl 7dd7077609
LUCENE-9929 NorwegianNormalizationFilter (#84) 2021-05-12 14:31:26 +02:00
Tomoko Uchida 6ebf959502
reorganize termvectors format description (javadocs). (#130) 2021-05-09 08:45:24 +09:00
Tomoko Uchida 891b192dcf
LUCENE-9456: revise format description of TermVectorsFormat (#129) 2021-05-07 08:27:07 +09:00
Robert Muir a7a02519f0
LUCENE-9843: Remove compression option on default codec's docvalues 2021-05-06 17:07:41 -04:00
Michael Sokolov e2788336d4
LUCENE-9905: PerFieldVectorFormat (#114)
* LUCENE-9905: PerFieldVectorFormat
2021-05-06 14:09:22 -04:00
Dawid Weiss aac6581f6e
LUCENE-9915: Add generation/ checksumming task for gen_ForUtil.py (#126) 2021-05-05 22:03:06 +02:00
Chris Hostetter a6cf46dada LUCENE-9936: Add gpg signing of the tgz & zip distribution files 2021-05-04 10:20:59 -07:00
Mayya Sharipova b5a77de512
Fix failures in TestPerFieldConsistency (#125)
This test assumes that there is no merging,
and was failing when there were merges.
This fixes the test but setting NoMergePolicy for
IndexWriter.

Relates to LUCENE-9334
Relates to #11
2021-05-04 09:51:55 -04:00
Tomoko Uchida c33d211d2a
LUCENE-4198: add format description for term impacts to javadocs (#115) 2021-05-04 10:45:54 +09:00
Greg Miller 650cad19a2
LUCENE-9948: Automatically detect multi- vs. single-valued cases in LongValueFacetCounts (#122)
The public API in LongValueFacetCounts previously required the user to specify whether-or-not a field being counted should be single- or multi-valued (i.e., is it NumericDocValues or SortedNumericDocValues). Since we can detect this automatically, it seems unnecessary to ask users to specify.

Co-authored-by: Greg Miller <gmiller@amazon.com>
2021-05-03 11:18:38 -04:00
Ignacio Vera a91bde5104
LUCENE-9047: Write checksum as big endian in NRT replicator 2021-05-03 09:29:16 +02:00
Ignacio Vera b84e0c272b
LUCENE-9047: Directory API is now little endian 2021-05-03 07:49:56 +02:00
Dawid Weiss 8eb4eb2611
LUCENE-9909: add checksums of included files for some jflex generation tasks. Fix a task ordering issue with spotless. (#121)
* LUCENE-9909: Some jflex regeneration tasks should have proper dependencies and also check the checksums of included files.

* Force a dependency on low-level spotless tasks so that they're always properly ordered (hell!). Update ASCIITLD and regenerate the remaining code. Add cross-dependencies between generation tasks that take includes as input.
2021-05-02 19:17:18 +02:00