This plugin integrates the Metaphone algorithm for Brazilian Portuguese into Elasticsearch.
./elasticsearch-plugin install https://github.com/anaelcarvalho/elasticsearch-analysis-metaphone_ptBR/blob/master/dist/elasticsearch-analysis-metaphone_ptBR-1.0.0.zip?raw=true
mvn clean package
./elasticsearch-plugin install file:target/releases/elasticsearch-analysis-metaphone_ptBR-1.0.0.zip
Metaphone ptBR Plugin | Elasticsearch | JDK |
---|---|---|
1.0.0 | 5.0+ | 1.8+ |
This plugin includes the 'br_metaphone' token filter.
Example usage:
{
"settings": {
"analysis": {
"analyzer": {
"myAnalyzer": {
"tokenizer": "standard",
"filter": [
"br_metaphone"
]
}
}
}
}
}