This is a cache of https://www.elastic.co/guide/en/elasticsearch/painless/8.19/painless-api-reference-similarity-weight.html. It is a snapshot of the page as it appeared on 2025-11-22T03:24:46.977+0000.
Similarity Weight API | Painless Scripting Language [8.<strong>19</strong>] | Elastic
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Similarity Weight API

edit

The following specialized API is available in the Similarity Weight context.

  • See the Shared API for further API available in all contexts.

Classes By Package

edit

The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.