Update index dynamically doesn't work (Spring Data Elasticsearch)
问题 I have a model which is: @Document(indexName = "index", type = "logs") public class Log { @Id private String id; private String test_no; private String entire_log; private String method; private String timestamp; private String thread_name; private String level; private String logger_name; private String formatted_message; // CONSTRUCTORS, GETTERS AND SETTERS... } I have an applicationContext.xml file which contains a bean, used to save the value of the dynamic index. The location of this