elasticsearch/docs/reference/search
Julie Tibshirani 19eed47159
Improve kNN error message when index is disabled (#81561)
In order to perform a kNN search on a `dense_vector` field, it must have
`index: true` in its mapping. This commit clarifies the error message. Before
the message was confusing, because the user likely didn't touch the `index`
parameter and might not even be aware of it.

It adds a note to the docs clarifying that when coming from 7.x, you must
explicitly update `index: true` and reindex the vectors.

Relates to #78473.
2021-12-08 16:20:35 -08:00
..
search-your-data Improve kNN error message when index is disabled (#81561) 2021-12-08 16:20:35 -08:00
suggesters [DOCS] Overhaul search template docs (#72583) 2021-06-30 16:03:49 -04:00
async-search.asciidoc [DOCS] Remove testenv annotations from doc snippet tests (#80023) 2021-11-05 18:38:50 -04:00
clear-scroll-api.asciidoc [DOCS] Fix case for 'Boolean' (#64299) 2020-10-29 09:04:43 -04:00
count.asciidoc [DOCS] Add info about GET/POST to the API conventions. (#74529) 2021-06-30 09:24:42 -07:00
explain.asciidoc [DOCS] Consolidate routing parameter definitions (#73107) 2021-05-14 12:27:19 -04:00
field-caps.asciidoc [DOCS] Add experimental label to TSDB mapping params and settings (#79647) 2021-10-27 09:09:54 -04:00
knn-search.asciidoc [DOCS] Add high-level guide for kNN search (#80857) 2021-11-30 14:17:39 -05:00
multi-search-template-api.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
multi-search.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
point-in-time-api.asciidoc Handle partial search result with point in time (#81349) 2021-12-08 10:04:38 -05:00
profile.asciidoc Update JSON parser and snippets (#77983) 2021-09-20 11:08:26 +01:00
rank-eval.asciidoc [DOCS] Overhaul search template docs (#72583) 2021-06-30 16:03:49 -04:00
render-search-template-api.asciidoc [DOCS] Overhaul search template docs (#72583) 2021-06-30 16:03:49 -04:00
scroll-api.asciidoc [DOCS] Update alias references (#73427) 2021-05-27 16:00:57 -04:00
search-shards.asciidoc [DOCS] Update alias references (#73427) 2021-05-27 16:00:57 -04:00
search-template-api.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
search-vector-tile-api.asciidoc Add docs for kNN search endpoint (#80378) 2021-11-09 09:28:12 -08:00
search.asciidoc Support combining _shards preference param with <custom-string> (#80024) 2021-11-10 14:08:27 +01:00
suggesters.asciidoc [DOCS] Fix minor suggester doc errors (#68244) 2021-02-01 09:33:12 -05:00
terms-enum.asciidoc [DOCS] Fix the terms enum API docs for search_after (#76991) 2021-08-26 14:07:06 -04:00
validate.asciidoc [DOCS] Update alias references (#73427) 2021-05-27 16:00:57 -04:00