Skip to content

Commit 78e8261

Browse files
youssef3wisothawo
andauthored
Providing a synonym for value
Co-authored-by: Peter-Josef Meisch <[email protected]>
1 parent 9c5e9e7 commit 78e8261

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
/**
4040
* @return Index alias name.
4141
*/
42+
@AliasFor("alias")
4243
String value();
44+
45+
@AliasFor("value")
46+
String alias()
4347

4448
/**
4549
* @return Query used to limit documents the alias can access.

0 commit comments

Comments
 (0)