I have a situation where I had an object, let's say called Person.
Originally, it had fields: A, B, C
I created 10 indexes, each for this Person object type. Indexed many values with it.
Later, we modified the Person class in our code, so now it has fields: A, B, C, D (i.e. we added Field D).
I found that attempting to index objects with the new field worked. However, searches for objects didn't seem to work properly.
I blew away one of the indexes and rebuilt it with the new fields for the Person object.
I found that searches on the rebuilt index still didn't work.
I blew away ALL indexes, and rebuilt them all, using the new Person fields... and THEN searching worked correctly.
So I was wondering - can you have a single Elasticsearch server with a single node, with multiple indexes, contain data for a given object, where the definition of that object is different between indexes? Should the above not have happened?
- Tim