elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
68.7k stars 24.4k forks source link

Enable docvalue_fields parameter for dense_vector fields #108470

Open mayya-sharipova opened 2 months ago

mayya-sharipova commented 2 months ago

Description

Search request supports docvalue_fields parameter that is currently not supported for dense_vector fields.

The reason it is was disabled is disable aggregations on this field. Investigate if is possible to keep aggregations still disabled but enable docvalue_fields on dense_vector fields.

elasticsearchmachine commented 2 months ago

Pinging @elastic/es-search (Team:Search)

Rassyan commented 1 month ago

Hello @mayya-sharipova,

I hope this message finds you well. I've been exploring the enhancement of dense_vector field values retrieval from doc_values and have a preliminary implementation in place. My initial tests indicate promising functionality.

Here are the key aspects of the current implementation:

image

I'm eager to ensure that this work aligns with the project's goals and would greatly appreciate your guidance on a couple of points:

I'm very interested in contributing to this feature and would be honored to incorporate your expertise as we refine the approach.

Thank you for considering my input.

Warm regards, Rassyan

elasticsearchmachine commented 1 week ago

Pinging @elastic/es-search-relevance (Team:Search Relevance)