I have an existing index for which the default ElasticSearch similarity is 
used for all fields. I would like to update this index and set some other 
type of similarity, like BM25. The query I tried is:

curl -XPOST 'http://localhost:9200/myindex/' -d 
'{"settings":{"similarity":{"newSimilarity":{"type":"BM25"}}}}'

However, this crashes with an IndexAlreadyExists exception. Still, is it 
possible to update the similarity measure for all fields inside this index 
without having to reindex the data?

Thanks!

-- 
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/d6463b4f-129b-41de-8fbc-bbc446887b54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to