Bläddra i källkod

改变类型为默认

161250169 6 år sedan
förälder
incheckning
649c975e0e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/java/com/es/demo/back/ChoiceQuestion.java

+ 1 - 1
src/main/java/com/es/demo/back/ChoiceQuestion.java

@@ -23,7 +23,7 @@ import java.util.Set;
  **/
 @Data
 @NoArgsConstructor
-@Document(indexName = "test_question", type = "test_type")
+@Document(indexName = "test_question", type = "_doc")
 public class ChoiceQuestion {
 
     @Id