# Functions
Int returns a pointer to an int.
NewIndex returns a new managed search index with fields set to be the search_as_you_type fields.
NewQuery returns a query with the search fields set to search_as_you_type ngrams.
NewSchema returns a Schema with the mappings for the input fields set as search_as_you_type.
ParseResponse from a search call into a more friendly struct.
# Structs
ESError is the format elasticsearch errors are returned.
Field defined a field and its mapping type.
Filter defines a field should only have given values.
Index manages a search index.
Query constructs a multimatch query for the fields set as search_as_you_type.
QueryParams collects all the data needed to build a search.
Response from a search call.
Schema sets the mappings for the elasticsearch index.
SchemaParams collects all the schema data needed to build mappings.
Sort defineds a field and direction to sort searches by.
Term defineds a field to return counts for all occurances https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html.