You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-query-odata-full-text-search-functions.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,6 @@ The `search.ismatch` function returns a value of type `Edm.Boolean`, which allow
70
70
> [!NOTE]
71
71
> Azure AI Search doesn't support using `search.ismatch` or `search.ismatchscoring` inside lambda expressions. This means it isn't possible to write filters over collections of objects that can correlate full-text search matches with strict filter matches on the same object. For more information on this limitation as well as examples, see [Troubleshooting collection filters in Azure AI Search](search-query-troubleshoot-collection-filters.md). For more in-depth information on why this limitation exists, see [Understanding collection filters in Azure AI Search](search-query-understand-collection-filters.md).
72
72
73
-
74
73
### search.ismatchscoring
75
74
76
75
The `search.ismatchscoring` function, like the `search.ismatch` function, returns `true` for documents that match the full-text search query passed as a parameter. The difference between them is that the relevance score of documents matching the `search.ismatchscoring` query contributes to the overall document score, whereas for `search.ismatch`, the document score doesn't change. The following overloads of this function are available with parameters identical to those of `search.ismatch`:
@@ -127,9 +126,22 @@ Find documents without the word "luxury".
127
126
not search.ismatch('luxury')
128
127
```
129
128
129
+
Here's the full query syntax for this request. Output consists of matches on the term luxury.
Find documents with the phrase "ocean" or rating equal to 3.2. The `search.ismatchscoring` query is executed only against fields `HotelName` and `Description`.
131
143
132
-
Documents that matched only the second clause of the disjunction will be returned too -- hotels with `Rating` equal to `3.2`. To make it clear that those documents didn't match any of the scored parts of the expression, they're returned with score equal to zero.
144
+
Here's the full query syntax for this request. Documents that match only the second clause of the disjunction are returned too (specifically, hotels with `Rating` equal to `3.2`). To make it clear that those documents didn't match any of the scored parts of the expression, they're returned with score equal to zero.
133
145
134
146
```json
135
147
{
@@ -142,7 +154,7 @@ Documents that matched only the second clause of the disjunction will be returne
142
154
}
143
155
```
144
156
145
-
Output consists of 4 matches: hotels that mention "ocean" in the Description or Hotel Name, or hotels with a rating of 3.2.
157
+
Output consists of 4 matches: hotels that mention "ocean" in the Description or Hotel Name, or hotels with a rating of 3.2. Notice the search score of zero for matches on the second clause.
0 commit comments