Module elastic::types::document::prelude [] [src]

Includes all types for document types.

This is a convenience module to make it easy to build mappings for multiple types without too many use statements.

Structs

IndexDocumentMapping

A wrapper type for serialising user types.

ValueDocumentMapping

Mapping for an anonymous json object.

Enums

Dynamic

The dynamic setting may be set at the mapping type level, and on each inner object. Inner objects inherit the setting from their parent object or from the mapping type.

Constants

DYNAMIC_DATATYPE

Elasticsearch datatype name.

NESTED_DATATYPE

Elasticsearch datatype name.

OBJECT_DATATYPE

Elasticsearch datatype name.

Traits

DocumentFieldType

A field that will be mapped as a nested document.

DocumentMapping

The base requirements for mapping an object type.

DocumentType

The additional fields available to an indexable Elasticsearch type.

FieldType

The base representation of an Elasticsearch data type.

PropertiesMapping

Serialisation for the mapping of object properties.

Functions

doc_ser

Serialise a document mapping as a field using the given serialiser.

field_ser

Serialise a field mapping as a field using the given serialiser.