Skip to content

Commit 13c1f2c

Browse files
authored
Merge pull request #111828 from HeidiSteen/heidist-master
frag size edit
2 parents dc3e22f + abe8e1e commit 13c1f2c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/search/search-pagination-page-layout.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,20 @@ POST /indexes/hotels-sample-index/docs/search?api-version=2019-05-06
104104
}
105105
```
106106

107-
### New behavior (starting July 15, 2020)
107+
### New behavior (starting July 15)
108108

109109
Services created after July 15, 2020 will provide a different highlighting experience. Services created before that date will not change in their highlighting behavior.
110110

111111
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:
113114

114115
```html
115116
'<em>super bowl</em> is super awesome with a bowl of chips'
116117
```
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.
118119

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).
120121

121122
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.
122123

0 commit comments

Comments
 (0)