Skip to content

Commit 4299a7a

Browse files
committed
rephrasing
1 parent 82560cf commit 4299a7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/search/query-simple-syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ ms.date: 04/24/2020
1515

1616
Azure Cognitive Search implements two Lucene-based query languages: [Simple Query Parser](https://lucene.apache.org/core/6_6_1/queryparser/org/apache/lucene/queryparser/simple/SimpleQueryParser.html) and the [Lucene Query Parser](https://lucene.apache.org/core/6_6_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html).
1717

18-
The simple query parser is more flexible and will attempt to interpret the provided input even if query composition is not strictly correct. Because of this flexibility, it is the default parser for query requests.
18+
The simple parser is more flexible and will attempt to interpret the request even if it's not perfectly composed. Because of this flexibility, it is the default for queries in Azure Cognitive Search.
1919

20-
The simple query syntax is used for query expressions passed in the `search=` parameter of [query request](https://docs.microsoft.com/rest/api/searchservice/search-documents), not to be confused with the [OData syntax](query-odata-filter-orderby-syntax.md) used for the [$filter](search-filters.md) parameter of that API. The `search` and `$filter` parameters have different syntax, with their own rules for constructing queries, escaping strings, and so on.
20+
The simple syntax is used for query expressions passed in the `search` parameter of a [Search Documents request](https://docs.microsoft.com/rest/api/searchservice/search-documents), not to be confused with the [OData syntax](query-odata-filter-orderby-syntax.md) used for the [$filter expressions](search-filters.md) parameter of the Search Documents API. The `search` and `$filter` parameters have different syntax, with their own rules for constructing queries, escaping strings, and so on.
2121

22-
Although the syntax is based on the [Simple Query Parser](https://lucene.apache.org/core/6_6_1/queryparser/org/apache/lucene/queryparser/simple/SimpleQueryParser.html) class, the implementation in Azure Cognitive Search excludes fuzzy search. If you need [fuzzy search](search-query-fuzzy.md) or other advanced query forms, consider the alternative [full Lucene query syntax](query-lucene-syntax.md) instead.
22+
Although the simple parser is based on the [Apache Lucene Simple Query Parser](https://lucene.apache.org/core/6_6_1/queryparser/org/apache/lucene/queryparser/simple/SimpleQueryParser.html) class, the implementation in Azure Cognitive Search excludes fuzzy search. If you need [fuzzy search](search-query-fuzzy.md) or other advanced query forms, consider the alternative [full Lucene query syntax](query-lucene-syntax.md) instead.
2323

2424
## Invoke simple parsing
2525

0 commit comments

Comments
 (0)