Interface LuceneSearchProjection<P>
- All Superinterfaces:
SearchProjection<P>
- All Known Implementing Classes:
LuceneByMappedTypeProjection,LuceneConstantProjection,LuceneDistanceToFieldProjection,LuceneEntityCompositeProjection,LuceneEntityLoadingProjection,LuceneEntityReferenceProjection,LuceneFieldHighlightProjection,LuceneFieldProjection,LuceneIdProjection,LuceneObjectProjection,LuceneThrowingProjection,LuceneWithParametersProjection
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn object responsible for extracting data from the Lucene Searcher, to implement a projection. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <P> LuceneSearchProjection<P>from(LuceneSearchIndexScope<?> scope, SearchProjection<P> projection) request(ProjectionRequestContext context) Request the collection of per-document data that will be used inLuceneSearchProjection.Extractor.values(ProjectionExtractContext), making sure that the requirements for this projection are met.
-
Field Details
-
log
-
-
Method Details
-
indexNames
-
request
Request the collection of per-document data that will be used inLuceneSearchProjection.Extractor.values(ProjectionExtractContext), making sure that the requirements for this projection are met.- Parameters:
context- An execution context for the request.- Returns:
- An
LuceneSearchProjection.Extractor, to extract the result of the projection from the Elasticsearch response.
-
from
static <P> LuceneSearchProjection<P> from(LuceneSearchIndexScope<?> scope, SearchProjection<P> projection)
-