OpenSearch/x-pack/plugin/vectors/src
Mayya Sharipova 37e1ad7062 Forbid empty doc values on vector functions (#43944)
Currently when a document misses a vector value, vector function
returns 0 as a score for this document. We think this is incorrect
behaviour.
With this change, an error will be thrown if vector functions are
used with docs that are missing vector doc values.
Also VectorScriptDocValues is modified to allow size() function,
which can be used to check if a document has a value for the
vector field.
2019-07-05 18:09:06 -04:00
..
main Forbid empty doc values on vector functions (#43944) 2019-07-05 18:09:06 -04:00
test/java/org/elasticsearch/xpack/vectors Add dims parameter to dense_vector mapping (#43444) (#43895) 2019-07-02 21:14:16 -04:00