Skip to content

Commit c605f29

Browse files
authored
Merge pull request #78272 from brjohnstmsft/search-filters
[Azure Search] Rewriting OData language reference
2 parents 9240aa3 + 5014192 commit c605f29

19 files changed

+2006
-285
lines changed

articles/search/TOC.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,18 @@
233233
href: search-query-lucene-examples.md
234234
- name: moreLikeThis (preview)
235235
href: search-more-like-this.md
236-
- name: Filter and sort data
236+
- name: Use filters
237237
items:
238238
- name: Filter overview
239239
href: search-filters.md
240240
- name: Facet filters
241241
href: search-filters-facets.md
242242
- name: Add faceted navigation
243243
href: search-faceted-navigation.md
244-
- name: Filter and OrderBy expression syntax and examples
245-
href: query-odata-filter-orderby-syntax.md
244+
- name: Troubleshoot collection filters
245+
href: search-query-troubleshoot-collection-filters.md
246+
- name: Understand collection filters
247+
href: search-query-understand-collection-filters.md
246248
- name: Handle results
247249
items:
248250
- name: Page-related features
@@ -283,6 +285,32 @@
283285
href: search-api-preview.md
284286
- name: Resource Manager template
285287
href: /azure/templates/microsoft.search/searchservices
288+
- name: OData language reference
289+
items:
290+
- name: Overview
291+
href: query-odata-filter-orderby-syntax.md
292+
- name: $filter
293+
href: search-query-odata-filter.md
294+
- name: $orderby
295+
href: search-query-odata-orderby.md
296+
- name: $select
297+
href: search-query-odata-select.md
298+
- name: any, all
299+
href: search-query-odata-collection-operators.md
300+
- name: eq, ne, gt, lt, ge, le
301+
href: search-query-odata-comparison-operators.md
302+
- name: search.ismatch, search.ismatchscoring
303+
href: search-query-odata-full-text-search-functions.md
304+
- name: geo.distance, geo.intersects
305+
href: search-query-odata-geo-spatial-functions.md
306+
- name: and, or, not
307+
href: search-query-odata-logical-operators.md
308+
- name: search.in
309+
href: search-query-odata-search-in-function.md
310+
- name: search.score
311+
href: search-query-odata-search-score-function.md
312+
- name: OData Language Grammar
313+
href: search-query-odata-syntax-reference.md
286314
- name: Cognitive skills reference
287315
href: cognitive-search-predefined-skills.md
288316
items:

articles/search/query-odata-filter-orderby-syntax.md

Lines changed: 131 additions & 224 deletions
Large diffs are not rendered by default.

articles/search/search-filters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: cgronlun
66
services: search
77
ms.service: search
88
ms.topic: conceptual
9-
ms.date: 05/13/2019
9+
ms.date: 06/13/2019
1010
ms.author: heidist
1111
ms.custom: seodec2018
1212
---
@@ -152,11 +152,11 @@ Text strings are case-sensitive. There is no lower-casing of upper-cased words:
152152

153153
### Approaches for filtering on text
154154

155-
| Approach | Description | When to use |
155+
| Approach | Description | When to use |
156156
|----------|-------------|-------------|
157-
| [search.in](query-odata-filter-orderby-syntax.md) | A function that matches a field against a delimited list of strings. | Recommended for [security filters](search-security-trimming-for-azure-search.md) and for any filters where many raw text values need to be matched with a string field. The **search.in** function is designed for speed and is much faster than explicitly comparing the field against each string using `eq` and `or`. |
158-
| [search.ismatch](query-odata-filter-orderby-syntax.md) | A function that allows you to mix full-text search operations with strictly Boolean filter operations in the same filter expression. | Use **search.ismatch** (or its scoring equivalent, **search.ismatchscoring**) when you want multiple search-filter combinations in one request. You can also use it for a *contains* filter to filter on a partial string within a larger string. |
159-
| [$filter=field operator string](query-odata-filter-orderby-syntax.md) | A user-defined expression composed of fields, operators, and values. | Use this when you want to find exact matches between a string field and a string value. |
157+
| [`search.in`](search-query-odata-search-in-function.md) | A function that matches a field against a delimited list of strings. | Recommended for [security filters](search-security-trimming-for-azure-search.md) and for any filters where many raw text values need to be matched with a string field. The **search.in** function is designed for speed and is much faster than explicitly comparing the field against each string using `eq` and `or`. |
158+
| [`search.ismatch`](search-query-odata-full-text-search-functions.md) | A function that allows you to mix full-text search operations with strictly Boolean filter operations in the same filter expression. | Use **search.ismatch** (or its scoring equivalent, **search.ismatchscoring**) when you want multiple search-filter combinations in one request. You can also use it for a *contains* filter to filter on a partial string within a larger string. |
159+
| [`$filter=field operator string`](search-query-odata-comparison-operators.md) | A user-defined expression composed of fields, operators, and values. | Use this when you want to find exact matches between a string field and a string value. |
160160

161161
## Numeric filter fundamentals
162162

0 commit comments

Comments
 (0)