mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
4b1c116461
Adds infrastructure so `gradle :docs:check` will extract tests from snippets in the documentation and execute the tests. This is included in `gradle check` so it should happen on CI and during a normal build. By default each `// AUTOSENSE` snippet creates a unique REST test. These tests are executed in a random order and the cluster is wiped between each one. If multiple snippets chain together into a test you can annotate all snippets after the first with `// TEST[continued]` to have the generated tests for both snippets joined. Snippets marked as `// TESTRESPONSE` are checked against the response of the last action. See docs/README.asciidoc for lots more. Closes #12583. That issue is about catching bugs in the docs during build. This catches *some* bugs in the docs during build which is a good start.
94 lines
2.1 KiB
Plaintext
94 lines
2.1 KiB
Plaintext
[[mapping-params]]
|
|
== Mapping parameters
|
|
|
|
The following pages provide detailed explanations of the various mapping
|
|
parameters that are used by <<mapping-types,field mappings>>:
|
|
|
|
|
|
The following mapping parameters are common to some or all field datatypes:
|
|
|
|
* <<analyzer,`analyzer`>>
|
|
* <<mapping-boost,`boost`>>
|
|
* <<coerce,`coerce`>>
|
|
* <<copy-to,`copy_to`>>
|
|
* <<doc-values,`doc_values`>>
|
|
* <<dynamic,`dynamic`>>
|
|
* <<enabled,`enabled`>>
|
|
* <<fielddata,`fielddata`>>
|
|
* <<geohash,`geohash`>>
|
|
* <<geohash-precision,`geohash_precision`>>
|
|
* <<geohash-prefix,`geohash_prefix`>>
|
|
* <<mapping-date-format,`format`>>
|
|
* <<ignore-above,`ignore_above`>>
|
|
* <<ignore-malformed,`ignore_malformed`>>
|
|
* <<include-in-all,`include_in_all`>>
|
|
* <<index-options,`index_options`>>
|
|
* <<lat-lon,`lat_lon`>>
|
|
* <<mapping-index,`index`>>
|
|
* <<multi-fields,`fields`>>
|
|
* <<norms,`norms`>>
|
|
* <<null-value,`null_value`>>
|
|
* <<position-increment-gap,`position_increment_gap`>>
|
|
* <<properties,`properties`>>
|
|
* <<search-analyzer,`search_analyzer`>>
|
|
* <<similarity,`similarity`>>
|
|
* <<mapping-store,`store`>>
|
|
* <<term-vector,`term_vector`>>
|
|
|
|
|
|
include::params/analyzer.asciidoc[]
|
|
|
|
include::params/boost.asciidoc[]
|
|
|
|
include::params/coerce.asciidoc[]
|
|
|
|
include::params/copy-to.asciidoc[]
|
|
|
|
include::params/doc-values.asciidoc[]
|
|
|
|
include::params/dynamic.asciidoc[]
|
|
|
|
include::params/enabled.asciidoc[]
|
|
|
|
include::params/fielddata.asciidoc[]
|
|
|
|
include::params/format.asciidoc[]
|
|
|
|
include::params/geohash.asciidoc[]
|
|
|
|
include::params/geohash-precision.asciidoc[]
|
|
|
|
include::params/geohash-prefix.asciidoc[]
|
|
|
|
include::params/ignore-above.asciidoc[]
|
|
|
|
include::params/ignore-malformed.asciidoc[]
|
|
|
|
include::params/include-in-all.asciidoc[]
|
|
|
|
include::params/index.asciidoc[]
|
|
|
|
include::params/index-options.asciidoc[]
|
|
|
|
include::params/lat-lon.asciidoc[]
|
|
|
|
include::params/multi-fields.asciidoc[]
|
|
|
|
include::params/norms.asciidoc[]
|
|
|
|
include::params/null-value.asciidoc[]
|
|
|
|
include::params/position-increment-gap.asciidoc[]
|
|
|
|
include::params/precision-step.asciidoc[]
|
|
|
|
include::params/properties.asciidoc[]
|
|
|
|
include::params/search-analyzer.asciidoc[]
|
|
|
|
include::params/similarity.asciidoc[]
|
|
|
|
include::params/store.asciidoc[]
|
|
|
|
include::params/term-vector.asciidoc[]
|