There's no straightforward way to accomplish this by annotation config.
But you can use a custom FieldBridge for the picture
field. Inside your implementation of the FieldBridge
, you will handle the special use case and add the picture.tags
elements to the tags
field of the index document.