gentics / mesh-incubator

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

User Name of creator and editor in ES Document #245

Open dkadio opened 4 years ago

dkadio commented 4 years ago

Search for creator.name or editor.name in same node document is currently not possible, because only uuid of the user is indexed. So would be very cool to have those in the node document as well.

philippguertler commented 4 years ago

Thanks for submitting the suggestion. Internal note: Node documents have also to be updated when the user name changes.

https://github.com/gentics/mesh/blob/e285367d524ee2651e49a099ff84437bb72b713d/elasticsearch/src/main/java/com/gentics/mesh/search/index/AbstractTransformer.java#L103-L110

Jotschi commented 4 years ago

@philippguertler This would be less impactful if the username would be immutable. Which it is currently not. I think it should be immutable but not sure whether we want to change this behaviour.