Hi, I need to override Lucene Default Similarity Class which is used by Elasticsearch for indexing and searching. On searching net, I found some similar implementations which are doing similar things. My difficulty is that I have no idea of how to actually implement this in my code. I found some resources:
https://github.com/tlrx/elasticsearch-custom-similarity-provider curl -XPOST 'http://host:port/tweeter/' -d '{ "settings": { "similarity": { "index": { "type": "org.elasticsearch.index.similarity.CustomSimilarityProvider" }, "search": { "type": "org.elasticsearch.index.similarity.CustomSimilarityProvider" } } }}' I'm not able to understand how can i use this line directly during indexing so that my default similarity changes to this custom similarity. *org.elasticsearch.index.similarity.CustomSimilarityProvider* Can anyone please tell me how I can do this ? I tried running the same thing on my machine but it's not working for me. Do I need to modify this line or path ? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/18cb1da8-7c4c-4ea0-b5b1-10b6f81880b0%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
