I have two separate indexes holding different fields that together contain all the searchable fields for an index. For example the first index holds the indexed text for all documents, and the second holds tags for each and every document.
Note the example below is a bit wonky as I've changed the names of the entities. Index1: text document-id
Index2: tag-name: "very important" user: "Fred's id"
I would like to keep the indexes separate as it seems wasteful to continually update a single index whenever a user adds/removes a tag.
So far I think I might need to process the two search results and merge them manually (in code).Any other suggestions ?
I do not want to merge separate/sharded indexes.