Class: Elasticsearch::DSL::Search::Queries::Prefix
- Inherits:
-
Object
- Object
- Elasticsearch::DSL::Search::Queries::Prefix
- Includes:
- BaseComponent
- Defined in:
- lib/elasticsearch/dsl/search/queries/prefix.rb
Overview
A query which returns documents matching a specified prefix
search do
query do
prefix :title do
value 'dis'
end
end
end