R - The type of entity references.E - The type of entities.public interface ElasticsearchSearchProjectionFactory<R,E> extends SearchProjectionFactory<R,E>
SearchProjectionFactory| Modifier and Type | Method and Description |
|---|---|
ProjectionFinalStep<com.google.gson.JsonObject> |
explanation()
Project to a
JsonObject describing the score computation for the hit. |
ProjectionFinalStep<com.google.gson.JsonObject> |
jsonHit()
Project to a
JsonObject representing the hit as returned by Elasticsearch. |
ProjectionFinalStep<com.google.gson.JsonObject> |
source()
Project to a
JsonObject representing the document as stored in Elasticsearch. |
composite, composite, composite, composite, composite, composite, composite, composite, composite, composite, distance, documentReference, entity, entityReference, extension, extension, field, field, field, field, scoreProjectionFinalStep<com.google.gson.JsonObject> source()
JsonObject representing the document as stored in Elasticsearch.ProjectionFinalStep<com.google.gson.JsonObject> explanation()
JsonObject describing the score computation for the hit.
This feature is relatively expensive, do not use unless you return a limited amount of hits (using pagination).
ProjectionFinalStep<com.google.gson.JsonObject> jsonHit()
JsonObject representing the hit as returned by Elasticsearch.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.