Skip to content

Commit 076f261

Browse files
authored
Enable MultiField annotation on entity getter.
Original Pull Request #2649 Closes #2600
1 parent ad67c00 commit 076f261

File tree

2 files changed

+198
-61
lines changed

2 files changed

+198
-61
lines changed

Diff for: src/main/java/org/springframework/data/elasticsearch/annotations/MultiField.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @author Peter-Josef Meisch
3131
*/
3232
@Retention(RetentionPolicy.RUNTIME)
33-
@Target({ ElementType.FIELD, ElementType.ANNOTATION_TYPE })
33+
@Target({ ElementType.FIELD, ElementType.ANNOTATION_TYPE, ElementType.METHOD })
3434
@Documented
3535
public @interface MultiField {
3636

0 commit comments

Comments
 (0)