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-pagination-page-layout.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,19 +104,20 @@ POST /indexes/hotels-sample-index/docs/search?api-version=2019-05-06
104
104
}
105
105
```
106
106
107
-
### New behavior (starting July 15, 2020)
107
+
### New behavior (starting July 15)
108
108
109
109
Services created after July 15, 2020 will provide a different highlighting experience. Services created before that date will not change in their highlighting behavior.
110
110
111
111
With the new behavior:
112
-
* Only phrases that match the full phrase query will be returned. The query "super bowl" will return hightlights like this:
112
+
113
+
* Only phrases that match the full phrase query will be returned. The query "super bowl" will return highlights like this:
113
114
114
115
```html
115
116
'<em>super bowl</em> is super awesome with a bowl of chips'
116
117
```
117
-
Note that the term *bowl of chips* does not have any highlighting since it does not match the full phrase.
118
+
Note that the term *bowl of chips* does not have any highlighting because it does not match the full phrase.
118
119
119
-
* It will be possible to specify the fragment size returned for the highlight.
120
+
* It will be possible to specify the fragment size returned for the highlight. Fragment size is specified as number of characters (maximum is 1000 characters).
120
121
121
122
When you are writing client code that implements hit highlighting, be aware of this change. Note that this will not impact you unless you create a completely new search service.
0 commit comments