While there is a forEach() to process each field separately, they all write their result by newMap.put(gateFieldName, ...) so they overwrite each other.
It may be needed to add another level in the result map for each document field processed by GATE. But it will change the current output structure and I don't want to proceed until knowing how it affects the KCH deployment.
While there is a
forEach()
to process each field separately, they all write their result bynewMap.put(gateFieldName, ...)
so they overwrite each other.It may be needed to add another level in the result map for each document field processed by GATE. But it will change the current output structure and I don't want to proceed until knowing how it affects the KCH deployment.