Skip to content

Commit fe4febb

Browse files
authored
minor wording nit
1 parent 9537fbd commit fe4febb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ There are three index strategies packaged with `js-search`.
166166

167167
`AllSubstringsIndexStrategy` indexes for all substrings. In other word "c", "ca", "cat", "a", "at", and "t" all match "cat".
168168

169-
`ExactWordIndexStrategy` indexes for exact word matches. For example "bob" will match "bob jones".
169+
`ExactWordIndexStrategy` indexes for exact word matches. For example "bob" will match "bob jones" (but "bo" will not).
170170

171-
By default Js Search supports prefix indexing but this can be disabled if it is not required. You
171+
By default Js Search supports prefix indexing but this is configurable. You
172172
can specify an alternate [`IIndexStrategy`](https://github.com/bvaughn/js-search/blob/master/source/IndexStrategy/IndexStrategy.js)
173173
implementation in order to disable prefix indexing, like so:
174174

0 commit comments

Comments
 (0)