Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 949 Bytes

File metadata and controls

46 lines (35 loc) · 949 Bytes

Brazilian Portuguese Metaphone Plugin for Elasticsearch

This plugin integrates the Metaphone algorithm for Brazilian Portuguese into Elasticsearch.

Installing

./elasticsearch-plugin install https://github.com/anaelcarvalho/elasticsearch-analysis-metaphone_ptBR/blob/master/dist/elasticsearch-analysis-metaphone_ptBR-1.0.0.zip?raw=true

Building from source

mvn clean package
./elasticsearch-plugin install file:target/releases/elasticsearch-analysis-metaphone_ptBR-1.0.0.zip

Compatibility

Metaphone ptBR Plugin Elasticsearch JDK
1.0.0 5.0+ 1.8+

Usage

This plugin includes the 'br_metaphone' token filter.

Example usage:

{
  "settings": {
    "analysis": {
      "analyzer": {
        "myAnalyzer": {
          "tokenizer":  "standard",
          "filter": [
            "br_metaphone"
          ]
        }
      }
    }
  }
}