Error with latest add-on and Elasticsearch 2.1.1

PaulB

Well-known member
Getting this quite a bit:
Code:
XenForo_Exception: Elasticsearch error: {"root_cause":[{"type":"search_parse_exception","reason":"No mapping found for [date] in order to sort on"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"xenforo","node":"8M4gIflfHEHKl3AqixnTLK","reason":{"type":"search_parse_exception","reason":"No mapping found for [date] in order to sort on"}}]}

Pretty much all searches fail. This probably has something to do with the fact that there are no documents in the index. Rebuilding fails with the same error. (Why is it trying to sort during indexing?)

Enabling dynamic scripting doesn't seem to make a difference.

There are no mappings for the index. Not sure how they're supposed to get set:
Code:
{"xenforo":{"mappings":{}}}

"Optimize Mappings" has no effect.

Cluster settings:
Code:
{
  "persistent" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "enable" : "all"
        }
      }
    }
  },
  "transient" : { }
}
 
Top Bottom