-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Add SparseVectorStats #108793
base: main
Are you sure you want to change the base?
Add SparseVectorStats #108793
Conversation
Documentation preview: |
++++ | ||
<titleabbrev>cat nodes</titleabbrev> | ||
++++ | ||
|
||
[IMPORTANT] | ||
==== | ||
cat APIs are only intended for human consumption using the command line or {kib} | ||
console. They are _not_ intended for use by applications. For application |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the docs refactoring could belong to a separate PR, labeled with "docs", so it's easier to review
...ava/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java
Show resolved
Hide resolved
eadbf60
to
254a1d6
Compare
@@ -149,9 +155,6 @@ Node uptime, such as `17.3m`. | |||
`completion.size`, `cs`, `completionSize`:: | |||
Size of completion, such as `0b`. | |||
|
|||
`dense_vector.value_count`, `dvc`, `denseVectorCount`:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: @jimczi this does not work, so I removed it from the documentation. It can be added back if we decide to fix support for _cat/nodes
.
89df8dd
to
1158acc
Compare
1158acc
to
eff9791
Compare
Relates to #98275
Adds statistics on the number of
sparse_vector
fields in an index or cluster.Because we can't pull dimensionality from the Lucene index, this relies on
sparse_vector
mappings to identify the documents to calculate fields for.Here is an example script to test: