diff --git a/src/main/java/org/springframework/data/elasticsearch/annotations/Query.java b/src/main/java/org/springframework/data/elasticsearch/annotations/Query.java index 3c14197d8..1848670a8 100644 --- a/src/main/java/org/springframework/data/elasticsearch/annotations/Query.java +++ b/src/main/java/org/springframework/data/elasticsearch/annotations/Query.java @@ -15,6 +15,7 @@ */ package org.springframework.data.elasticsearch.annotations; +import org.springframework.data.annotation.QueryAnnotation; import java.lang.annotation.*; /** @@ -23,11 +24,13 @@ * @author Rizwan Idrees * @author Mohsin Husen * @author Peter-Josef Meisch + * @author Steven Pearce */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE}) @Documented +@QueryAnnotation public @interface Query { /**