I have two separate indexes containing different fields that together contain all the search fields for the index. For example, the first index contains indexed text for all documents, and the second contains tags for each document.
Note that the example below is a little depressed as I changed the names of the objects. Index1: text document identifier
index2: tag-name: "very important" user: "Fred id"
I would like to leave the indices separate, since it seems useless to constantly update one index when the user adds / removes a tag.
So far it seems to me that I need to process two search results and combine them manually (in code). Are there any other suggestions?
I do not want to combine separate / fragment indexes.
source
share