From 0ec525bb4ea4f17146f553fcfff56c13a292ea0d Mon Sep 17 00:00:00 2001 From: stexxen Date: Tue, 21 Sep 2021 16:45:46 +0100 Subject: [PATCH] Close Issue #1938 by adding @queryAnnotation --- .../springframework/data/elasticsearch/annotations/Query.java | 3 +++ 1 file changed, 3 insertions(+) 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 { /**