RichJackson / cogstack

Database - Elasticsearch realtime mapping. With NLP goodiness.
Apache License 2.0
7 stars 2 forks source link

[BUG] fieldsToGate does not support multiple field #28

Closed hkkenneth closed 7 years ago

hkkenneth commented 7 years ago

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.