Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1721 commits
Select commit Hold shift + click to select a range
adf3d83
Advoid the use of ImpactsDISI when no minimum competitive score has b…
zhongshanhao May 10, 2024
3a4e4e3
Fix default flat vector scorer supplier sharing backing array (#13355)
ChrisHegarty May 10, 2024
fd98698
Ensure negative scores aren not returned from scalar quantization sco…
benwtrent May 13, 2024
8580d50
Fix vector scorer interface consistency (#13365)
benwtrent May 13, 2024
42884fa
Backport to 9x: Reduce duplication in taxonomy facets; always do coun…
stefanvodita May 14, 2024
3fa2ddc
Reduce memory usage of field maps in FieldInfos and BlockTree TermsRe…
bruno-roustant May 13, 2024
d2ea004
Call ArrayUtil.copyArray instead of ArrayUtil.copySubArray for full a…
bruno-roustant May 14, 2024
2cdf041
Protect against nan & inf values in quantizer and test with tiny vect…
benwtrent May 14, 2024
3cf2424
Performance improvements to use RWLock to access LRUQueryCache (#13306)
boicehuang May 10, 2024
b1470b9
Remove unnecessary bit conversion for IndexSorter (#13320)
bugmakerrrrrr May 14, 2024
a6d76fc
Add sub query explanations in DisjunctionMaxQuery#explain on no-match…
timgrein May 14, 2024
a30d728
Fix weird NRT bug #13353 (#13369)
benwtrent May 15, 2024
42608bc
Fix points writing with no values (#13378)
ChrisHegarty May 16, 2024
91f45b5
Fix bug in SQ when just a single vector present in a segment (#13374)
ChrisHegarty May 16, 2024
a241223
lucene-monitor: make TermFilteredPresearcher.ANYTOKEN[_FIELD] public …
cpoerschke May 17, 2024
7aaba93
Fix IntegerOverflow exception in postings encoding as group-varint (#…
easyice May 17, 2024
5e48fdd
Fix TestHnswByteVectorGraph.testSortedAndUnsortedIndicesReturnSameRes…
timgrein May 17, 2024
26fca9e
Make IntervalBuilder.NO_INTERVALS public (#13385)
expani May 20, 2024
f1398ce
Add Intervals.noIntervals() method (#13389)
romseygeek May 21, 2024
d333dee
Fix max score computation in BlockMaxConjunctionBulkScorer. (#13397)
jpountz May 21, 2024
e913d5a
[9.x] Add a MemorySegment Vector scorer - for scoring without copying…
ChrisHegarty May 21, 2024
f07038d
Replace Map<Integer, Object> by primitive IntObjectHashMap. (#13368)
bruno-roustant May 18, 2024
816db79
Replace Map<Long, Object> by primitive LongObjectHashMap. (#13392)
bruno-roustant May 21, 2024
4a7e933
Replace Set<Integer> by IntHashSet and Set<Long> by LongHashSet (#13400)
bruno-roustant May 23, 2024
1c9fc15
UnifiedHighlighter: new passageSortComparator option (#13276)
Seunghan-Jung May 23, 2024
72fc03a
Remove unchecked Scorable -> Scorer cast in lucene/monitor. (#13405)
jpountz May 24, 2024
cc0fc85
lucene-monitor: replace wildcard imports (#13413)
cpoerschke May 24, 2024
082bcbb
lucene-monitor: remove now-unused Scorable in QueryIndex.DataValues (…
cpoerschke May 24, 2024
7f722d0
gradlew: no "--source 11" (#13404)
dsmiley May 24, 2024
a8def94
Replace List<Integer> by IntArrayList and List<Long> by LongArrayList…
bruno-roustant May 25, 2024
6f77493
Replace Map<Character> by CharObjectHashMap and Set<Character> by Cha…
bruno-roustant May 27, 2024
0ba07db
Remove the HPPC dependency from all modules and move the HPPC fork to…
bruno-roustant May 27, 2024
338f47b
MemorySegment scorer should ensure that the values is of the correct …
ChrisHegarty May 27, 2024
8d7bf86
Add support for reloading the SPI for KnnVectorsFormat class (#13394)
navneet1v May 27, 2024
4be6531
Fix duplicate values in org.apache.lucene.analysis.ko.dict.UserDictio…
ChrisHegarty May 27, 2024
273b146
Remove incorrect/expensive use of ServiceLoader for choosing random f…
uschindler May 27, 2024
7452d03
fix compilation
uschindler May 27, 2024
67d80db
adapt for Java 11
uschindler May 27, 2024
194c353
Hunspell: speed up "compress"; minimize the number of the generated e…
donnerpeter May 28, 2024
1f02f96
Fixes failing test case for TestOrdinalMap.testRamBytesUsed (#13421)
pseudo-nymous May 28, 2024
0930207
Allow users to retrieve counts from taxo association facets (#13414)
stefanvodita May 29, 2024
b2fb033
Add next minor version 9.12.0
benwtrent May 29, 2024
c5ea94f
Fix TestIndexWriterOnError.testIOError failure. (#13436)
jpountz May 29, 2024
1e660ee
SimpleText[Float|Byte]VectorValues::scorer should return null when th…
ChrisHegarty May 31, 2024
84ff736
Add new dynamic confidence interval configuration to scalar quantized…
benwtrent Jun 1, 2024
d965981
Fix test failure on TestPoint#testEqualsAndHashCode (#13433)
easyice Jun 3, 2024
bff14fb
mention KnnVectorsFormat in o.a.l.codecs package javadocs
Jun 3, 2024
e8801bf
Avoid unnecessary memory allocation in PackedLongValues#Iterator (#13…
easyice Jun 4, 2024
2ed1f2f
Rewrite newSlowRangeQuery to MatchNoDocsQuery when upper > lower (#13…
ioanatia Jun 4, 2024
b19ac01
Implement Weight#count for vector values in the FieldExistsQuery (#13…
bugmakerrrrrr Jun 5, 2024
586d489
Update Gradle wrapper to 8.8 - supports Java 22 (#13453)
ChrisHegarty Jun 6, 2024
7cc07a7
Update WrapperDownloader to accept java 22 and correct deprecated new…
dweiss Jun 6, 2024
4bb4e85
Add a github workflow that checks common (and less common) gradle tas…
dweiss Jun 6, 2024
8fda92e
Backport gh workflow cleanups to branch_9x #13461
dweiss Jun 6, 2024
a72de3f
DOAP changes for release 9.11.0
benwtrent Jun 6, 2024
d089cd6
Backport generation-compilation ordering fixes from #13282.
dweiss Jun 6, 2024
07d6df2
Add back-compat indices for 9.11.0
benwtrent Jun 6, 2024
97d0a3f
MultiTermQuery return null for ScoreSupplier (#13454)
mayya-sharipova Jun 6, 2024
100b2f7
Fix bug for MultiTermQuery return null for ScoreSupplier
mayya-sharipova Jun 6, 2024
7c37312
Add test for ghost fields to BaseKnnVectorQueryTestCase. (#13455)
jpountz Jun 6, 2024
39df952
Reduce the heap use of BKDReader instances (#13464)
original-brownbear Jun 7, 2024
863e2c6
Add int8_hnsw backcompat index creawtion to dev tools scripts (#13465)
benwtrent Jun 7, 2024
a22a1c9
Add new test case "testGetLines" for lucene/core/analysis/WordlistLoa…
hack4chang Jun 10, 2024
ef491d9
Fix typo in StringValueFacetCountsExample.java (#13474)
paulk-asert Jun 10, 2024
4608b67
Fix typo in SimpleSortedSetFacetsExample.java
stefanvodita Jun 10, 2024
5f77409
Silence odd test runner warnings after gradle upgrade (backport of #1…
dweiss Jun 10, 2024
3cce850
Replace TreeMap and use compiled Patterns in Japanese UserDictionary.…
bruno-roustant Jun 11, 2024
c6e604f
Adjust assertion check to not throw an NPE (#13479)
benwtrent Jun 11, 2024
c45616a
Mark COSINE VectorSimilarity function as deprecated (#13473)
Pulkitg64 Jun 11, 2024
bae68cc
gh-13340: Allow adding a parent field to an index with no fields (#13…
msokolov Jun 13, 2024
68e175c
Don't preserve auxiliary buffer contents in LSBRadixSorter if it grow…
stefanvodita Jun 15, 2024
719a7b7
Expose FlatVectorsFormat (#13469)
msokolov Jun 13, 2024
f491ca5
CHANGES entry for FlatVectorsFormat
Jun 17, 2024
c896995
remove redundant interface declaration
Jun 17, 2024
a8ef9e1
Avoid performance regression by constructing lazily the PointTree in …
iverase Jun 18, 2024
6a5fd8b
Fix global score update bug in MultiLeafKnnCollector (#13463)
gsmiller Jun 19, 2024
5c30106
Use getAndSet, getAndClear instead split operations. (#13507)
vsop-479 Jun 19, 2024
14a2dae
Fix IndexOutOfBoundsException thrown in DefaultPassageFormatter by un…
scampi Jun 20, 2024
7c6e629
Fix NPE in StringValueFacetCounts over empty match-set (#13494)
shuttie Jun 21, 2024
a52a851
Prevent DefaultPassageFormatter from taking shorter overlapping passa…
zkendall Jun 21, 2024
473b29d
Reduce memory use of MinimizationOperations#minimize (#13511)
original-brownbear Jun 25, 2024
c229bb8
DOAP changes for release 9.11.1
iverase Jun 27, 2024
68f5102
Add bugfix version 9.11.1
iverase Jun 27, 2024
8e96b18
spotless
iverase Jun 27, 2024
7a0c5b9
Sync CHANGES for 9.11.1
iverase Jun 27, 2024
847316d
Add back-compat indices for 9.11.1
iverase Jun 27, 2024
82b3f8e
Reduce overhead for FSTs in FieldReader (#13524)
original-brownbear Jun 27, 2024
e8bf83f
Add bw tests for block-tree with inlined metadata. (#13527)
jpountz Jun 28, 2024
030f15f
BaseVectorSimilarityQueryTestCase assumes connected hnsw graph (#13260)
msokolov Apr 4, 2024
689b9a5
Correct code for #13260 backport
benwtrent Jun 29, 2024
6304105
Fix more vector similarity query tests (#13530)
benwtrent Jun 29, 2024
dce6cd0
Remove unused segNo calculation in IndexWriter.doFlush (#13491)
vsop-479 Jul 1, 2024
e40d5c5
[Abstract]Knn[Byte|Float]VectorQuery tweaks: reduce duplicate method …
cpoerschke Jul 1, 2024
48816b4
Lucene99HnswVectorsReader.search float-vs-byte variants: reduce code …
cpoerschke Jul 1, 2024
e78f237
TaskExecutor should not fork unnecessarily (#13472)
javanna Jul 4, 2024
8c31441
Replace AtomicLong with LongAdder in HitsThresholdChecker (#13546)
original-brownbear Jul 8, 2024
ab51924
Optimize MaxScoreBulkScorer (#13544)
original-brownbear Jul 8, 2024
35de1ea
Override single byte writes to OutputStreamIndexOutput to remove lock…
original-brownbear Jul 8, 2024
c8b4a76
Improve VectorUtil::xorBitCount perf on ARM (#13545)
ChrisHegarty Jul 8, 2024
2c2f7cc
Refactor and javadoc update for KNN vector writer classes (#13548)
zhaih Jul 8, 2024
86d080a
Revert accidentally added file during cherry-pick/merge from main bra…
uschindler Jul 8, 2024
558faa0
Add link to OpenJDK JIRA issue for VectorUtil::xorBitCount
ChrisHegarty Jul 9, 2024
9db214e
Fix quantized vector writer ram estimates (#13553)
benwtrent Jul 9, 2024
1b200df
Lookup next when current doc is deleted in PerThreadPKLookup.lookup (…
vsop-479 Jul 10, 2024
b175c90
GITHUB#13175: Stop double-checking priority queue inserts in some Fac…
slow-J Jul 9, 2024
fb6564c
[9.x] Use a confined Arena for IOContext.READONCE (#13535) (#13560)
ChrisHegarty Jul 10, 2024
f16b523
Minor cleanup in some Facet tests (#13489)
slow-J Jul 10, 2024
869eefd
Reduce heap usage for knn index writers (#13538)
benwtrent Jul 10, 2024
c7f4ce6
Merge remote-tracking branch 'upstream/branch_9x' into branch_9x
benwtrent Jul 10, 2024
3eadfe6
WordBreakSpellChecker.suggestWordBreaks now does a breadth first sear…
hossman Jul 10, 2024
9695bfe
Lucene99HnswVectorsReader[.readFields] readability tweaks (#13532)
cpoerschke Jul 12, 2024
26f2ad7
in KnnVectorsWriter reduce code duplication w.r.t. MergedVectorValues…
cpoerschke Jul 12, 2024
c2327f5
Add IntervalsSource for range and regexp queries (#13569)
mayya-sharipova Jul 15, 2024
3ee3769
Add target search concurrency to TieredMergePolicy (#13430)
carlosdelest Jul 17, 2024
b2d3a2b
[9.x] Ensure to use IOContext.READONCE when reading segment files (#1…
ChrisHegarty Jul 17, 2024
3c3e6c5
Stop requiring MaxScoreBulkScorer's outer window from having at least…
jpountz Jul 18, 2024
bbcd65f
Add a `targetSearchConcurrency` parameter to `LogMergePolicy`. (#13517)
jpountz Jul 18, 2024
b83bbdd
Avoid wrap readers without soft-deletes (#13588) (#13590)
dnhatn Jul 19, 2024
c23f6c0
Refactor FST.saveMetadata() to FSTMetadata.save() (#13549)
dungba88 Jul 22, 2024
fec6abc
Update TestTopDocsCollector to no longer rely on the deprecated searc…
javanna Jul 24, 2024
9d663c5
Update TestTopDocsMerge to not rely on search(Query, Collector) (#13601)
javanna Jul 24, 2024
77b7623
Fix test failure
jpountz Jul 19, 2024
6beebfb
Further reduce the search concurrency overhead. (#13606)
jpountz Jul 24, 2024
6712823
[9.x] Do not randomize readOnce contexts (#13607)
ChrisHegarty Jul 24, 2024
7b47c8a
Save allocating some zero length byte arrays (#13608)
original-brownbear Jul 24, 2024
7edd646
hunspell: add Suggester#proceedPastRep to avoid losing relevant sugge…
donnerpeter Jul 27, 2024
539274f
Introduce IndexSearcher#searchLeaf(LeafReaderContext, Weight, Collect…
javanna Jul 30, 2024
24de36c
Bump the window size of disjunction from 2,048 to 4,096. (#13605)
jpountz Jul 25, 2024
59b7c28
Inline skip data into postings lists (#13585)
jpountz Jul 31, 2024
e58509b
Wrap Executor in TaskExecutor to never reject (#13622)
original-brownbear Jul 31, 2024
ca1b269
Deduplicate bytes for `FieldReader#rootCode` (#13610)
original-brownbear Jul 31, 2024
26a246b
Fix comments containing 'the this' (#13624)
slow-J Jul 31, 2024
d1c32c1
Deduplicate min and max term in single-term FieldReader (#13618)
original-brownbear Jul 31, 2024
6f48d74
Don't clone an IndexInput if postings are inlined in the terms dict (…
jpountz Aug 1, 2024
adc2361
Fix lazy decoding of freqs. (#13585)
jpountz Aug 1, 2024
2584af1
HnswLock: access locks via hash and only use for concurrent indexing …
msokolov Aug 1, 2024
4a93020
Add CHANGES entry for GH-13581
Aug 1, 2024
fc9a53d
SparseFixedBitSet#firstDoc: reduce number of `indices` iterations for…
epotyom Aug 1, 2024
9f80b9e
Revert cosine deprecation (#13613)
benwtrent Aug 1, 2024
e83c1d4
Remove some BitSet#nextSetBit code duplication (#13625)
gsmiller Aug 2, 2024
6a61e14
Fix testAddDocumentOnDiskFull to handle IllegalStateException from In…
easyice Aug 2, 2024
65be22a
Rename prefix to prefixLength, suffix to suffixLength. (#13629)
vsop-479 Aug 2, 2024
69e08e4
Fix ScalarQuantization when used with COSINE similarity (#13615)
benwtrent Aug 5, 2024
7c37a94
Add missing test for Lucene912PostingsFormat.
jpountz Aug 6, 2024
0fa473a
Tidy.
jpountz Aug 6, 2024
38201ba
Add float|byte vector support to memory index (#13633)
benwtrent Aug 7, 2024
a546ed5
Fix race condition on flush for DWPT seqNo generation (#13627)
benwtrent Aug 7, 2024
98fbbe2
gh-12627: HnswGraphBuilder connects disconnected HNSW graph component…
msokolov Aug 8, 2024
2a8d10a
Knn(Float-->Byte)VectorField javadocs update in KnnByteVectorQuery (#…
cpoerschke Aug 9, 2024
f02e1ce
Get better cost estimate on MultiTermQuery over few terms (#13201)
msfroh Aug 9, 2024
ef28015
Minor offset tracking tweak in PointRangeQuery #matches and #relate (…
jainankitk Aug 9, 2024
a8c0ba2
Two fixes for recently-added HnswGraphBuilder.connectComponents:
Aug 10, 2024
1d2bb52
Mark some fields final in Lucene99SkipWriter (#13639)
mrhbj Aug 12, 2024
f68e740
Sandbox: Compute facets while collecting (#13568)
gsmiller Aug 12, 2024
9bfa91e
Avoid rare random test failures in TestLongValueFacetCounts
Aug 12, 2024
35fc501
gh-13640: Connect hnsw graph components when flushing (#13648)
msokolov Aug 13, 2024
adbbd23
Call HnswGraphBuilder.getCompletedGraph() in 94/95 back-compat writers
Aug 14, 2024
9f42713
gh-13653: Call finish() from HnswGraphBuilder.build() (#13655)
msokolov Aug 14, 2024
ec2492f
Compare the missing value with the top value even after the hit queue…
bugmakerrrrrr Aug 14, 2024
4a0a09a
Revert changes to IndexSearcher brought in by GH#13568 (#13656)
gsmiller Aug 14, 2024
23a8d65
Optimize decoding blocks of postings using the vector API. (#13636) (…
jpountz Aug 16, 2024
b26b07b
Simplify FSTCompiler loop (#13663)
mrhbj Aug 16, 2024
a9a70fa
Speed up prefix sums when decoding doc IDs. (#13658)
jpountz Aug 16, 2024
25253a1
Only attempt to connect components when entry point is valid (#13660)
benwtrent Aug 19, 2024
fc011d3
Release memory for cancelled tasks earlier in TaskExecutor (#13609)
original-brownbear Aug 21, 2024
b5c410d
Support JDK 23 in Panama Vectorization Provider (#13678)
ChrisHegarty Aug 22, 2024
83df2ff
[9.x] Aggregate files from the same segment into a single Arena (#13682)
ChrisHegarty Aug 23, 2024
4d8ac2b
Use Max WAND optimizations with ToParentBlockJoinQuery when using Sco…
Mikep86 Aug 26, 2024
3be89ea
Fixed exponent value in explain of SigmoidFunction (#13691)
owaiskazi19 Aug 27, 2024
105eb92
Remove mention of SolrNamedThreadFactory (#13690)
stefanvodita Aug 28, 2024
256d6a2
adding a few toString methods for HNSW scoring classes (#13694)
mikemccand Aug 28, 2024
36fd689
Speed up advancing within a block. (#13692)
jpountz Aug 28, 2024
f23711a
Fix Gradle build sometimes gives spurious "unreferenced license file"…
uschindler Aug 28, 2024
09dd985
Fix integer overflow in GeoEncodingUtils#Grid implementations (#13704)
iverase Sep 2, 2024
3dc13d4
Remove CollectorOwner class (#13702)
gsmiller Sep 4, 2024
56468ea
Reduce size of queue in TestBoolean2#testRandomQueries (#13713)
javanna Sep 4, 2024
b4b153f
clean up forbidden-apis
rmuir Sep 5, 2024
bcd6831
Clean up forbiddenapis: No need to serialize and deserialize the pack…
uschindler Sep 5, 2024
23b0dcd
Remove useless Serializable interface
uschindler Sep 5, 2024
7d89ea7
Follow-up to GH#13702 that ensures we retain pre-existing (but strang…
gsmiller Sep 5, 2024
40c4e58
Dry up TestScorerPerf (#13712)
javanna Sep 5, 2024
2a87e42
Upgrade to gradle 8.10 (branch 9x, backport of #13700) (#13729)
dweiss Sep 6, 2024
d0ee23f
jgit/ clean status check should ignore any 'untracked folders' (#13728)
dweiss Sep 6, 2024
f550856
Remove leftover search(Query, Collector) usages in TestTaxonomyFacetA…
javanna Sep 6, 2024
ef5d0f2
[TEST] Disable concurrency in TestTaxonomyFacetAssociations#testFloat…
javanna Sep 6, 2024
04d0170
Deprecate FacetsCollector#search utility methods (#13737)
javanna Sep 7, 2024
371fa57
Fixup javadoc for new FacetsCollectorManager static search methods
Sep 6, 2024
ce23e15
Propagate keepScores to reduced FacetsCollector (#13744)
javanna Sep 9, 2024
59ab997
Add dynamic range facets (#13689)
stefanvodita Sep 10, 2024
a3fa283
Reorder checks in LRUQueryCache#count (#13742)
shubhamvishu Sep 10, 2024
f1606c0
Replace Map<String,Object> with IntObjectHashMap for DV producer (#13…
bugmakerrrrrr Sep 10, 2024
7964682
Remove redundant initialisation in DynamicRangeUtil
stefanvodita Sep 10, 2024
c94577c
Modernize switch statements in FST (#13756)
mrhbj Sep 11, 2024
1026f55
Revert "Modernize switch statements in FST (#13756)"
jpountz Sep 11, 2024
5c9ed9d
DrillSideways#search: use bounded wildcard for the list of drill-side…
epotyom Sep 11, 2024
ad09777
This commit adds a new test CMS that always provides intra-merge para…
benwtrent Sep 11, 2024
b08252b
Remove usage of IndexSearcher#Search(Query, Collector) from monitor p…
gsmiller Sep 11, 2024
4d379db
Back-port Add Bulk Scorer For ToParentBlockJoinQuery (#13697) to 9.x …
Mikep86 Sep 11, 2024
ab262f9
Unify how missing field entries are handle in knn formats (#13641)
benwtrent Sep 11, 2024
1c1058c
PayloadScoreQuery javadoc update w.r.t. SpanQuery use (#13731)
cpoerschke Sep 12, 2024
35b219a
Address length used to copy array in FacetsCollector to not be out of…
javanna Sep 12, 2024
a2290ec
Integrate merge-time index reordering with the intra-merge executor. …
jpountz Sep 12, 2024
2690e4d
Introduce ProfilerCollectorManager (#13746)
javanna Sep 12, 2024
6cc4f13
Lower number of hits in TestLargeNumHitsTopDocsCollector (#13775)
javanna Sep 12, 2024
1b38d5d
similarities: provide default computeNorm implementation; remove rema…
cpoerschke Sep 13, 2024
b7fd00c
Add unit-of-least-precision float comparison (#13723)
stefanvodita Sep 14, 2024
9cd6a24
Reduce number of calculations in FSTCompiler (#13788)
mrhbj Sep 14, 2024
34808b5
Remove 8 bit quantization for HNSW/KNN vector indexing (it is buggy t…
mikemccand Sep 15, 2024
a774a99
#13767: fix test failure: compress can only be true when quantized bi…
mikemccand Sep 15, 2024
e7b8ea0
Revert "Speed up advancing within a block. (#13692)"
jpountz Sep 16, 2024
f47cd27
Deprecate BulkScorer#score(LeafReaderContext, Bits) (#13794)
javanna Sep 16, 2024
cd7a74c
Fix Flaky Test In TestBlockJoinBulkScorer (#13785)
Mikep86 Sep 16, 2024
669fa57
Remove CollectorManager#forSequentialExecution (#13790)
javanna Sep 17, 2024
fef2560
add RawTFSimilarity class (#13749)
cpoerschke Sep 17, 2024
71ca6b4
Cleanup redundant allocations and code around Comparator use (#13795)
original-brownbear Sep 17, 2024
b467a2b
Disable intra-merge parallelism for all structures but kNN vectors (#…
benwtrent Sep 18, 2024
a7ce346
Add BytesRefIterator to TermInSetQuery (#13806)
cbuescher Sep 19, 2024
dfc454c
Revert "Replace Map<String,Object> with IntObjectHashMap for DV produ…
ChrisHegarty Sep 20, 2024
ca16bb8
Improve testing of mismatched field numbers. (#13812)
jpountz Sep 20, 2024
7a3ee19
Also fix formats that are only tested nightly.
jpountz Sep 20, 2024
f9cb943
Test fix: make float vector dims even for SQ testing
ChrisHegarty Sep 20, 2024
fb158fa
Add support and compat testing for 8.11.4 (#13823)
ChrisHegarty Sep 25, 2024
e913796
Add RDF entries for 8.11.4
ChrisHegarty Sep 25, 2024
0ab80a0
DOAP changes for release 9.12.0
ChrisHegarty Sep 28, 2024
f59da3d
Add next bugfix version 9.12.1
ChrisHegarty Sep 28, 2024
64c3eaa
Add back-compat indices for 9.12.0
ChrisHegarty Sep 28, 2024
2da5a86
Add changes entries for CVE-2024-45772 and related commits
uschindler Sep 30, 2024
458b61e
Fix 9.12.0 backcompat break (Lucene 9.12.0 cannot read 9.11.x indices…
mikemccand Oct 9, 2024
f50563c
Update year in copyright
javanna Oct 14, 2024
5a2c288
Fix ord-to-doc mapping when searching Lucene 9.0.0 hnsw indices (#13947)
benwtrent Oct 24, 2024
03cd5b4
#13867: add CHANGES entry to explain the backwards compatibility bug …
mikemccand Oct 31, 2024
907e3b4
Tessellator: Improve logic when two holes share the same vertex with …
iverase Nov 11, 2024
9c521a5
Allow easier verification of the Panama Vectorization provider with n…
ChrisHegarty Nov 14, 2024
ecb2587
PR 13757 follow-up: add missing with-discountOverlaps Similarity cons…
cpoerschke Nov 15, 2024
0ceffa9
Taxonomy counts are incorrect due to ordinal sorting (#14008) (#14010)
paulk-asert Nov 23, 2024
c443cc9
Make SegmentInfos#readCommit(Directory, String, int) public (#14027)
javanna Dec 2, 2024
7a97a05
Add missing 10.0.0 doap entry
ChrisHegarty Dec 9, 2024
edb3409
DOAP changes for release 9.12.1
ChrisHegarty Dec 13, 2024
9d9d32c
Add next bugfix version 9.12.2
ChrisHegarty Dec 13, 2024
6ca54fe
Align TestGenerateBwcIndices.java with AddBackcompatindices.py (#13911)
javanna Oct 15, 2024
d151e4a
Add back-compat indices for 9.12.1
ChrisHegarty Dec 13, 2024
ca5d908
Fix flaky test in TestMergeSchedulerExternal #13547 (#14562)
dweiss Apr 28, 2025
1db5b6a
Fix IndexSortSortedNumericDocValuesRangeQuery for int sort (#14732) (…
mayya-sharipova May 30, 2025
2b37f00
Override ValueSource.FromDoubleValuesSource.getSortField (#14654)
dsmiley May 17, 2025
4909893
Reduce NeighborArray heap memory (#14527)
weizijun May 27, 2025
b937611
Improve hnsw on heap ram est (#14765)
benwtrent Jun 11, 2025
9ea7965
Moving GITHUB#14732 changelog to appropriate bugfix version
benwtrent Jun 12, 2025
010a639
Disable HNSW connectedComponents (#14214) (#14436)
benwtrent Apr 3, 2025
5a26234
Add missing doap entries: 10.1.0, 10.2.0, 10.2.1
ChrisHegarty Jun 17, 2025
f066246
Making Vector Search Deterministic
Oct 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
8ef6a0da56878177ff8d6880c92e8f7d0321d076
7f8b7ffbcad2265b047a5e2195f76cc924028063
2cbf261032dc8aca56c846971c090c991ac594a6
# GITHUB#12655 Regen after google java formatter upgrade
e59c607daf98bd0e0faf259ac9c9cf2e3cff5807
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Ignore all differences in line endings for the lock file.
versions.lock text eol=lf
versions.props text eol=lf

# Gradle files are always in LF.
*.gradle text eol=lf
29 changes: 29 additions & 0 deletions .github/actions/prepare-for-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This composite action is included in other workflows to have a shared setup
# for java, gradle, caches, etc.

name: Prepare Lucene build

inputs:
java-version:
required: false
default: 17
description: "The default JDK version to set up."

java-distribution:
required: false
default: "temurin"
description: "The default JDK distribution type"

runs:
using: "composite"
steps:
- name: Set up Java (${{ inputs.java-distribution }}, ${{ inputs.java-version }})"
uses: actions/setup-java@v4
with:
distribution: ${{ inputs.java-distribution }}
java-version: ${{ inputs.java-version }}
java-package: jdk

# This includes "smart" caching of the wrapper and dependencies.
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
97 changes: 0 additions & 97 deletions .github/workflows/gradle-precommit.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/hunspell.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/mark-stale-PRs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow warns of PRs that have had no activity for a specified amount of time.
#
# For more information, see https://github.com/actions/stale
name: Mark stale pull requests

on:
# Run every day at 00:00 UTC
schedule:
- cron: '0 0 * * *'
# Or run on demand
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest

permissions:
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

days-before-pr-stale: 14
days-before-issue-stale: -1 # don't mark issues as stale
exempt-draft-pr: true # don't mark draft PRs as stale

days-before-close: -1 # don't close stale PRs/issues

stale-pr-message: >
This PR has not had activity in the past 2 weeks, labeling it as stale.
If the PR is waiting for review, notify the dev@lucene.apache.org list.
Thank you for your contribution!

debug-only: false # turn on to run the action without applying changes
operations-per-run: 500 # operations budget

# The table shows the cost in operations of all combinations of stale / not-stale for a PR.
# Processing a non-PR issue takes 0 operations, since we don't perform any action on it.
#
# +-----------------------+
# number of | state after workflow |
# operations +-----------+-----------+
# | stale | not stale |
# +----------+-----------+-----------+-----------+
# | state | stale | 3 | 4 |
# | before +-----------+-----------+-----------+
# | workflow | not stale | 5 | 1 |
# +----------+-----------+-----------+-----------+
67 changes: 67 additions & 0 deletions .github/workflows/run-checks-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: "Run checks: all modules"

on:
workflow_dispatch:

pull_request:
branches:
- '*'

push:
branches:
- 'main'
- 'branch_9x'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

# We split the workflow into two parallel jobs for efficiency:
# one is running all validation checks without tests,
# the other runs all tests without other validation checks.

jobs:

# This runs all validation checks without tests.
checks:
name: checks without tests (JDK ${{ matrix.java }} on ${{ matrix.os }})
timeout-minutes: 15

strategy:
matrix:
os: [ ubuntu-latest ]
java: [ '17' ]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare-for-build

- name: Run gradle check (without tests)
run: ./gradlew check -x test -Ptask.times=true --max-workers 2


# This runs all tests without any other validation checks.
tests:
name: tests (JDK ${{ matrix.java }} on ${{ matrix.os }})
timeout-minutes: 30

strategy:
matrix:
# Operating systems to run on.
# windows-latest: fairly slow to build and results in odd errors (see LUCENE-10167)
# macos-latest: a tad slower than ubuntu and pretty much the same (?) so leaving out.
os: [ ubuntu-latest ]
java: [ '17' ]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare-for-build

- name: Run gradle tests
run: ./gradlew test "-Ptask.times=true" --max-workers 2

- name: List automatically-initialized gradle.properties
run: cat gradle.properties
96 changes: 96 additions & 0 deletions .github/workflows/run-checks-gradle-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: "Run checks: gradle upgrade"

on:
workflow_dispatch:

pull_request:
branches:
- 'main'
- 'branch_9x'
paths:
- '.github/workflows/run-checks-gradle-upgrade.yml'
- 'gradle/wrapper/**'

push:
branches:
- 'main'
- 'branch_9x'
paths:
- '.github/workflows/run-checks-gradle-upgrade.yml'
- 'gradle/wrapper/**'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

jobs:
gradleSanityCheck:
name: "Run tasks (java: ${{ matrix.java-version }}, alt-java: ${{ matrix.uses-alt-java }})"
timeout-minutes: 30

strategy:
matrix:
os: [ ubuntu-latest ]
java-version: [ '23-ea' ]
uses-alt-java: [ true, false ]

runs-on: ${{ matrix.os }}

env:
ALT_JAVA_DIR: /tmp/alt-java

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare-for-build
with:
java-version: ${{ matrix.java-version }}

- name: Set up RUNTIME_JAVA_HOME variable
if: ${{ matrix.uses-alt-java }}
run: |
echo "All installed JDKs:"
set | grep "JAVA"

echo "Gradle's 'RUNTIME_JAVA_HOME' JDK:"
RUNTIME_JAVA_HOME_VAR=JAVA_HOME_`echo ${{ matrix.java-version }} | egrep --only "[0-9]+"`_X64
echo ${RUNTIME_JAVA_HOME_VAR} points at ${!RUNTIME_JAVA_HOME_VAR}

# Copy the JDK from its default location to /tmp so that it appears different to gradle.
rsync -av ${!RUNTIME_JAVA_HOME_VAR}/ ${{ env.ALT_JAVA_DIR }}/

# This sets the environment variable and makes it available for subsequent job steps.
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
echo "RUNTIME_JAVA_HOME=${{ env.ALT_JAVA_DIR }}" >> "$GITHUB_ENV"

- name: ./gradlew tidy
run: |
./gradlew tidy
if [ ! -z "$(git status --porcelain)" ]; then
echo ":warning: **tidy left local checkout in modified state**" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
git status --porcelain >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
git reset --hard && git clean -xfd .
fi

- name: ./gradlew regenerate
run: |
# add this package for generateEmojiTokenizationTestChecksumLoad.
sudo apt-get install libwww-perl
./gradlew regenerate -x generateUAX29URLEmailTokenizerInternal --rerun-tasks
if [ ! -z "$(git status --porcelain)" ]; then
echo ":warning: **regenerate left local checkout in modified state**" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
git status --porcelain >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
git reset --hard && git clean -xfd .
fi

- run: ./gradlew testOpts
- run: ./gradlew helpWorkflow
- run: ./gradlew licenses updateLicenses
- run: ./gradlew check -x test -Pvalidation.git.failOnModified=false
- run: ./gradlew assembleRelease mavenToLocal

# Conserve resources: only run these in non-alt-java mode.
- run: ./gradlew getGeoNames
if: ${{ !matrix.uses-alt-java }}
Loading