elasticsearch-labs icon indicating copy to clipboard operation
elasticsearch-labs copied to clipboard

Wrong fields used in the filter and aggregation

Open liu-xiao-guo opened this issue 1 year ago • 2 comments

For the notebook at https://github.com/elastic/elasticsearch-labs/blob/main/supporting-blog-content/vector-search-implementation-guide-api/vector_search_implementation_guide_api.ipynb, "my_metadata" is a text field, and it should not be used in the term filter, and it is the same for the aggregation. The correct one should be "my_metadata.keyword".

image image

liu-xiao-guo avatar Nov 28 '23 08:11 liu-xiao-guo

@jeffvestal Will you be looking at this? The corresponding blog article needs to be fixed as well, it appears.

miguelgrinberg avatar Nov 28 '23 11:11 miguelgrinberg

@jeffvestal just a ping on this one

serenachou avatar Mar 26 '24 22:03 serenachou

Hey 11 months later Sorry, this slipped way by me

fixed in https://github.com/elastic/elasticsearch-labs/pull/339

jeffvestal avatar Oct 09 '24 19:10 jeffvestal