R
- The type of references.O
- The type of loaded objects.public interface ElasticsearchSearchProjectionFactoryContext<R,O> extends SearchProjectionFactoryContext<R,O>
SearchProjectionFactoryContext
Modifier and Type | Method and Description |
---|---|
SearchProjectionTerminalContext<String> |
explanation()
Project to a string representing a JSON object describing the score computation for the hit.
|
SearchProjectionTerminalContext<String> |
source()
Project to a string representing the JSON document as stored in Elasticsearch.
|
composite, composite, composite, composite, composite, composite, composite, composite, composite, composite, distance, documentReference, extension, extension, field, field, object, reference, score
SearchProjectionTerminalContext<String> source()
SearchProjectionTerminalContext<String> explanation()
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.