elasticsearch/docs/painless
Benjamin Trent acc99302c6
Adding hamming distance function to painless for dense_vector fields (#109359)
This adds `hamming` distances, the pop-count of `xor` byte vectors as a
first class citizen in painless. 

For byte vectors, this means that we can compute hamming distances via
script_score (aka, brute-force).

The implementation of `hamming` is the same that is available in Lucene,
and when lucene 9.11 is merged, we should update our logic where
applicable to utilize it.

NOTE: this does not yet add hamming distance as a metric for indexed
vectors. This will be a future PR after the Lucene 9.11 upgrade.
2024-06-18 03:41:20 +10:00
..
painless-api-reference Adding hamming distance function to painless for dense_vector fields (#109359) 2024-06-18 03:41:20 +10:00
painless-contexts [DOCS] Fix painless context _id variable (#101316) 2023-11-01 11:31:03 -07:00
painless-guide Handle unmatching remote cluster wildcards properly for IndicesRequest.SingleIndexNoWildcards requests (#109185) 2024-06-10 08:56:40 -04:00
painless-lang-spec [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
index.asciidoc Reorganize Painless doc structure (#42303) 2019-05-21 13:47:47 -04:00
painless-api-reference.asciidoc [DOCS] Fixes terminology in the Painless docs (#58179) 2020-06-16 10:44:30 -07:00
painless-contexts.asciidoc [DOCS] Enhance the seats dataset for Painless (#68008) 2021-01-26 14:37:31 -05:00
painless-guide.asciidoc [DOCS] Fixes terminology in the Painless docs (#58179) 2020-06-16 10:44:30 -07:00
painless-lang-spec.asciidoc [DOCS] http -> https, remove outdated plugin docs (#60380) 2020-07-31 15:58:38 -04:00
redirects.asciidoc [DOCS] Add redirect for painless examples anchor 2019-06-25 12:37:21 -04:00