Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Wording change #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/asciidoc/reference/data-solr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Page<Product> findByNameLike(Collection<String> name);
[[solr.query-methods.at-query]]
=== Using the `@Query` Annotation

Using named queries (see "`<<solr.query-methods.named-queries>>`") to declare queries for entities is a valid approach and works fine for a small number of queries. As the queries themselves are tied to the Java method that executes them, you actually can bind them directly by using the Spring Data Solr `@Query` annotation. The following example uses the `@Query` annotation to declare a query:
Using named queries (see "`<<solr.query-methods.named-queries>>`") to declare queries for entities is a valid approach and works fine for a small number of queries. As the queries themselves are tied to the Java method that runs them, you actually can bind them directly by using the Spring Data Solr `@Query` annotation. The following example uses the `@Query` annotation to declare a query:

.Declare query at the method using the `@Query` annotation.
====
Expand Down