Currently the @Setting' annotation can only be used to specify the path to a file containing the settings for an index that is to be created. Other setting options are part of the @Document` annotation.
The arguments from @Document should be transferred to @Settingand in addition to that, parameters for index sorting (see #1716) should be added.