Hi,
Is behaviour described below normal?
Lets:
- create index test
- create 2 filtered index aliases, t1 (with filter val=1) and t2 (with
filter val=2)
- delete index by alias t1 - this deletes whole index test instead of all
the documents from test that matches filter val=1.
Is it a bug or it behaves like this and nothing can be done with that ?
Best regards.
Marcin Dojwa
Hi,
I think deletion of an index by its alias is expected behavior, if you want
to delete all documents in an index there should be another way of
achieving that (
Elasticsearch Platform — Find real-time answers at scale | Elastic).
On Thursday, August 9, 2012 3:00:34 PM UTC+1, Marcin Dojwa wrote:
Hi,
Is behaviour described below normal?
Lets:
- create index test
- create 2 filtered index aliases, t1 (with filter val=1) and t2 (with
filter val=2)
- delete index by alias t1 - this deletes whole index test instead of all
the documents from test that matches filter val=1.
Is it a bug or it behaves like this and nothing can be done with that ?
Best regards.
Marcin Dojwa
Thank you for help.
Best regards.
2012/8/9 Alex López aliksandr@gmail.com
Hi,
I think deletion of an index by its alias is expected behavior, if you
want to delete all documents in an index there should be another way of
achieving that (
Elasticsearch Platform — Find real-time answers at scale | Elastic).
On Thursday, August 9, 2012 3:00:34 PM UTC+1, Marcin Dojwa wrote:
Hi,
Is behaviour described below normal?
Lets:
- create index test
- create 2 filtered index aliases, t1 (with filter val=1) and t2 (with
filter val=2)
- delete index by alias t1 - this deletes whole index test instead of all
the documents from test that matches filter val=1.
Is it a bug or it behaves like this and nothing can be done with that ?
Best regards.
Marcin Dojwa