How to configure similarity algorithm on index or type level?

Per ES guide, we can configure similarity on a field in mapping setting
like this:
"book" : {
"properties" : {
"title" : { "type" : "string", "similarity" : "my_similarity" }
Is this possible to configure the similarity on index or type level so that
don't have to configure the similarity for each field one by one?

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
To view this discussion on the web visit
For more options, visit