Skip to content

Add dense vector off-heap stats to Node stats and Index stats APIs #126704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ static List<String> systemJvmOptions(Settings nodeSettings, final Map<String, St
"-Dio.netty.noUnsafe=true",
"-Dio.netty.noKeySetOptimization=true",
"-Dio.netty.recycler.maxCapacityPerThread=0",
// temporary until we get offheap vector stats in Lucene 10.3
"--add-opens=org.apache.lucene.core/org.apache.lucene.codecs.lucene99=org.elasticsearch.server",
// log4j 2
"-Dlog4j.shutdownHookEnabled=false",
"-Dlog4j2.disable.jmx=true",
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/126704.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 126704
summary: Add dense vector off-heap stats to Node stats and Index stats APIs
area: "Vector Search"
type: enhancement
issues: []
4 changes: 2 additions & 2 deletions qa/ccs-common-rest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ apply plugin: 'elasticsearch.internal-yaml-rest-test'

restResources {
restApi {
include 'capabilities', '_common', 'bulk', 'count', 'cluster', 'field_caps', 'get', 'knn_search', 'index', 'indices', 'msearch',
'search', 'async_search', 'graph', '*_point_in_time', 'info', 'scroll', 'clear_scroll', 'search_mvt', 'eql', 'sql'
include 'capabilities', 'cat.shards', '_common', 'bulk', 'count', 'cluster', 'field_caps', 'get', 'knn_search', 'index', 'indices', 'msearch',
"nodes.stats", 'search', 'async_search', 'graph', '*_point_in_time', 'info', 'scroll', 'clear_scroll', 'search_mvt', 'eql', 'sql'
}
restTests {
includeCore 'field_caps', 'msearch', 'search', 'suggest', 'scroll', "indices.resolve_index"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
- match: { indices.docs.count: 5 }
- match: { indices.docs.deleted: 0 }
- match: { indices.dense_vector.value_count: 8 }
- is_false: indices.dense_vector.off_heap

---
"Sparse vector stats":
Expand Down
Loading
Loading