GitHub user sebbASF opened an issue:
https://github.com/apache/incubator-ponymail/issues/345
Bug: ES 5.x does not support word-cloud (stats.lua)
ES 5.x does not support the word-cloud code in stats.lua.
The query fails with:
"Fielddata is disabled on text fields by default. Set fielddata=true on
[subject] in order to load fielddata in memory by uninverting the inverted
index. Note that this can however use significant memory."
It can be fixed by changing the mapping as follows:
PUT ponymail/_mapping/mbox?update_all_types
{
"properties": {
"subject": {
"type": "text",
"fielddata": true
}
}
}
However this increases memory storage as noted above.
See
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/fielddata.html#_fielddata_is_disabled_on_literal_text_literal_fields_by_default
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---