🔎 Open source distributed and RESTful search engine.
Go to file
Shay Banon dbd1257e0e Merge pull request #1 from dadoonet/master
Update maven assembly plugin version to 2.3
2012-02-26 15:41:29 -08:00
src upgrade to latest assembly 2012-02-26 10:09:23 +02:00
.gitignore Ignore eclipse files 2012-02-26 23:28:17 +01:00
README.md fix readme 2012-02-07 15:47:29 +02:00
pom.xml Update maven assembly plugin to latest version : 2.3 2012-02-26 23:27:02 +01: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 -> master |
---------------------------------------------
| 1.1.0                    | 0.19 -> master |
---------------------------------------------
| 1.0.0                    | 0.18           |
---------------------------------------------

A phonetic token filter that can be configured with different encoder types: metaphone, soundex, caverphone, refined_soundex, double_metaphone (uses "commons codec":http://jakarta.apache.org/commons/codec/api-release/org/apache/commons/codec/language/package-summary.html).

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
                }
            }
        }
    }
}