pyes.mappings

class pyes.mappings.AbstractField(index='not_analyzed', store='no', boost=1.0, term_vector='no', omit_norms=True, omit_term_freq_and_positions=True, type=None, index_name=None, analyzer=None, index_analyzer=None, search_analyzer=None, name=None)
to_json()
class pyes.mappings.AttachmentField(name, type=None, path=None, fields=None)

An attachment field.

Requires the mapper-attachments plugin to be installed to be used.

to_json()
class pyes.mappings.BooleanField(null_value=None, include_in_all=None, *args, **kwargs)
to_json()
class pyes.mappings.DateField(format=None, **kwargs)
to_json()
class pyes.mappings.DocumentObjectField(name=None, type=None, path=None, properties=None, dynamic=None, enabled=None, _all=None, _boost=None, _id=None, _index=None, _source=None, _type=None, date_formats=None, _parent=None)
to_json()
class pyes.mappings.DoubleField(*args, **kwargs)
class pyes.mappings.FloatField(*args, **kwargs)
class pyes.mappings.GeoPointField(null_value=None, include_in_all=None, lat_lon=None, geohash=None, geohash_precision=None, *args, **kwargs)
to_json()
class pyes.mappings.IntegerField(*args, **kwargs)
class pyes.mappings.LongField(*args, **kwargs)
class pyes.mappings.Mapper(data)
get_doctype(index, name)

Returns a doctype given an index and a name

class pyes.mappings.MultiField(name, type=None, path=None, fields=None)
to_json()
class pyes.mappings.NumericFieldAbstract(null_value=None, include_in_all=None, precision_step=4, **kwargs)
to_json()
class pyes.mappings.ObjectField(name=None, type=None, path=None, properties=None, dynamic=None, enabled=None, include_in_all=None, _id=False, _type=False, _source=None, _all=None, _analyzer=None, _boost=None, _parent=None, _index=None, _routing=None)
add_property(prop)

Add a property to the object

to_json()
class pyes.mappings.ShortField(*args, **kwargs)
class pyes.mappings.StringField(null_value=None, include_in_all=None, *args, **kwargs)
to_json()
pyes.mappings.get_field(name, data)

Return a valid Field by given data

Previous topic

pyes.highlight

Next topic

pyes.query

This Page