Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
b8a1162
Initial cut of CuVS into Lucene as a Codec in sandbox
Jan 7, 2025
0e9f6d4
Test fixes
Jan 7, 2025
a95f084
fix for getFloatVectorValues
narangvivek10 Jan 7, 2025
d4f0a32
prefetch may select the wrong memory segment for multi-segment slices…
ChrisHegarty Jan 8, 2025
11eb2c8
Add some basic HNSW graph checks to CheckIndex (#13984)
benchaplin Jan 8, 2025
5fd2e70
Add CHANGES entry for CheckIndex HNSW work (#14120)
benchaplin Jan 8, 2025
0169c1e
Fix test that was implicitly assuming simple writer config that would…
msokolov Jan 8, 2025
3fad719
Updated releaseWizard.py to use timezone-aware objects to represent d…
shubhamsrkdev Jan 9, 2025
2afc0a0
Preserve max-conn when merging onto existing graph Fixes gh#14118 (#1…
msokolov Jan 9, 2025
b7c7fe0
fix for gh#14110: improve BpVectorReordered heuristic to make it more…
msokolov Jan 9, 2025
7c64217
DirectIOIndexInput - add overloads for primitive access (#14107)
ChrisHegarty Jan 9, 2025
60efc4a
DirectIOIndexInput - add overloads for bulk retrieval (#14124)
ChrisHegarty Jan 9, 2025
2756cd9
Fix urls describing why NIOFS is not recommended for Windows (#14081)
YeonghyeonKO Jan 9, 2025
ee65e8f
Use CDL to block threads to avoid flaky tests. (#14116)
aoli-al Jan 9, 2025
1778377
fix gh-14123: Add null checks to SortingCodecReader (#14125)
msokolov Jan 9, 2025
6f9702e
Removing unnecessary ByteArrayDataInput allocations by resetting inpl…
jainankitk Jan 10, 2025
c20e09e
Cover all DataType (#14091)
LuXugang Jan 10, 2025
9f0d3dd
Fixing precommit, ECJ, Rat, spotless, forbiddenApis etc.
Jan 10, 2025
5851f44
Remove `acceptDocs` argument from `DocIdSetIterator#intoBitSet` and i…
jpountz Jan 14, 2025
26e5a8d
Encode dense blocks of postings as bit sets. (#14133)
jpountz Jan 14, 2025
245acc8
Add CHANGES for #14133.
jpountz Jan 14, 2025
c1cbb22
Remove SingleValueDocValuesFieldUpdates abstract class (#14059)
iverase Jan 15, 2025
b87757c
Complete the javadoc for DirectoryReader#indexExists (#14136)
cwperks Jan 15, 2025
34a732f
Publish build scans to develocity.apache.org (#14140)
clayburn Jan 15, 2025
905efa9
Revert "Publish build scans to develocity.apache.org (#14140)"
dweiss Jan 15, 2025
34f0453
Add two new "Seeded" Knn queries for seeded vector search (#14084)
benwtrent Jan 15, 2025
df7170e
Temporarily skip tasks that point at datasets previously hosted at ho…
dweiss Jan 15, 2025
16cd779
Publish build scans to develocity.apache.org (#14141)
clayburn Jan 15, 2025
e4b85ca
Implement IntersectVisitor#visit(IntsRef) whenever it makes sense (#1…
iverase Jan 16, 2025
5c91f15
Fix `TestFeatureField.testStoreTermVectors` failure. (#14146)
jpountz Jan 16, 2025
16da44a
Fix `BitSetIterator` to correctly honor the contract of `DocIdSetIter…
jpountz Jan 16, 2025
cad76cc
Grammar fixes in comments (#14100)
viliam-durina Jan 16, 2025
a4434ca
javadocs: fix invalid refs in `queryparsers` #14086 (#14087)
mkhludnev Jan 17, 2025
4bca45f
Adding Javadocs to some public methods
Jan 17, 2025
dce24c8
Fix negative cost in some IntersectVisitor implementations after #14…
iverase Jan 18, 2025
7e20d5b
Avoid overflow in index input slices invariant checks (#14126)
ChrisHegarty Jan 20, 2025
04eecb0
Replace special-casing of `DocBaseBitSetIterator` with `#intoBitSet`.…
jpountz Jan 21, 2025
f2e7ae4
Implement #intoBitSet on `IntArrayDocIdSet` and `RoaringDocIdSet`. (#…
jpountz Jan 21, 2025
a0adeb9
Fix TestBpVectorReorderer#testIndexReorderDense (#14153)
iverase Jan 22, 2025
c8160b1
Improve set deletions percentage javadoc (#12828)
yugushihuang Jan 22, 2025
2240adb
Revert TestManyKnnDocs changes from #14084 (#14158)
benwtrent Jan 22, 2025
78aff8b
move MultiLeafKnnCollector to decorator and remove unnecessary code (…
benwtrent Jan 22, 2025
fb48d0d
gh-14127: remove duplicate neighbors when writing HNSW graphs (#14157)
msokolov Jan 22, 2025
8487718
Add small bias towards bit set encoding. (#14155)
jpountz Jan 23, 2025
52d3809
Not maintain docBufferUpTo when only docs needed (#14164)
gf2121 Jan 25, 2025
1cd77c2
Avoid double buffering direct IO index input slices with BufferedInde…
ChrisHegarty Jan 25, 2025
93b996f
Add changes for Optimize DirectIOIndexInput #14106
ChrisHegarty Jan 25, 2025
63374b1
fix maxDocs checks in CuVSIndex
ChrisHegarty Jan 27, 2025
f75c50e
tidy - just to remove noise
ChrisHegarty Jan 27, 2025
f315f53
Optimize ContextQuery with big number of contexts (#14169)
mayya-sharipova Jan 27, 2025
118afb7
Upgrade commons-codec from 1.13.0 to 1.17.2 (#14129)
msfroh Jan 27, 2025
cab88ca
Make knn graph conn writing more consistent (#14174)
benwtrent Jan 28, 2025
71256cc
Specialize DisiPriorityQueue for the 2-clauses case. (#14070)
jpountz Jan 28, 2025
a7b7f0d
Upgrade OpenNLP from 2.3.2 to 2.5.3 (#14130)
msfroh Jan 28, 2025
3bc4469
Add temp permissions, etc, to allow testing to succeed.
ChrisHegarty Jan 29, 2025
705283f
package-private where possible
ChrisHegarty Jan 29, 2025
feb0e18
Add knn result consistency test (#14167)
benwtrent Jan 29, 2025
de4f07b
Adjust knn merge stability testing (#14172)
benwtrent Jan 29, 2025
faec0f8
Do not enable security manager on JDK 24+ (#14179)
ChrisHegarty Jan 30, 2025
d2c69c1
Remove `maxMergeAtOnce` option from `TieredMergePolicy`. (#14165)
jpountz Feb 1, 2025
b429c43
Fix refill logic in nextDoc(). (#14185)
jpountz Feb 1, 2025
dd76dc4
Allow `LogMergePolicy` to merge more than `mergeFactor` segments toge…
jpountz Feb 1, 2025
834e560
minimal update for the new cuvs-java api modifications
ChrisHegarty Feb 2, 2025
3772c4c
add filter cuvs service provider
ChrisHegarty Feb 2, 2025
b13d37f
Use github wf to add module labels for PR based on file changes (#14101)
pseudo-nymous Feb 2, 2025
80255fd
Merge branch 'main' into cuvs-integration-main
ChrisHegarty Feb 2, 2025
8453bb1
cleanup
ChrisHegarty Feb 2, 2025
2bce954
itr : remove dep on commons lang3, fix visibility issues
ChrisHegarty Feb 3, 2025
e62112e
tidy
ChrisHegarty Feb 5, 2025
349c7aa
expose knn format and update test
ChrisHegarty Feb 5, 2025
8d8db0b
fix initialization of cuvSResources
ChrisHegarty Feb 5, 2025
c9d454d
add CuVSVectorsFormat test
ChrisHegarty Feb 5, 2025
ab6beae
fix testWriterRamEstimate
ChrisHegarty Feb 5, 2025
98686ec
This chanage rewrites the cuVS format implementation.
ChrisHegarty Feb 5, 2025
30206d6
add bug URLs
ChrisHegarty Feb 14, 2025
8e9fe16
Make CuVSKnnFloatVectorQuery public
narangvivek10 Feb 21, 2025
34afa24
assertion and test
ChrisHegarty Feb 21, 2025
8ae2515
plumb infoStream, and add indexType
ChrisHegarty Feb 22, 2025
e04c2e7
fix default index TYPE
ChrisHegarty Feb 22, 2025
fbb0407
fix workaround for tiny Cagra index
ChrisHegarty Feb 25, 2025
7f39c0c
tidy
ChrisHegarty Feb 25, 2025
67ec96b
fix bug where docs are deleted or empty
ChrisHegarty Feb 25, 2025
6e86c21
clamp intermediate graph degree
ChrisHegarty Feb 25, 2025
b1a84c2
comment out log mesg
ChrisHegarty Feb 25, 2025
4dd1f88
make 32 the default GPU index threads
ChrisHegarty Feb 25, 2025
c4b5c29
remove LibraryException from the API, so consumers don't need cuvs-java
ChrisHegarty Feb 25, 2025
8cf5087
De-allocate indexes once serialized.
narangvivek10 Feb 26, 2025
3837a10
de-allocate indices on the read size, when closed
ChrisHegarty Feb 27, 2025
e4e1b15
Fixing scoring normalization for search spanning multiple segments
Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 130 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# This file defines module label mappings for the Lucene project.
# Each module is associated with a set of file globs that, when matched,
# will trigger the corresponding label to be applied to pull requests.
#
# This configuration is used by the workflow defined in .github/workflows/label-pull-request.yml.
# If we are adding new labels or refactoring modules, we will need to modify this file globs here to ensure that the correct labels are applied.

# For more information on how to define globs, visit: https://github.com/actions/labeler

module:analysis:
- changed-files:
- any-glob-to-any-file: 'lucene/analysis/**'

module:benchmark:
- changed-files:
- any-glob-to-any-file: 'lucene/benchmark/**'

module:classification:
- changed-files:
- any-glob-to-any-file: 'lucene/classification/**'

module:core/codecs:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/codecs/**', 'lucene/core/src/test/org/apache/lucene/codecs/**']

module:core/FSTs:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/util/fst/**', 'lucene/core/src/test/org/apache/lucene/util/fst/**']

module:core/hnsw:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/util/hnsw/**', 'lucene/core/src/test/org/apache/lucene/util/hnsw/**']

module:core/index:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/index/**', 'lucene/core/src/test/org/apache/lucene/index/**']

module:core/search:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/search/**', 'lucene/core/src/test/org/apache/lucene/search/**']

module:core/store:
- changed-files:
- any-glob-to-any-file: ['lucene/core/src/java/org/apache/lucene/store/**', 'lucene/core/src/test/org/apache/lucene/store/**']

module:core/other:
- all:
- changed-files:
- any-glob-to-any-file: ['lucene/core/**']
- all-globs-to-all-files:
- '!lucene/core/src/java/org/apache/lucene/codecs/**'
- '!lucene/core/src/test/org/apache/lucene/codecs/**'
- '!lucene/core/src/java/org/apache/lucene/util/fst/**'
- '!lucene/core/src/test/org/apache/lucene/util/fst/**'
- '!lucene/core/src/java/org/apache/lucene/util/hnsw/**'
- '!lucene/core/src/test/org/apache/lucene/util/hnsw/**'
- '!lucene/core/src/java/org/apache/lucene/index/**'
- '!lucene/core/src/test/org/apache/lucene/index/**'
- '!lucene/core/src/java/org/apache/lucene/search/**'
- '!lucene/core/src/test/org/apache/lucene/search/**'
- '!lucene/core/src/java/org/apache/lucene/store/**'
- '!lucene/core/src/test/org/apache/lucene/store/**'

module:demo:
- changed-files:
- any-glob-to-any-file: 'lucene/demo/**'

module:expressions:
- changed-files:
- any-glob-to-any-file: 'lucene/expressions/**'

module:facet:
- changed-files:
- any-glob-to-any-file: 'lucene/facet/**'

module:grouping:
- changed-files:
- any-glob-to-any-file: 'lucene/grouping/**'

module:highlighter:
- changed-files:
- any-glob-to-any-file: 'lucene/highlighter/**'

module:join:
- changed-files:
- any-glob-to-any-file: 'lucene/join/**'

module:luke:
- changed-files:
- any-glob-to-any-file: 'lucene/luke/**'

module:misc:
- changed-files:
- any-glob-to-any-file: 'lucene/misc/**'

module:monitor:
- changed-files:
- any-glob-to-any-file: 'lucene/monitor/**'

module:queries:
- changed-files:
- any-glob-to-any-file: 'lucene/queries/**'

module:queryparser:
- changed-files:
- any-glob-to-any-file: 'lucene/queryparser/**'

module:replicator:
- changed-files:
- any-glob-to-any-file: 'lucene/replicator/**'

module:sandbox:
- changed-files:
- any-glob-to-any-file: 'lucene/sandbox/**'

module:spatial:
- changed-files:
- any-glob-to-any-file: ['lucene/spatial-extras/**', 'lucene/spatial-test-fixtures/**']

module:spatial3d:
- changed-files:
- any-glob-to-any-file: 'lucene/spatial3d/**'

module:suggest:
- changed-files:
- any-glob-to-any-file: 'lucene/suggest/**'

module:test-framework:
- changed-files:
- any-glob-to-any-file: 'lucene/test-framework/**'
23 changes: 23 additions & 0 deletions .github/workflows/label-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This file defines the workflow for labeling pull requests with module tags based on the changed files in the PR.
# It uses the `actions/labeler` GitHub Action to achieve the same.
#
# The workflow is triggered on the `pull_request_target` event which ensures workflow is only run from the master branch.
# The job `labeler` runs on `ubuntu-latest` and has permissions to read contents and write pull requests.
#
# For more information on the `actions/labeler` GitHub Action, refer to https://github.com/actions/labeler

name: "Pull Request Labeler"
run-name: Labelling pull request with module tags based on changed files in the PR
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
sync-labels: true
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'branch_10x'

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

# We split the workflow into two parallel jobs for efficiency:
# one is running all validation checks without tests,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-gradle-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'gradle/wrapper/**'

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

jobs:
gradleSanityCheck:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-mod-analysis-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'lucene/analysis/common/**'

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

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-mod-distribution.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'branch_10x'

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

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Apache Lucene is a high-performance, full-featured text search engine library
written in Java.

[![Build Status](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/badge/icon?subject=Lucene)](https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/)
[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)
[![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://develocity.apache.org/scans?search.buildToolType=gradle&search.rootProjectNames=lucene-root)

## Online Documentation

Expand Down
1 change: 1 addition & 0 deletions build-tools/build-infra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
}

Expand Down
19 changes: 10 additions & 9 deletions dev-tools/scripts/releaseWizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
from collections import OrderedDict
from datetime import datetime
from datetime import timedelta
from datetime import timezone

try:
import holidays
Expand Down Expand Up @@ -99,7 +100,7 @@ def expand_jinja(text, vars=None):
'state': state,
'gpg_key' : state.get_gpg_key(),
'gradle_cmd' : 'gradlew.bat' if is_windows() else './gradlew',
'epoch': unix_time_millis(datetime.utcnow()),
'epoch': unix_time_millis(datetime.now(tz=timezone.utc)),
'get_next_version': state.get_next_version(),
'current_git_rev': state.get_current_git_rev(),
'keys_downloaded': keys_downloaded(),
Expand Down Expand Up @@ -199,7 +200,7 @@ def check_prerequisites(todo=None):
return True


epoch = datetime.utcfromtimestamp(0)
epoch = datetime.fromtimestamp(timestamp=0, tz=timezone.utc)


def unix_time_millis(dt):
Expand Down Expand Up @@ -279,7 +280,7 @@ def __init__(self, config_path, release_version, script_version):
self.latest_version = None
self.previous_rcs = {}
self.rc_number = 1
self.start_date = unix_time_millis(datetime.utcnow())
self.start_date = unix_time_millis(datetime.now(tz=timezone.utc))
self.script_branch = run("git rev-parse --abbrev-ref HEAD").strip()
self.mirrored_versions = None
try:
Expand Down Expand Up @@ -741,7 +742,7 @@ def get_vars(self):

def set_done(self, is_done):
if is_done:
self.state['done_date'] = unix_time_millis(datetime.utcnow())
self.state['done_date'] = unix_time_millis(datetime.now(tz=timezone.utc))
if self.persist_vars:
for k in self.persist_vars:
self.state[k] = self.get_vars()[k]
Expand Down Expand Up @@ -935,7 +936,7 @@ def expand_multiline(cmd_txt, indent=0):


def unix_to_datetime(unix_stamp):
return datetime.utcfromtimestamp(unix_stamp / 1000)
return datetime.fromtimestamp(timestamp=unix_stamp / 1000, tz=timezone.utc)


def generate_asciidoc():
Expand All @@ -949,7 +950,7 @@ def generate_asciidoc():

fh.write("= Lucene Release %s\n\n" % state.release_version)
fh.write("(_Generated by releaseWizard.py v%s at %s_)\n\n"
% (getScriptVersion(), datetime.utcnow().strftime("%Y-%m-%d %H:%M UTC")))
% (getScriptVersion(), datetime.now(tz=timezone.utc).strftime("%Y-%m-%d %H:%M UTC")))
fh.write(":numbered:\n\n")
fh.write("%s\n\n" % template('help'))
for group in state.todo_groups:
Expand Down Expand Up @@ -1839,17 +1840,17 @@ def create_ical(todo): # pylint: disable=unused-argument
return True


today = datetime.utcnow().date()
today = datetime.now(tz=timezone.utc).date()
sundays = {(today + timedelta(days=x)): 'Sunday' for x in range(10) if (today + timedelta(days=x)).weekday() == 6}
y = datetime.utcnow().year
y = datetime.now(tz=timezone.utc).year
years = [y, y+1]
non_working = holidays.CA(years=years) + holidays.US(years=years) + holidays.UK(years=years) \
+ holidays.DE(years=years) + holidays.NO(years=years) + holidays.IN(years=years) + holidays.RU(years=years)


def vote_close_72h_date():
# Voting open at least 72 hours according to ASF policy
return datetime.utcnow() + timedelta(hours=73)
return datetime.now(tz=timezone.utc) + timedelta(hours=73)


def vote_close_72h_holidays():
Expand Down
12 changes: 12 additions & 0 deletions gradle/datasets/external-datasets.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ configure(project(":lucene:benchmark")) {
dst = file("${dataDir}/${name}")
}

// TODO: dataset gone. https://github.com/apache/lucene/issues/13647
onlyIf { false }

outputs.file ext.dst

src ext.src
Expand All @@ -73,6 +76,9 @@ configure(project(":lucene:benchmark")) {
dst = file("${dataDir}/${name}")
}

// TODO: dataset gone. https://github.com/apache/lucene/issues/13647
onlyIf { false }

outputs.file ext.dst

src ext.src
Expand All @@ -99,6 +105,9 @@ configure(project(":lucene:benchmark")) {

outputs.file ext.dst

// TODO: dataset gone. https://github.com/apache/lucene/issues/13647
onlyIf { false }

src ext.src
dest ext.intermediate
overwrite false
Expand All @@ -118,6 +127,9 @@ configure(project(":lucene:benchmark")) {
dst = file("${dataDir}/${name}")
}

// TODO: dataset gone. https://github.com/apache/lucene/issues/13647
onlyIf { false }

outputs.dir ext.dst

src ext.src
Expand Down
12 changes: 6 additions & 6 deletions gradle/ge.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

def isCIBuild = System.getenv().keySet().find { it ==~ /(?i)((JENKINS|HUDSON)(_\w+)?|CI)/ } != null

gradleEnterprise {
server = "https://ge.apache.org"
develocity {
server = "https://develocity.apache.org"
projectId = "lucene"

buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCIBuild
publishAlways()
publishIfAuthenticated()
publishing.onlyIf { it.isAuthenticated() }
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
Expand All @@ -35,7 +35,7 @@ buildCache {
enabled = !isCIBuild
}

remote(gradleEnterprise.buildCache) {
remote(develocity.buildCache) {
enabled = false
}
}
1 change: 1 addition & 0 deletions gradle/globals.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ allprojects {

// Repositories to fetch dependencies from.
repositories {
mavenLocal()
mavenCentral()
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/testing/defaults-tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ allprojects {
':lucene:codecs',
":lucene:distribution.tests",
":lucene:test-framework"
] ? 'ALL-UNNAMED' : 'org.apache.lucene.core')
] ? 'ALL-UNNAMED' : 'org.apache.lucene.core,com.nvidia.cuvs') // TODO: make this sandbox only

def loggingConfigFile = layout.projectDirectory.file("${resources}/logging.properties")
def tempDir = layout.projectDirectory.dir(testsTmpDir.toString())
Expand Down
4 changes: 3 additions & 1 deletion gradle/testing/randomization.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ allprojects {
[propName: 'tests.asserts', value: "true", description: "Enables or disables assertions mode."],
[propName: 'tests.infostream', value: false, description: "Enables or disables infostream logs."],
[propName: 'tests.leaveTemporary', value: false, description: "Leave temporary directories after tests complete."],
[propName: 'tests.useSecurityManager', value: true, description: "Control security manager in tests.", buildOnly: true],
[propName: 'tests.useSecurityManager',
value: { -> rootProject.ext.runtimeJavaVersion <= JavaVersion.VERSION_23 ? 'true' : 'false' },
description: "Control security manager in tests.", buildOnly: true],
// component randomization
[propName: 'tests.codec', value: "random", description: "Sets the codec tests should run with."],
[propName: 'tests.directory', value: "random", description: "Sets the Directory implementation tests should run with."],
Expand Down
Loading
Loading