Skip to content

Commit b5873cb

Browse files
committed
TYPO : default replicas should be 1 and default shards should be 5
1 parent 151c623 commit b5873cb

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/org/springframework/data/elasticsearch/annotations

1 file changed

+2
-2
lines changed

src/main/java/org/springframework/data/elasticsearch/annotations/Document.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737
String type() default "";
3838

39-
short shards() default 1;
39+
short shards() default 5;
4040

41-
short replicas() default 5;
41+
short replicas() default 1;
4242

4343
String refreshInterval() default "1s";
4444

0 commit comments

Comments
 (0)