Consider an index idx, with a mapping for a single type docs. Consider
aliases of the format idx-{ACCOUNT-ID}, with a term filter and a routing
value set to the account id, like so:
When indexing a percolator query, if you do that via an alias, will it
respect the routing?
# will the alias routing from idx-1 apply to this operation?
curl -XPUT http://0.0.0.0:9200/idx-1/.percolator/1 -d '{query:...,
account_id:1}'
When percolating an existing document from one of those aliases, will
the routing and term filter from the alias be used when retrieving/checking
the matching percolator documents?
# will the alias routing and term filter from idx-1 apply to the
percolators?
curl http://0.0.0.0:9200/idx-1/docs/123/_percolate
Consider an index idx, with a mapping for a single type docs. Consider
aliases of the format idx-{ACCOUNT-ID}, with a term filter and a routing
value set to the account id, like so:
When indexing a percolator query, if you do that via an alias, will it
respect the routing?
# will the alias routing from idx-1 apply to this operation?
curl -XPUT http://0.0.0.0:9200/idx-1/.percolator/1 -d '{query:...,
account_id:1}'
When percolating an existing document from one of those aliases, will
the routing and term filter from the alias be used when retrieving/checking
the matching percolator documents?
# will the alias routing and term filter from idx-1 apply to the
percolators?
curl http://0.0.0.0:9200/idx-1/docs/123/_percolate
Consider an index idx, with a mapping for a single type docs.
Consider aliases of the format idx-{ACCOUNT-ID}, with a term filter and a
routing value set to the account id, like so:
When indexing a percolator query, if you do that via an alias, will it
respect the routing?
# will the alias routing from idx-1 apply to this operation?
curl -XPUT http://0.0.0.0:9200/idx-1/.percolator/1 -d '{query:...,
account_id:1}'
When percolating an existing document from one of those aliases, will
the routing and term filter from the alias be used when retrieving/checking
the matching percolator documents?
# will the alias routing and term filter from idx-1 apply to the
percolators?
curl http://0.0.0.0:9200/idx-1/docs/123/_percolate
Consider an index idx, with a mapping for a single type docs.
Consider aliases of the format idx-{ACCOUNT-ID}, with a term filter and a
routing value set to the account id, like so:
When indexing a percolator query, if you do that via an alias, will
it respect the routing?
# will the alias routing from idx-1 apply to this operation?
curl -XPUT http://0.0.0.0:9200/idx-1/.percolator/1 -d '{query:...,
account_id:1}'
When percolating an existing document from one of those aliases, will
the routing and term filter from the alias be used when retrieving/checking
the matching percolator documents?
# will the alias routing and term filter from idx-1 apply to the
percolators?
curl http://0.0.0.0:9200/idx-1/docs/123/_percolate
Any insight much appreciated.
--
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 elasticsearc...@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.