gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Add fields of node references to index #48

Open Jotschi opened 6 years ago

Jotschi commented 6 years ago

It would be possible to extend the current document generation process in order to add node reference fields to documents that will be indexed. Currently those documents will not be included.

Including those fields would require the addition of a process that tracks modifications of foreign nodes that are referenced. These nodes would need to be updated as well.

Node content updates would need to check whether the node of the content is referenced via a node field (in the selected branch). In that case the found node would need to be added to the search batch as well.

We should also check whether ES can provide means to search in-between multiple documents.