Uses of Class
org.elasticsearch.index.Index
-
-
Uses of Index in org.elasticsearch
Methods in org.elasticsearch that return Index Modifier and Type Method Description IndexElasticsearchException. getIndex()Methods in org.elasticsearch with parameters of type Index Modifier and Type Method Description voidElasticsearchException. setIndex(Index index)Constructors in org.elasticsearch with parameters of type Index Constructor Description ResourceAlreadyExistsException(Index index) -
Uses of Index in org.elasticsearch.action
Methods in org.elasticsearch.action with parameters of type Index Modifier and Type Method Description Optional<Exception>RequestValidators.RequestValidator. validateRequest(T request, ClusterState state, Index[] indices)Validates a given request with its associated concrete indices and the current state.Optional<Exception>RequestValidators. validateRequest(T request, ClusterState state, Index[] indices) -
Uses of Index in org.elasticsearch.action.admin.indices.close
Methods in org.elasticsearch.action.admin.indices.close that return Index Modifier and Type Method Description IndexCloseIndexResponse.IndexResult. getIndex()Constructors in org.elasticsearch.action.admin.indices.close with parameters of type Index Constructor Description IndexResult(Index index)IndexResult(Index index, Exception failure)IndexResult(Index index, CloseIndexResponse.ShardResult[] shards) -
Uses of Index in org.elasticsearch.action.admin.indices.create
Methods in org.elasticsearch.action.admin.indices.create that return Index Modifier and Type Method Description IndexCreateIndexClusterStateUpdateRequest. recoverFrom()Methods in org.elasticsearch.action.admin.indices.create with parameters of type Index Modifier and Type Method Description CreateIndexClusterStateUpdateRequestCreateIndexClusterStateUpdateRequest. recoverFrom(Index recoverFrom) -
Uses of Index in org.elasticsearch.action.admin.indices.mapping.put
Methods in org.elasticsearch.action.admin.indices.mapping.put that return Index Modifier and Type Method Description IndexPutMappingRequest. getConcreteIndex()Returns a concrete index for this mapping ornullif no concrete index is definedMethods in org.elasticsearch.action.admin.indices.mapping.put with parameters of type Index Modifier and Type Method Description PutMappingRequestPutMappingRequest. setConcreteIndex(Index index)Sets a concrete index for this put mapping request.PutMappingRequestBuilderPutMappingRequestBuilder. setConcreteIndex(Index index) -
Uses of Index in org.elasticsearch.cluster
Methods in org.elasticsearch.cluster that return types with arguments of type Index Modifier and Type Method Description List<Index>ClusterChangedEvent. indicesDeleted()Returns the indices deleted in this event -
Uses of Index in org.elasticsearch.cluster.ack
Methods in org.elasticsearch.cluster.ack that return Index Modifier and Type Method Description Index[]IndicesClusterStateUpdateRequest. indices()Returns the indices the operation needs to be executed onMethods in org.elasticsearch.cluster.ack with parameters of type Index Modifier and Type Method Description TIndicesClusterStateUpdateRequest. indices(Index[] indices)Sets the indices the operation needs to be executed on -
Uses of Index in org.elasticsearch.cluster.action.index
Methods in org.elasticsearch.cluster.action.index with parameters of type Index Modifier and Type Method Description voidMappingUpdatedAction. updateMappingOnMaster(Index index, String type, Mapping mappingUpdate, ActionListener<Void> listener)Update mappings on the master node, waiting for the change to be committed, but not for the mapping update to be applied on all nodes. -
Uses of Index in org.elasticsearch.cluster.metadata
Methods in org.elasticsearch.cluster.metadata that return Index Modifier and Type Method Description Index[]IndexNameExpressionResolver. concreteIndices(ClusterState state, IndicesRequest request)Same asIndexNameExpressionResolver.concreteIndices(ClusterState, IndicesOptions, String...), but the index expressions and options are encapsulated in the specified request.Index[]IndexNameExpressionResolver. concreteIndices(ClusterState state, IndicesOptions options, long startTime, String... indexExpressions)Translates the provided index expression into actual concrete indices, properly deduplicated.Index[]IndexNameExpressionResolver. concreteIndices(ClusterState state, IndicesOptions options, String... indexExpressions)Translates the provided index expression into actual concrete indices, properly deduplicated.IndexIndexNameExpressionResolver. concreteSingleIndex(ClusterState state, IndicesRequest request)Utility method that allows to resolve an index expression to its corresponding single concrete index.IndexIndexNameExpressionResolver. concreteWriteIndex(ClusterState state, IndicesRequest request)Utility method that allows to resolve an index expression to its corresponding single write index.IndexIndexGraveyard.Tombstone. getIndex()The deleted index.IndexIndexMetaData. getIndex()IndexIndexMetaData. getResizeSourceIndex()Methods in org.elasticsearch.cluster.metadata that return types with arguments of type Index Modifier and Type Method Description Map<Index,Long>Manifest. getIndexGenerations()Returns map fromIndexto index metadata generation.Methods in org.elasticsearch.cluster.metadata with parameters of type Index Modifier and Type Method Description IndexGraveyard.BuilderIndexGraveyard.Builder. addTombstone(Index index)Add a deleted index to the list of tombstones in the cluster state.booleanIndexGraveyard. containsIndex(Index index)Returns true if the graveyard contains a tombstone for the given index.IndexMetaDataMetaData. getIndexSafe(Index index)Returns theIndexMetaDatafor this index.IndexMetaDataMetaData.Builder. getSafe(Index index)IndexMetaDataMetaData. index(Index index)Method parameters in org.elasticsearch.cluster.metadata with type arguments of type Index Modifier and Type Method Description IndexGraveyard.BuilderIndexGraveyard.Builder. addTombstones(Collection<Index> indices)Add a set of deleted indexes to the list of tombstones in the cluster state.ClusterStateMetaDataDeleteIndexService. deleteIndices(ClusterState currentState, Set<Index> indices)Delete some indices from the cluster state.static ManifestManifest. unknownCurrentTermAndVersion(long globalGeneration, Map<Index,Long> indexGenerations)Constructor parameters in org.elasticsearch.cluster.metadata with type arguments of type Index Constructor Description Manifest(long currentTerm, long clusterStateVersion, long globalGeneration, Map<Index,Long> indexGenerations) -
Uses of Index in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return Index Modifier and Type Method Description IndexIndexRoutingTable. getIndex()Return the index idIndexShardRouting. index()Methods in org.elasticsearch.cluster.routing with parameters of type Index Modifier and Type Method Description static IndexRoutingTable.BuilderIndexRoutingTable. builder(Index index)booleanRoutingTable. hasIndex(Index index)IndexRoutingTableRoutingTable. index(Index index)static IndexShardRoutingTableIndexShardRoutingTable.Builder. readFromThin(StreamInput in, Index index)Constructors in org.elasticsearch.cluster.routing with parameters of type Index Constructor Description Builder(Index index) -
Uses of Index in org.elasticsearch.common.logging
Methods in org.elasticsearch.common.logging with parameters of type Index Modifier and Type Method Description static org.apache.logging.log4j.LoggerLoggers. getLogger(Class<?> clazz, Index index, String... prefixes) -
Uses of Index in org.elasticsearch.env
Methods in org.elasticsearch.env with parameters of type Index Modifier and Type Method Description voidNodeEnvironment. deleteIndexDirectorySafe(Index index, long lockTimeoutMS, IndexSettings indexSettings)Deletes an indexes data directory recursively iff all of the indexes shards locks were successfully acquired.voidNodeEnvironment. deleteIndexDirectoryUnderLock(Index index, IndexSettings indexSettings)Deletes an indexes data directory recursively.Set<ShardId>NodeEnvironment. findAllShardIds(Index index)Tries to find all allocated shards for the given index on the current node.Path[]NodeEnvironment. indexPaths(Index index)Returns all index paths.List<ShardLock>NodeEnvironment. lockAllForIndex(Index index, IndexSettings settings, String lockDetails, long lockTimeoutMS)Tries to lock all local shards for the given index.PathNodeEnvironment.NodePath. resolve(Index index)Resolves index directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}Map<NodeEnvironment.NodePath,Long>NodeEnvironment. shardCountPerPath(Index index)Find all the shards for this index, returning a map of theNodePathto the number of shards on that path -
Uses of Index in org.elasticsearch.gateway
Methods in org.elasticsearch.gateway with parameters of type Index Modifier and Type Method Description voidMetaStateService. cleanupIndex(Index index, long currentGeneration)Removes old state files in index directory.protected abstract SettingsPriorityComparator. getIndexSettings(Index index)IndexMetaDataMetaStateService. loadIndexState(Index index)Loads the index state for the provided index name, returning null if doesn't exists. -
Uses of Index in org.elasticsearch.index
Fields in org.elasticsearch.index declared as Index Modifier and Type Field Description static Index[]Index. EMPTY_ARRAYMethods in org.elasticsearch.index that return Index Modifier and Type Method Description static IndexIndex. fromXContent(XContentParser parser)IndexIndexModule. getIndex()Returns the index this module is associated withIndexIndexSettings. getIndex()Returns the index this settings object belongs toIndexAbstractIndexComponent. index()IndexIndexComponent. index()Constructors in org.elasticsearch.index with parameters of type Index Constructor Description IndexNotFoundException(Index index)IndexNotFoundException(Index index, Throwable cause) -
Uses of Index in org.elasticsearch.index.fielddata.plain
Fields in org.elasticsearch.index.fielddata.plain declared as Index Modifier and Type Field Description protected IndexDocValuesIndexFieldData. indexMethods in org.elasticsearch.index.fielddata.plain that return Index Modifier and Type Method Description IndexDocValuesIndexFieldData. index()Constructors in org.elasticsearch.index.fielddata.plain with parameters of type Index Constructor Description BinaryDVIndexFieldData(Index index, String fieldName)BytesBinaryDVIndexFieldData(Index index, String fieldName)DocValuesIndexFieldData(Index index, String fieldName)LatLonPointDVIndexFieldData(Index index, String fieldName)SortedNumericDVIndexFieldData(Index index, String fieldNames, IndexNumericFieldData.NumericType numericType) -
Uses of Index in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return Index Modifier and Type Method Description IndexQueryShardContext. getFullyQualifiedIndex()Returns the fully qualified index including a remote cluster alias if applicable, and the index uuidIndexQueryShardContext. index()Constructors in org.elasticsearch.index.query with parameters of type Index Constructor Description QueryShardException(Index index, String msg, Throwable cause, Object... args)This constructor is provided for use in unit tests where aQueryShardContextmay not be available -
Uses of Index in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return Index Modifier and Type Method Description IndexShardId. getIndex()Methods in org.elasticsearch.index.shard with parameters of type Index Modifier and Type Method Description default voidIndexEventListener. afterIndexRemoved(Index index, IndexSettings indexSettings, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason)Called after the index has been removed.default voidIndexEventListener. beforeIndexAddedToCluster(Index index, Settings indexSettings)Called on the Master node only before theIndexServiceinstances is created to simulate an index creation.default voidIndexEventListener. beforeIndexCreated(Index index, Settings indexSettings)Called before the index gets created.Constructors in org.elasticsearch.index.shard with parameters of type Index Constructor Description ShardId(Index index, int shardId) -
Uses of Index in org.elasticsearch.indices
Methods in org.elasticsearch.indices with parameters of type Index Modifier and Type Method Description voidIndicesService. addPendingDelete(Index index, IndexSettings settings)Adds a pending delete for the given index.booleanIndicesService. canDeleteIndexContents(Index index, IndexSettings indexSettings)This method returns true if the current node is allowed to delete the given index.booleanIndicesService. hasIndex(Index index)IndexServiceIndicesService. indexService(Index index)Returns an IndexService for the specified index if exists otherwise returnsnull.IndexServiceIndicesService. indexServiceSafe(Index index)Returns an IndexService for the specified index if exists otherwise aIndexNotFoundExceptionis thrown.voidIndicesService. processPendingDeletes(Index index, IndexSettings indexSettings, TimeValue timeout)Processes all pending deletes for the given index.voidIndicesService. removeIndex(Index index, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason, String extraInfo)IndexMetaDataIndicesService. verifyIndexIsDeleted(Index index, ClusterState clusterState)Verify that the contents on disk for the given index is deleted; if not, delete the contents.Constructors in org.elasticsearch.indices with parameters of type Index Constructor Description AliasFilterParsingException(Index index, String name, String desc, Throwable ex)IndexClosedException(Index index)IndexPrimaryShardNotAllocatedException(Index index)InvalidAliasNameException(Index index, String name, String desc)InvalidIndexNameException(Index index, String name, String desc)TypeMissingException(Index index, String... types)TypeMissingException(Index index, Throwable cause, String... types)Constructor parameters in org.elasticsearch.indices with type arguments of type Index Constructor Description NodeIndicesStats(CommonStats oldStats, Map<Index,List<IndexShardStats>> statsByShard) -
Uses of Index in org.elasticsearch.indices.cluster
Methods in org.elasticsearch.indices.cluster with parameters of type Index Modifier and Type Method Description UIndicesClusterStateService.AllocatedIndices. indexService(Index index)Returns an IndexService for the specified index if exists otherwise returnsnull.voidIndicesClusterStateService.AllocatedIndices. processPendingDeletes(Index index, IndexSettings indexSettings, TimeValue timeValue)voidIndicesClusterStateService.AllocatedIndices. removeIndex(Index index, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason, String extraInfo)Removes the given index from this service and releases all associated resources.IndexMetaDataIndicesClusterStateService.AllocatedIndices. verifyIndexIsDeleted(Index index, ClusterState clusterState)Verify that the contents on disk for the given index is deleted; if not, delete the contents. -
Uses of Index in org.elasticsearch.indices.fielddata.cache
Methods in org.elasticsearch.indices.fielddata.cache with parameters of type Index Modifier and Type Method Description IndexFieldDataCacheIndicesFieldDataCache. buildIndexFieldDataCache(IndexFieldDataCache.Listener listener, Index index, String fieldName) -
Uses of Index in org.elasticsearch.search
Methods in org.elasticsearch.search with parameters of type Index Modifier and Type Method Description voidSearchService. afterIndexRemoved(Index index, IndexSettings indexSettings, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason) -
Uses of Index in org.elasticsearch.snapshots
Methods in org.elasticsearch.snapshots that return types with arguments of type Index Modifier and Type Method Description static Set<Index>RestoreService. restoringIndices(ClusterState currentState, Set<Index> indicesToCheck)Returns the indices that are currently being restored and that are contained in the indices-to-check set.static Set<Index>SnapshotsService. snapshottingIndices(ClusterState currentState, Set<Index> indicesToCheck)Returns the indices that are currently being snapshotted (with partial == false) and that are contained in the indices-to-check set.Method parameters in org.elasticsearch.snapshots with type arguments of type Index Modifier and Type Method Description static Set<Index>RestoreService. restoringIndices(ClusterState currentState, Set<Index> indicesToCheck)Returns the indices that are currently being restored and that are contained in the indices-to-check set.static Set<Index>SnapshotsService. snapshottingIndices(ClusterState currentState, Set<Index> indicesToCheck)Returns the indices that are currently being snapshotted (with partial == false) and that are contained in the indices-to-check set.static RestoreInProgressRestoreService. updateRestoreStateWithDeletedIndices(RestoreInProgress oldRestore, Set<Index> deletedIndices)
-