Hi,
Is it possible to specify multiple preferences in an Elasticsearch query? I'm getting an error when using _local and _shard as preferences:
URL: localhost:9200/testindex/_search?preference=_local,_shards:1
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "no Preference for [_local,_shards]"
}
],
"type": "illegal_argument_exception",
"reason": "no Preference for [_local,_shards]"
},
"status": 400
}
Thanks