diff --git a/README.md b/README.md index 904c7af..d9de234 100644 --- a/README.md +++ b/README.md @@ -355,27 +355,6 @@ Search with: Product.search query, fields: [:name_tagged] ``` -### WordNet - -Prepopulate English synonyms with the [WordNet database](https://en.wikipedia.org/wiki/WordNet). - -Download [WordNet 3.0](http://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz) to each Elasticsearch server and move `wn_s.pl` to the `/var/lib` directory. - -```sh -cd /tmp -curl -o wordnet.tar.gz http://wordnetcode.princeton.edu/3.0/WNprolog-3.0.tar.gz -tar -zxvf wordnet.tar.gz -mv prolog/wn_s.pl /var/lib -``` - -Tell each model to use it: - -```ruby -class Product < ApplicationRecord - searchkick wordnet: true -end -``` - ### Misspellings By default, Searchkick handles misspelled queries by returning results with an [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance) of one. -- libgit2 0.21.0