Uses of Class
fr.gouv.vitam.common.database.server.elasticsearch.ElasticsearchIndexAlias
-
Packages that use ElasticsearchIndexAlias Package Description fr.gouv.vitam.common.database.server Database server package in vitamfr.gouv.vitam.common.database.server.elasticsearch Elasticsearch server package in Vitam -
-
Uses of ElasticsearchIndexAlias in fr.gouv.vitam.common.database.server
Constructors in fr.gouv.vitam.common.database.server with parameters of type ElasticsearchIndexAlias Constructor Description DbRequestSingle(VitamCollection<VitamDocument<?>> collection, OntologyLoader ontologyLoader, ElasticsearchIndexAlias elasticsearchIndexAlias)
Constructor with VitamCollection -
Uses of ElasticsearchIndexAlias in fr.gouv.vitam.common.database.server.elasticsearch
Methods in fr.gouv.vitam.common.database.server.elasticsearch that return ElasticsearchIndexAlias Modifier and Type Method Description ElasticsearchIndexAlias
ElasticsearchAccess. createIndexWithoutAlias(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings)
ElasticsearchIndexAlias
ElasticsearchIndexAlias. createUniqueIndexName()
static ElasticsearchIndexAlias
ElasticsearchIndexAlias. ofCrossTenantCollection(java.lang.String collectionName)
Builder for collection that store documents of all tenants in same index (functional admin collections)static ElasticsearchIndexAlias
ElasticsearchIndexAlias. ofFullIndexName(java.lang.String fullIndexName)
Stored for building indexes with exact full name (eg.static ElasticsearchIndexAlias
ElasticsearchIndexAlias. ofMultiTenantCollection(java.lang.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(java.lang.String collectionName, java.lang.String tenantGroupName)
Builder for collection that store documents per-tenant-group indexes (unit/objectgroup/logbookoperation collections when tenant is in a tenant group)ElasticsearchIndexAlias
ElasticsearchIndexAliasResolver. resolveIndexName(java.lang.Integer tenantId)
Methods in fr.gouv.vitam.common.database.server.elasticsearch with parameters of type ElasticsearchIndexAlias Modifier and Type Method Description void
ElasticsearchAccess. createIndexAndAliasIfAliasNotExists(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings)
ElasticsearchIndexAlias
ElasticsearchAccess. createIndexWithoutAlias(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings)
void
ElasticsearchAccess. delete(ElasticsearchIndexAlias indexAlias, java.util.List<java.lang.String> ids)
void
ElasticsearchAccess. deleteIndexByAliasForTesting(ElasticsearchIndexAlias indexAlias)
void
ElasticsearchAccess. deleteIndexForTesting(ElasticsearchIndexAlias indexAlias)
boolean
ElasticsearchAccess. existsAlias(ElasticsearchIndexAlias indexAlias)
boolean
ElasticsearchAccess. existsIndex(ElasticsearchIndexAlias index)
org.elasticsearch.client.GetAliasesResponse
ElasticsearchAccess. getAlias(ElasticsearchIndexAlias indexAlias)
void
ElasticsearchAccess. indexEntries(ElasticsearchIndexAlias indexAlias, java.util.Collection<? extends org.bson.Document> documents)
<T> void
ElasticsearchAccess. indexEntry(ElasticsearchIndexAlias indexAlias, java.lang.String id, VitamDocument<T> vitamDocument)
boolean
ElasticsearchIndexAlias. isValidAliasOfIndex(ElasticsearchIndexAlias indexName)
void
ElasticsearchAccess. purgeIndexForTesting(ElasticsearchIndexAlias indexAlias)
protected void
ElasticsearchAccess. purgeIndexForTesting(ElasticsearchIndexAlias indexAlias, java.lang.Integer tenantId)
void
ElasticsearchAccess. refreshIndex(ElasticsearchIndexAlias indexAlias)
ReindexationOK
IndexationHelper. reindex(com.mongodb.client.MongoCollection<org.bson.Document> collection, ElasticsearchAccess esClient, ElasticsearchIndexAlias indexAlias, ElasticsearchIndexSettings indexSettings, ElasticsearchCollections elasticsearchCollection, java.util.List<java.lang.Integer> tenantIds, java.lang.String tenantGroupName)
reindex a collection on a tenant list with a esmapping fileorg.elasticsearch.action.search.SearchResponse
ElasticsearchAccess. search(ElasticsearchIndexAlias indexAlias, org.elasticsearch.index.query.QueryBuilder query, org.elasticsearch.index.query.QueryBuilder filter, java.lang.String[] esProjection, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, java.lang.Integer limit)
org.elasticsearch.action.search.SearchResponse
ElasticsearchAccess. search(ElasticsearchIndexAlias indexAlias, org.elasticsearch.index.query.QueryBuilder query, org.elasticsearch.index.query.QueryBuilder filter, java.lang.String[] esProjection, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, java.lang.Integer limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.Integer scrollTimeout, boolean trackTotalHits)
void
ElasticsearchAccess. switchIndex(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexAlias indexNameToSwitchTo)
SwitchIndexResult
IndexationHelper. switchIndex(ElasticsearchIndexAlias indexAlias, ElasticsearchIndexAlias newIndex, ElasticsearchAccess esClient)
switch index, attach a new index to an existing alias<T> void
ElasticsearchAccess. updateEntry(ElasticsearchIndexAlias indexAlias, java.lang.String id, VitamDocument<T> vitamDocument)
Update one element fullyMethod parameters in fr.gouv.vitam.common.database.server.elasticsearch with type arguments of type ElasticsearchIndexAlias Modifier and Type Method Description org.elasticsearch.action.search.SearchResponse
ElasticsearchAccess. searchCrossIndices(java.util.Set<ElasticsearchIndexAlias> indexAliases, org.elasticsearch.index.query.QueryBuilder query, org.elasticsearch.index.query.QueryBuilder filter, java.lang.String[] esProjection, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, java.lang.Integer limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.Integer scrollTimeout, boolean trackTotalHits)
-