Uses of Interface
org.springframework.data.elasticsearch.core.document.Document
Packages that use Document
Package
Description
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
This package contains classes that use the old Elasticsearch 7 libraries to access Elasticsearch either directly by
using the RestHighLevelClient or indirectly by using code copied from Elasticsearch libraries (reactive
implementation).
Classes related to the Document structure of Elasticsearch documents and search responses.
classes and interfaces related to Spring Data Elasticsearch events and callbacks.
Classes related to Elasticsearch index management.
-
Uses of Document in org.springframework.data.elasticsearch.client.elc
Methods in org.springframework.data.elasticsearch.client.elc that return DocumentModifier and TypeMethodDescriptionIndicesTemplate.createMapping()
IndicesTemplate.createMapping
(Class<?> clazz) Methods in org.springframework.data.elasticsearch.client.elc that return types with arguments of type DocumentModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.createMapping()
reactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.createMapping
(Class<?> clazz) reactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.getMapping()
Methods in org.springframework.data.elasticsearch.client.elc with parameters of type DocumentModifier and TypeMethodDescriptionboolean
reactor.core.publisher.Mono<Boolean>
protected boolean
IndicesTemplate.doCreate
(IndexCoordinates indexCoordinates, Map<String, Object> settings, Document mapping) boolean
IndicesTemplate.putMapping
(Document mapping) Method parameters in org.springframework.data.elasticsearch.client.elc with type arguments of type DocumentModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>
ReactiveIndicesTemplate.putMapping
(reactor.core.publisher.Mono<Document> mapping) -
Uses of Document in org.springframework.data.elasticsearch.client.erhlc
Methods in org.springframework.data.elasticsearch.client.erhlc that return DocumentModifier and TypeMethodDescriptionstatic Document
DocumentAdapters.from
(org.elasticsearch.action.get.GetResponse getResponse) Deprecated.Create aDocument
fromGetResponse
.static Document
DocumentAdapters.from
(org.elasticsearch.index.get.GetResult source) Deprecated.Create aDocument
fromGetResult
.static Document
DocumentAdapters.fromDocumentFields
(Iterable<org.elasticsearch.common.document.DocumentField> documentFields, String index, String id, long version, long seqNo, long primaryTerm) Methods in org.springframework.data.elasticsearch.client.erhlc that return types with arguments of type DocumentModifier and TypeMethodDescriptionstatic MultiGetItem<Document>
DocumentAdapters.from
(org.elasticsearch.action.get.MultiGetItemResponse itemResponse) Deprecated.Creates aMultiGetItem<Document>
from aMultiGetItemResponse
.static List<MultiGetItem<Document>>
DocumentAdapters.from
(org.elasticsearch.action.get.MultiGetResponse source) Deprecated.Creates a List ofMultiGetItem<Document>
s fromMultiGetResponse
. -
Uses of Document in org.springframework.data.elasticsearch.core
Methods in org.springframework.data.elasticsearch.core that return DocumentModifier and TypeMethodDescriptionAbstractIndexTemplate.createMapping()
AbstractIndexTemplate.createMapping
(Class<?> clazz) IndexOperations.createMapping()
Creates the index mapping for the entity this IndexOperations is bound to.IndexOperations.createMapping
(Class<?> clazz) Creates the index mapping for the given classIndexInformation.getMapping()
protected <T> Document
AbstractElasticsearchTemplate.maybeCallbackAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Methods in org.springframework.data.elasticsearch.core that return types with arguments of type DocumentModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Document>
ReactiveIndexOperations.createMapping()
Creates the index mapping for the entity this IndexOperations is bound to.reactor.core.publisher.Mono<Document>
ReactiveIndexOperations.createMapping
(Class<?> clazz) Creates the index mapping for the given classreactor.core.publisher.Mono<Document>
ReactiveIndexOperations.getMapping()
Get mapping for the index targeted defined by thisReactiveIndexOperations
static reactor.core.publisher.Mono<Document>
ReactiveResourceUtil.loadDocument
(String path, String annotation) loads a Document initialized with data from a given resource path.protected <T> reactor.core.publisher.Mono<Document>
AbstractReactiveElasticsearchTemplate.maybeCallbackAfterLoad
(Document document, Class<T> type, IndexCoordinates index) Methods in org.springframework.data.elasticsearch.core with parameters of type DocumentModifier and TypeMethodDescriptionboolean
boolean
Create an index for given settings and mapping.reactor.core.publisher.Mono<Boolean>
Create an index for given settings and mapping.protected abstract boolean
AbstractIndexTemplate.doCreate
(IndexCoordinates index, Map<String, Object> settings, Document mapping) protected abstract boolean
AbstractIndexTemplate.doPutMapping
(IndexCoordinates index, Document mapping) protected <T> T
AbstractElasticsearchTemplate.maybeCallbackAfterConvert
(T entity, Document document, IndexCoordinates index) protected <T> reactor.core.publisher.Mono<T>
AbstractReactiveElasticsearchTemplate.maybeCallbackAfterConvert
(T entity, Document document, IndexCoordinates index) protected <T> Document
AbstractElasticsearchTemplate.maybeCallbackAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) protected <T> reactor.core.publisher.Mono<Document>
AbstractReactiveElasticsearchTemplate.maybeCallbackAfterLoad
(Document document, Class<T> type, IndexCoordinates index) static IndexInformation
boolean
AbstractIndexTemplate.putMapping
(Document mapping) boolean
IndexOperations.putMapping
(Document mapping) writes a mapping to the indexreactor.core.publisher.Mono<T>
Convert a document into an entityreactor.core.publisher.Mono<T>
Method parameters in org.springframework.data.elasticsearch.core with type arguments of type DocumentModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>
ReactiveIndexOperations.putMapping
(reactor.core.publisher.Mono<Document> mapping) writes a mapping to the indexConstructor parameters in org.springframework.data.elasticsearch.core with type arguments of type DocumentModifierConstructorDescriptionReadDocumentCallback
(EntityReader<? super T, Document> reader, Class<T> type, IndexCoordinates index) ReadDocumentCallback
(EntityReader<? super T, Document> reader, Class<T> type, IndexCoordinates index) -
Uses of Document in org.springframework.data.elasticsearch.core.convert
Methods in org.springframework.data.elasticsearch.core.convert that return DocumentMethods in org.springframework.data.elasticsearch.core.convert with parameters of type Document -
Uses of Document in org.springframework.data.elasticsearch.core.document
Subinterfaces of Document in org.springframework.data.elasticsearch.core.documentModifier and TypeInterfaceDescriptioninterface
Extension toDocument
exposing search response related data.Classes in org.springframework.data.elasticsearch.core.document that implement DocumentMethods in org.springframework.data.elasticsearch.core.document that return DocumentModifier and TypeMethodDescriptionstatic Document
Document.create()
Create a new mutableDocument
.static Document
default Document
static Document
Parse JSON toDocument
.Method parameters in org.springframework.data.elasticsearch.core.document with type arguments of type DocumentModifier and TypeMethodDescriptiondefault <R> R
This method allows the application of a function tothis
Document
.Constructors in org.springframework.data.elasticsearch.core.document with parameters of type DocumentModifierConstructorDescriptionSearchDocumentAdapter
(Document delegate, float score, Object[] sortValues, Map<String, List<Object>> fields, Map<String, List<String>> highlightFields, Map<String, SearchDocumentResponse> innerHits, NestedMetaData nestedMetaData, Explanation explanation, List<String> matchedQueries, String routing) -
Uses of Document in org.springframework.data.elasticsearch.core.event
Methods in org.springframework.data.elasticsearch.core.event that return DocumentModifier and TypeMethodDescriptionAfterLoadCallback.onAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.Methods in org.springframework.data.elasticsearch.core.event that return types with arguments of type DocumentModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<Document>
ReactiveAfterLoadCallback.onAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.Methods in org.springframework.data.elasticsearch.core.event with parameters of type DocumentModifier and TypeMethodDescriptionAfterConvertCallback.onAfterConvert
(T entity, Document document, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.org.reactivestreams.Publisher<T>
ReactiveAfterConvertCallback.onAfterConvert
(T entity, Document document, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.AfterLoadCallback.onAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.org.reactivestreams.Publisher<Document>
ReactiveAfterLoadCallback.onAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
. -
Uses of Document in org.springframework.data.elasticsearch.core.index
Methods in org.springframework.data.elasticsearch.core.index that return DocumentModifier and TypeMethodDescriptionAliasData.getFilter()
TemplateData.getMapping()
PutTemplateRequest.getMappings()
Methods in org.springframework.data.elasticsearch.core.index with parameters of type DocumentModifier and TypeMethodDescriptionprotected String
MappingBuilder.buildPropertyMapping
(ElasticsearchPersistentEntity<?> entity, Document runtimeFields) static AliasData
AliasData.of
(String alias, Document filter, String indexRouting, String searchRouting, Boolean isWriteIndex, Boolean isHidden) TemplateData.TemplateDataBuilder.withMapping
(Document mapping) PutTemplateRequest.TemplateRequestBuilder.withMappings
(Document mappings) -
Uses of Document in org.springframework.data.elasticsearch.core.query
Methods in org.springframework.data.elasticsearch.core.query that return DocumentMethods in org.springframework.data.elasticsearch.core.query with parameters of type DocumentModifier and TypeMethodDescriptionUpdateQuery.Builder.withDocument
(Document document) UpdateQuery.Builder.withUpsert
(Document upsert)