From 83aa837f4568c6f083466c5cf472557303f66542 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 11 Apr 2019 21:35:04 -0700 Subject: [PATCH] Remove wordnet from readme, as it no longer works [skip ci] --- README.md | 21 --------------------- 1 file changed, 0 insertions(+), 21 deletions(-) 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