Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A custom SimilarityProvider example for Elasticsearch
Java
branch: master

README.textile

A custom SimilarityProvider example for Elasticseach

This plugin contains a custom Similarity class that can be used in an index:

curl -XPOST 'http://host:port/tweeter/' -d '
{
  "settings": {
    "similarity": {
      "index": {
        "type": "org.elasticsearch.index.similarity.CustomSimilarityProvider"
      },
      "search": {
        "type": "org.elasticsearch.index.similarity.CustomSimilarityProvider"
      }
    }
  }
}'

Enjoy

Something went wrong with that request. Please try again.