Uses of Class
fr.gouv.vitam.common.database.server.elasticsearch.ElasticsearchIndexAlias
Package
Description
Database server package in vitam
Elasticsearch server package in Vitam
-
Uses of ElasticsearchIndexAlias in fr.gouv.vitam.common.database.server
ModifierConstructorDescriptionDbRequestSingle
(VitamCollection<VitamDocument<?>> collection, OntologyLoader ontologyLoader, ElasticsearchIndexAlias elasticsearchIndexAlias) Constructor with VitamCollection -
Uses of ElasticsearchIndexAlias in fr.gouv.vitam.common.database.server.elasticsearch
Modifier and TypeMethodDescriptionfinal ElasticsearchIndexAlias
ElasticsearchAccess.createIndexWithoutAlias
(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings, String elasticsearchConfigurationFile) ElasticsearchIndexAlias.createUniqueIndexName()
static ElasticsearchIndexAlias
ElasticsearchIndexAlias.ofCrossTenantCollection
(String collectionName) Builder for collection that store documents of all tenants in same index (functional admin collections)static ElasticsearchIndexAlias
ElasticsearchIndexAlias.ofFullIndexName
(String fullIndexName) Stored for building indexes with exact full name (eg.static ElasticsearchIndexAlias
ElasticsearchIndexAlias.ofMultiTenantCollection
(String collectionName, int tenantId) Builder for collection that store documents per-tenant indexes (unit/objectgroup/logbookoperation collections when tenant is not in a tenant group)static ElasticsearchIndexAlias
ElasticsearchIndexAlias.ofMultiTenantCollection
(String collectionName, String tenantGroupName) Builder for collection that store documents per-tenant-group indexes (unit/objectgroup/logbookoperation collections when tenant is in a tenant group)ElasticsearchIndexAliasResolver.resolveIndexName
(Integer tenantId) Modifier and TypeMethodDescriptionfinal void
ElasticsearchAccess.createIndexAndAliasIfAliasNotExists
(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings, String elasticsearchConfigurationFile) final ElasticsearchIndexAlias
ElasticsearchAccess.createIndexWithoutAlias
(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings, String elasticsearchConfigurationFile) void
ElasticsearchAccess.delete
(ElasticsearchIndexAlias indexAlias, List<String> ids) final void
ElasticsearchAccess.deleteIndexByAliasForTesting
(ElasticsearchIndexAlias indexAlias) final void
ElasticsearchAccess.deleteIndexForTesting
(ElasticsearchIndexAlias indexAlias) final boolean
ElasticsearchAccess.existsAlias
(ElasticsearchIndexAlias indexAlias) final boolean
ElasticsearchAccess.existsIndex
(ElasticsearchIndexAlias index) final co.elastic.clients.elasticsearch.indices.GetAliasResponse
ElasticsearchAccess.getAlias
(ElasticsearchIndexAlias indexAlias) void
ElasticsearchAccess.indexEntries
(ElasticsearchIndexAlias indexAlias, Collection<? extends org.bson.Document> documents, boolean withRefreshIndex) final <T> void
ElasticsearchAccess.indexEntry
(ElasticsearchIndexAlias indexAlias, String id, VitamDocument<T> vitamDocument) boolean
ElasticsearchIndexAlias.isValidAliasOfIndex
(ElasticsearchIndexAlias indexName) final void
ElasticsearchAccess.purgeIndexForTesting
(ElasticsearchIndexAlias indexAlias) protected void
ElasticsearchAccess.purgeIndexForTesting
(ElasticsearchIndexAlias indexAlias, Integer tenantId) final void
ElasticsearchAccess.refreshIndex
(ElasticsearchIndexAlias indexAlias) IndexationHelper.reindex
(com.mongodb.client.MongoCollection<org.bson.Document> collection, ElasticsearchAccess esClient, ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings, ElasticsearchCollections elasticsearchCollection, List<Integer> tenantIds, String tenantGroupName, String elasticsearchConfigurationFilePath) reindex a collection on a tenant list with a esmapping filefinal co.elastic.clients.elasticsearch.core.search.ResponseBody<com.fasterxml.jackson.databind.node.ObjectNode>
ElasticsearchAccess.search
(ElasticsearchIndexAlias indexAlias, co.elastic.clients.elasticsearch._types.query_dsl.Query query, String[] esProjection, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, Integer limit) final co.elastic.clients.elasticsearch.core.search.ResponseBody<com.fasterxml.jackson.databind.node.ObjectNode>
ElasticsearchAccess.search
(ElasticsearchIndexAlias indexAlias, co.elastic.clients.elasticsearch._types.query_dsl.Query query, String[] esProjection, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, Integer limit, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, boolean trackTotalHits) final void
ElasticsearchAccess.switchIndex
(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexAlias indexNameToSwitchTo) IndexationHelper.switchIndex
(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexAlias newIndex, ElasticsearchAccess esClient) switch index, attach a new index to an existing alias<T> void
ElasticsearchAccess.updateEntry
(ElasticsearchIndexAlias indexAlias, String id, VitamDocument<T> vitamDocument) Update one element fullyModifier and TypeMethodDescriptionfinal co.elastic.clients.elasticsearch.core.search.ResponseBody<com.fasterxml.jackson.databind.node.ObjectNode>
ElasticsearchAccess.searchCrossIndices
(Set<ElasticsearchIndexAlias> indexAliases, co.elastic.clients.elasticsearch._types.query_dsl.Query query, String[] esProjection, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, Integer limit, Map<String, co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, boolean trackTotalHits)