ElasticSearch uses OR as the default operator for a query_string query if no operator is specified.
The elasticjs documentation says that this is the "same as Google". This is not true; Google uses AND as its default Boolean operator.
For example, see Google Advanced Search which requires "OR" to be typed for an OR query, but will search for "all these words" (i.e., an AND query) if no operator is used.
ElasticSearch uses OR as the default operator for a
query_string
query if no operator is specified.The elasticjs documentation says that this is the "same as Google". This is not true; Google uses AND as its default Boolean operator.
For example, see Google Advanced Search which requires "OR" to be typed for an OR query, but will search for "all these words" (i.e., an AND query) if no operator is used.