ex_aws_cloud_search v0.1.0 ExAws.CloudSearch.QueryParser View Source
A wrapper for query parsers. The base case is that the query is a string, in which case the query is passed through unmodified.
Link to this section Summary
Functions
Attempt to parse the query provided. If the parser sets a particular mode,
that value will be returned with the query; otherwise the query mode will be
nil
, indicating that the parser cannot determine the type of query
Link to this section Types
Link to this type
query_mode()
View Source
query_mode() :: nil | :simple | :structured | :lucene | :dismax
Link to this section Functions
Link to this function
parse(query)
View Source
parse(nil | String.t() | struct()) :: {String.t(), query_mode()} | no_return()
Attempt to parse the query provided. If the parser sets a particular mode,
that value will be returned with the query; otherwise the query mode will be
nil
, indicating that the parser cannot determine the type of query.