🔎 Open source distributed and RESTful search engine.
Go to file
Shay Banon 37f97ca49d fix pom and keep at snap for now 2012-04-22 13:37:18 +03:00
src add Lucene Phonetic 3.6 to plugin zip 2012-04-22 12:21:52 +02:00
.gitignore Ignore eclipse files 2012-02-26 23:28:17 +01:00
README.md update to Lucene Phonetic 3.6, added Nysiis, KoelnerPhonetik, HaasePhonetik, added simple test 2012-04-22 12:08:05 +02:00
pom.xml fix pom and keep at snap for now 2012-04-22 13:37:18 +03:00

README.md

Phonetic Analysis for ElasticSearch

The Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch.

In order to install the plugin, simply run: bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/1.1.0.

-----------------------------------------------
| Phonetic Analysis Plugin | ElasticSearch    |
-----------------------------------------------
| master                   | 0.19.2 -> master |
-----------------------------------------------
| 1.2.0                    | 0.19.2 -> master |
-----------------------------------------------
| 1.1.0                    | 0.19             |
-----------------------------------------------
| 1.0.0                    | 0.18             |
-----------------------------------------------

A phonetic token filter that can be configured with different encoder types: metaphone, doublemetaphone, soundex, refinedsoundex, caverphone1, caverphone2, cologne, nysiis, koelnerphonetik, haasephonetik

The replace parameter (defaults to true) controls if the token processed should be replaced with the encoded one (set it to true), or added (set it to false).

{
    "index" : {
        "analysis" : {
            "analyzer" : {
                "my_analyzer" : {
                    "tokenizer" : "standard",
                    "filter" : ["standard", "lowercase", "my_metaphone"]
                }
            },
            "filter" : {
                "my_metaphone" : {
                    "type" : "phonetic",
                    "encoder" : "metaphone",
                    "replace" : false
                }
            }
        }
    }
}