elastic / elasticsearch-py

Official Python client for Elasticsearch
https://ela.st/es-python
Apache License 2.0
4.17k stars 1.17k forks source link

adding mapping python code examples #2596

Closed anniegale9538 closed 2 weeks ago

anniegale9538 commented 2 weeks ago

I have found additional docs that do not have the Python code examples.

This round became quite large, I'm happy to break this up as needed!

Dynamic mapping Dynamic field mapping Dynamic templates

Explicit mapping

Map a runtime field Define runtime fields in a search request Override field values at query time Retrieve a runtime field Index a runtime field Explore your data with runtime fields

Field data types Aggregate metric field type Alias field type Arrays Binary field type Boolean field type Completion field type Date nanoseconds field type Dense vector field type Flattened field type Geopoint field type Geoshape field type Histogram field type IP field type Join field type Object field type Percolator field type Point field type Range field types Rank feature field type Rank features field type Search-as-you-type field type Semantic text field type Shape field type Sparse vector field type Text type family Token count field type Unsigned long field type Version field type

github-actions[bot] commented 2 weeks ago

A documentation preview will be available soon.

Request a new doc build by commenting * Rebuild this PR: `run docs-build` * Rebuild this PR and all Elastic docs: `run docs-build rebuild` `run docs-build` is much faster than `run docs-build rebuild`. A `rebuild` should only be needed in rare situations. If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status [here](https://buildkite.com/elastic/docs-build).