R
- The type of references.O
- The type of loaded objects.public interface LuceneSearchProjectionFactoryContext<R,O> extends SearchProjectionFactoryContext<R,O>
SearchProjectionFactoryContext
Modifier and Type | Method and Description |
---|---|
SearchProjectionTerminalContext<Document> |
document()
Project to a Lucene
Document containing all the stored fields. |
SearchProjectionTerminalContext<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, extension, extension, field, field, object, reference, score
SearchProjectionTerminalContext<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.
SearchProjectionTerminalContext<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.