diff --git a/README.md b/README.md index 804da36..3915817 100644 --- a/README.md +++ b/README.md @@ -1537,13 +1537,12 @@ index.cleanup(); > The `cleanup` method has no effect when not using `fastupdate: true`. - ## Context Search The basic idea of this concept is to limit relevance by its context instead of calculating relevance through the whole distance of its corresponding document. The context acts like a bidirectional moving window of 2 pointers (terms) which can initially have a maximum distance of the value passed via option setting `depth` and dynamically growth on search when the query did not match any results.

- +

### Enable Context-Search @@ -1574,7 +1573,7 @@ var index = new FlexSearch({ ### Compare Context Search -Pay attention of the numbers "1", "2" and "3": +Pay attention to the numbers "1", "2" and "3": ```js const index = new Index(); diff --git a/demo/autocomplete.html b/demo/autocomplete.html index c9ebcf7..66ee1a3 100644 --- a/demo/autocomplete.html +++ b/demo/autocomplete.html @@ -1,29 +1,31 @@ - - + + Demo: Auto-Complete -(iterate through result by arrow keys) - - - - -
- - -
+
+