1
0
mirror of synced 2026-05-22 20:23:18 +00:00

Clarify that interface-based projections are not supported.

Closes #3261

Signed-off-by: hxreborn <hxreborn@duck.com>
This commit is contained in:
rafareborn
2026-03-29 18:37:31 +02:00
committed by GitHub
parent 78bef3105c
commit 475df8ef80
@@ -2,3 +2,10 @@
= Projections
include::{commons}@data-commons::page$repositories/projections.adoc[leveloffset=+1]
[[elasticsearch.projections.limitations]]
== Elasticsearch Projection Limitations
IMPORTANT: Interface-based projections are not supported in Spring Data Elasticsearch repository query methods.
To limit the fields returned from Elasticsearch, use the xref:elasticsearch/repositories/elasticsearch-repositories.adoc#elasticsearch.repositories.annotations.sourcefilters[`@SourceFilters`] annotation on your repository methods instead.