However the RestIndexAction seems to overwrite my controller
registration, where as the RestIndicesAliasesAction works as expected.
Is this something which is due to the loading order of the
controllers?
This results that I always get an error like this (coming from the
RestIndexAction):
{"error":"InvalidIndexNameException[[_suggestRefresh] Invalid index
name [suggestRefresh], must not start with '']","status":400}
Any tips how I can change this behaviour? Am I doing some stupid
mistake?
Actual constants will be preferred compared to wildcards when registering
an action, so if you provide /_suggestRefresh your action will be executed.
Are you sure you are registering the action / using the correct http verb?
This is done in many places in elasticsearch (like /_optimize, or
/_refresh).
However the RestIndexAction seems to overwrite my controller
registration, where as the RestIndicesAliasesAction works as expected.
Is this something which is due to the loading order of the
controllers?
This results that I always get an error like this (coming from the
RestIndexAction):
{"error":"InvalidIndexNameException[[_suggestRefresh] Invalid index
name [suggestRefresh], must not start with '']","status":400}
Any tips how I can change this behaviour? Am I doing some stupid
mistake?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.