R - The type of entity references.E - The type of entities.public interface LuceneSearchProjectionFactory<R,E> extends SearchProjectionFactory<R,E>
SearchProjectionFactory| Modifier and Type | Method and Description |
|---|---|
ProjectionFinalStep<Document> |
document()
Project to a Lucene
Document containing all the stored fields. |
ProjectionFinalStep<Explanation> |
explanation()
Project to a Lucene
Explanation describing the score computation for the hit. |
composite, composite, composite, composite, composite, composite, composite, composite, composite, composite, distance, documentReference, entity, entityReference, extension, extension, field, field, field, field, scoreProjectionFinalStep<Document> document()
Document containing all the stored fields.
Note that only stored fields are returned: fields that are not marked as
projectable
may be missing.
ProjectionFinalStep<Explanation> explanation()
Explanation describing the score computation for the hit.
This feature is relatively expensive, do not use unless you return a limited amount of objects (using pagination).
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.