Class LuceneFieldHighlightProjection
- java.lang.Object
-
- org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldHighlightProjection
-
- All Implemented Interfaces:
LuceneSearchProjection<List<String>>,SearchProjection<List<String>>
public class LuceneFieldHighlightProjection extends Object implements LuceneSearchProjection<List<String>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLuceneFieldHighlightProjection.Builderstatic classLuceneFieldHighlightProjection.Factory<F>static classLuceneFieldHighlightProjection.HighlighterValues<A>-
Nested classes/interfaces inherited from interface org.hibernate.search.backend.lucene.search.projection.impl.LuceneSearchProjection
LuceneSearchProjection.Extractor<E,P>
-
-
Field Summary
-
Fields inherited from interface org.hibernate.search.backend.lucene.search.projection.impl.LuceneSearchProjection
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>indexNames()org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldHighlightProjection.FieldHighlightExtractor<?>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.StringtoString()
-
-
-
Method Detail
-
indexNames
public Set<String> indexNames()
- Specified by:
indexNamesin interfaceLuceneSearchProjection<List<String>>
-
request
public org.hibernate.search.backend.lucene.search.projection.impl.LuceneFieldHighlightProjection.FieldHighlightExtractor<?> request(ProjectionRequestContext context)
Description copied from interface:LuceneSearchProjectionRequest the collection of per-document data that will be used inLuceneSearchProjection.Extractor.values(ProjectionExtractContext), making sure that the requirements for this projection are met.- Specified by:
requestin interfaceLuceneSearchProjection<List<String>>- Parameters:
context- An execution context for the request.- Returns:
- An
LuceneSearchProjection.Extractor, to extract the result of the projection from the Elasticsearch response.
-
-