Module: Elasticsearch
- Defined in:
- lib/elasticsearch/autocomplete/filters.rb,
lib/elasticsearch/autocomplete.rb,
lib/elasticsearch/autocomplete/type.rb,
lib/elasticsearch/autocomplete/search.rb,
lib/elasticsearch/autocomplete/request.rb,
lib/elasticsearch/autocomplete/version.rb,
lib/elasticsearch/autocomplete/response.rb,
lib/elasticsearch/autocomplete/single_request.rb,
lib/elasticsearch/autocomplete/single_response.rb,
lib/elasticsearch/autocomplete/multiple_request.rb,
lib/elasticsearch/autocomplete/multiple_response.rb
Overview
Returns the search body as a hash for autocomplete module
Building the hash in a specific format is vital to developing a multi-query search from elasticsearch. Results are returned in the specific order you submit the query in.
Each ‘type’ should have a corrisponding class. Example: If the type would be a ‘tag’-
> Elasticsearch::Autocomplete::TagType
Defined Under Namespace
Modules: Autocomplete