Skip to content

rodrigopc/elasticsearch-analysis-metaphone_ptBR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brazilian Portuguese Metaphone Plugin for Elasticsearch

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

Installing

./elasticsearch-plugin install https://github.com/rodrigopc/elasticsearch-analysis-metaphone_ptBR/blob/master/dist/elasticsearch-analysis-metaphone_ptBR-7.3.0.zip?raw

Building from source

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

Compatibility

Metaphone ptBR Plugin Elasticsearch JDK
1.0.0 5.0.0 1.8+
1.0.1 5.6.3 1.8+
6.2.2 6.2.2 1.8+
6.3.2 6.3.2 1.8+
7.2.0 7.2.0 1.8+
7.3.0 7.3.0 1.8+

Usage

This plugin includes the 'br_metaphone' token filter.

Example usage:

curl -XPUT -H "Content-Type: application/json" http://localhost:9200/myIndex -d '
{
  "settings": {
    "analysis": {
      "analyzer": {
        "myAnalyzer": {
          "tokenizer":  "standard",
          "filter": [
            "br_metaphone"
          ]
        }
      }
    }
  }
}'

About

Brazilian Portuguese Metaphone plugin for Elasticsearch 6.x

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%