@@ -99,7 +99,7 @@ PUT /my_index
99
99
as a single unchanged token.((("keyword tokenizer")))
100
100
<2> The `lowercase` token filter lowercases the token.
101
101
102
- With((("lowercase token filter"))) the `case_insentive_sort ` analyzer in place, we can now use it in our
102
+ With((("lowercase token filter"))) the `case_insensitive_sort ` analyzer in place, we can now use it in our
103
103
multifield:
104
104
105
105
[source,js]
@@ -131,7 +131,7 @@ PUT /my_index/user/3
131
131
GET /my_index/user/_search?sort=name.lower_case_sort
132
132
--------------------------------------------------
133
133
<1> The `name.lower_case_sort` field will provide us with
134
- case-insentive sorting.
134
+ case-insensitive sorting.
135
135
136
136
The preceding search request returns our documents in the order that we expect:
137
137
`bailey`, `Boffey`, `BROWN`.
@@ -144,7 +144,7 @@ to the English alphabet.
144
144
What if we were to add the German name _Böhm_?
145
145
146
146
Now our names would be returned in this order: `bailey`, `Boffey`, `BROWN`,
147
- `Böhm`. The reason that `böhm ` comes after `BROWN` is that these words are
147
+ `Böhm`. The reason that `Böhm ` comes after `BROWN` is that these words are
148
148
still being sorted by the values of the bytes used to represent them, and an
149
149
`r` is stored as the byte `0x72`, while `ö` is stored as `0xF6` and so is
150
150
sorted last. The byte value of each character is an accident of history.
0 commit comments