Closed zarnor closed 3 years ago
Add SimpleQuerystringSearch() method to allow using elastics simple_query_sring syntax.
Simple query string reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html
Example:
SearchResult result = service .SimpleQuerystringSearch<ArticlePage>("(bacon | ham) melt -cheese") .GetResults();
Allowed operators can be limited with allowedOperations parameter:
SearchResult result = service .SimpleQuerystringSearch<ArticlePage>("\"bacon melt\" sandwi*", defaultOperator: Operator.And, allowedOperators: SimpleQuerystringOperators.Prefix | SimpleQuerystringOperators.Phrase); ) .GetResults();
Release 11.7.3.163 @zarnor
Add SimpleQuerystringSearch() method to allow using elastics simple_query_sring syntax.
Simple query string reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html
Example:
Allowed operators can be limited with allowedOperations parameter: