Luc DUZAN created JAMES-2071: -------------------------------- Summary: Improve ElasticSearch mapping Key: JAMES-2071 URL: https://issues.apache.org/jira/browse/JAMES-2071 Project: James Server Issue Type: Improvement Reporter: Luc DUZAN
Firstly in a first time, we put header in ES but we do not specify anything about them in the mapping! By default each time ES see a field (or "subfield") it infear the type for it and create a index for it. If a new document arrive with the same field with a type that is different from the inferre type that will create a exception. So in a first time we should specify in the mapping all the header we need to look for and move the mapping to `dynamic: false`. Also we should review the mapping to see if it suffers from other issues. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org