Thread:Extension talk:CirrusSearch/An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later./reply (3)

In my case the problem was solved by adding the following line to file "/etc/elasticsearch/elasticsearch.yml":

script.disable_dynamic: false

See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html#_enabling_dynamic_scripting (section "enabling dynamic scripting").