I am using elasticsearch 1.3.4. I have the following setup.
There is one index which has lots of types, in those one type is a parent
for rest of the types in that index. Everytime, we create new type, the
parent/child relationship is established by creating the mapping. I have
the setting { routing : true } in my mapping.
At one point, i need to clear out completely all the data in a specific
child type, so i tried to delete and reload. When i deleted the child type,
what happened to my surprise was all the queries to other children types
which had a "has_parent" in it failed completed. They returned no records
at all. There were no errors in the response.
It was as if the parent key based children data cache across all types got
dropped and it never rebuild. I came to this conclusion, since everything
worked after i restarted elasticsearch.
Could someone shed some light on what could have happened and how do we
handle such type deletion without affecting queries for other types. If
there are any workaround that could done without restarting would be also
nice.
Thank.
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7712c6d5-a66b-41d6-b22e-afa7e99af5ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.