Uses of Interface
org.springframework.data.elasticsearch.core.document.Document
Package
Description
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
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
Modifier and TypeMethodDescriptionIndicesTemplate.createMapping()
IndicesTemplate.createMapping
(Class<?> clazz) Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.createMapping()
reactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.createMapping
(Class<?> clazz) reactor.core.publisher.Mono<Document>
ReactiveIndicesTemplate.getMapping()
Modifier and TypeMethodDescriptionboolean
reactor.core.publisher.Mono<Boolean>
protected boolean
IndicesTemplate.doCreate
(IndexCoordinates indexCoordinates, Map<String, Object> settings, Document mapping) boolean
IndicesTemplate.putMapping
(Document mapping) Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>
ReactiveIndicesTemplate.putMapping
(reactor.core.publisher.Mono<Document> mapping) -
Uses of Document in org.springframework.data.elasticsearch.core
Modifier and TypeMethodDescriptionIndexOperations.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) Modifier 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) Modifier and TypeMethodDescriptionboolean
Create an index for given settings and mapping.reactor.core.publisher.Mono<Boolean>
Create an index for given settings and 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
IndexOperations.putMapping
(Document mapping) writes a mapping to the indexreactor.core.publisher.Mono<T>
Convert a document into an entityreactor.core.publisher.Mono<T>
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Boolean>
ReactiveIndexOperations.putMapping
(reactor.core.publisher.Mono<Document> mapping) writes a mapping to the indexModifierConstructorDescriptionReadDocumentCallback
(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
-
Uses of Document in org.springframework.data.elasticsearch.core.document
Modifier and TypeInterfaceDescriptioninterface
Extension toDocument
exposing search response related data.Modifier and TypeMethodDescriptionstatic Document
Document.create()
Create a new mutableDocument
.static Document
default Document
static Document
Parse JSON toDocument
.Modifier and TypeMethodDescriptiondefault <R> R
This method allows the application of a function tothis
Document
.ModifierConstructorDescriptionSearchDocumentAdapter
(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
Modifier and TypeMethodDescriptionAfterLoadCallback.onAfterLoad
(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument
.Modifier 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
.Modifier 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
Modifier and TypeMethodDescriptionTemplateData.getMapping()
PutTemplateRequest.getMappings()
ComponentTemplateRequestData.mapping()
Returns the value of themapping
record component.PutIndexTemplateRequest.mapping()
Returns the value of themapping
record component.TemplateResponseData.mapping()
Returns the value of themapping
record component.Modifier and TypeMethodDescriptionprotected String
MappingBuilder.buildPropertyMapping
(ElasticsearchPersistentEntity<?> entity, Document runtimeFields) ComponentTemplateRequestData.Builder.withMapping
(Document mapping) PutIndexTemplateRequest.Builder.withMapping
(Document mapping) TemplateData.TemplateDataBuilder.withMapping
(Document mapping) TemplateResponseData.Builder.withMapping
(Document mapping) PutTemplateRequest.TemplateRequestBuilder.withMappings
(Document mappings) ModifierConstructorDescriptionComponentTemplateRequestData
(Settings settings, Document mapping, AliasActions aliasActions, Boolean allowAutoCreate) Creates an instance of aComponentTemplateRequestData
record class.PutIndexTemplateRequest
(String name, String[] indexPatterns, Settings settings, Document mapping, AliasActions aliasActions, List<String> composedOf) Creates an instance of aPutIndexTemplateRequest
record class.TemplateResponseData
(Document mapping, Settings settings, Map<String, AliasData> aliases, List<String> composedOf) Creates an instance of aTemplateResponseData
record class. -
Uses of Document in org.springframework.data.elasticsearch.core.query
Modifier and TypeMethodDescriptionUpdateQuery.Builder.withDocument
(Document document) UpdateQuery.Builder.withUpsert
(Document upsert)