elasticsearch/docs/reference/mapping
Carlos Delgado 2b838ae853
Dense vector field types are indexed by default (#98268)
* First version

* Spotless, I liked my version better

* Fix param default values

* Add a supplier for default value to ensure it's calculated correctly

* Can't improve this without breaking tests

* Added checks for not specifying a body in PUT requests

* Fix default provider for enum params

* Added yaml test

* Changed docs and fix TODO

* Removing synonyms changes

* Added separate methods for providing default value as suppliers in enums

* Fixed test

* Add a supplier for default value to ensure it's calculated correctly

* Added checks for not specifying a body in PUT requests

* Remove synonyms changes

* Remove some supplier changes

* Better call enumParam with supplier version

* Fix compiler error on supplier

* Apply validators or requires depending on index version

* Solved BWC tests that involved using validators instead of requiresParameters

* Add tests

* Spotless

* Update docs/changelog/98268.yaml

* Update changelog

* Update docs/changelog/98268.yaml

* PR comments

* PR feedback

* Serialize index only for new index versions

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-08-17 10:53:14 -04:00
..
dynamic Update field-mapping.asciidoc that Epoch format is not supported as dynamic date format (#98338) 2023-08-10 16:44:44 +09:00
fields [DOCS] Clarify TSDS/synthetic source/runtime field restrictions (#97980) 2023-08-03 18:28:08 +02:00
params [DOCS] Remove redirect pages (#88738) 2023-05-24 12:32:46 +01:00
types Dense vector field types are indexed by default (#98268) 2023-08-17 10:53:14 -04:00
dynamic-mapping.asciidoc [DOCS] Clean up index template xrefs (#67264) 2021-01-11 12:38:09 -05:00
explicit-mapping.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
fields.asciidoc Support fetching _tier field value (#71379) 2021-04-08 11:41:52 -07:00
mapping-settings-limit.asciidoc Include runtime fields in total fields count (#89251) 2022-08-15 09:43:12 -04:00
params.asciidoc [DOCS] Remove redirect pages (#88738) 2023-05-24 12:32:46 +01:00
removal_of_types.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
runtime.asciidoc Fix backwards description in runtime fields documentation (#94608) (#94642) 2023-03-22 11:53:35 -04:00
types.asciidoc [DOCS] Move completion type asciidoc (#89086) 2022-08-04 10:02:28 +02:00