Uses of Class
org.elasticsearch.index.IndexSettings
-
-
Uses of IndexSettings in org.elasticsearch.env
Methods in org.elasticsearch.env with parameters of type IndexSettings Modifier and Type Method Description static voidNodeEnvironment. acquireFSLockForPaths(IndexSettings indexSettings, Path... shardPaths)Acquires, then releases, allwrite.lockfiles in the given shard paths.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.voidNodeEnvironment. deleteShardDirectorySafe(ShardId shardId, IndexSettings indexSettings)Deletes a shard data directory iff the shards locks were successfully acquired.voidNodeEnvironment. deleteShardDirectoryUnderLock(ShardLock lock, IndexSettings indexSettings)Deletes a shard data directory.List<ShardLock>NodeEnvironment. lockAllForIndex(Index index, IndexSettings settings, String lockDetails, long lockTimeoutMS)Tries to lock all local shards for the given index.static PathNodeEnvironment. resolveBaseCustomLocation(IndexSettings indexSettings, Path sharedDataPath, int nodeLockId)Resolve the custom path for a index's shard.PathNodeEnvironment. resolveCustomLocation(IndexSettings indexSettings, ShardId shardId)Resolve the custom path for a index's shard.static PathNodeEnvironment. resolveCustomLocation(IndexSettings indexSettings, ShardId shardId, Path sharedDataPath, int nodeLockId) -
Uses of IndexSettings in org.elasticsearch.index
Fields in org.elasticsearch.index declared as IndexSettings Modifier and Type Field Description protected IndexSettingsAbstractIndexComponent. indexSettingsMethods in org.elasticsearch.index that return IndexSettings Modifier and Type Method Description IndexSettingsAbstractIndexComponent. getIndexSettings()IndexSettingsIndexService. getIndexSettings()Methods in org.elasticsearch.index with parameters of type IndexSettings Modifier and Type Method Description voidIndexService.ShardStoreDeleter. addPendingDelete(ShardId shardId, IndexSettings indexSettings)voidIndexService.ShardStoreDeleter. deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings)Method parameters in org.elasticsearch.index with type arguments of type IndexSettings Modifier and Type Method Description voidIndexModule. forceQueryCacheProvider(BiFunction<IndexSettings,IndicesQueryCache,QueryCache> queryCacheProvider)Forces a certain query cache to use instead of the default one.Constructors in org.elasticsearch.index with parameters of type IndexSettings Constructor Description AbstractIndexComponent(IndexSettings indexSettings)Constructs a new index component, with the index name and its settings.IndexModule(IndexSettings indexSettings, AnalysisRegistry analysisRegistry, EngineFactory engineFactory, Map<String,IndexStorePlugin.DirectoryFactory> directoryFactories)Construct the index module for the index with the specified index settings.IndexService(IndexSettings indexSettings, IndexService.IndexCreationContext indexCreationContext, NodeEnvironment nodeEnv, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, IndexService.ShardStoreDeleter shardStoreDeleter, IndexAnalyzers indexAnalyzers, EngineFactory engineFactory, CircuitBreakerService circuitBreakerService, BigArrays bigArrays, ThreadPool threadPool, ScriptService scriptService, ClusterService clusterService, Client client, QueryCache queryCache, IndexStorePlugin.DirectoryFactory directoryFactory, IndexEventListener eventListener, Function<IndexService,CheckedFunction<DirectoryReader,DirectoryReader,IOException>> wrapperFactory, MapperRegistry mapperRegistry, IndicesFieldDataCache indicesFieldDataCache, List<SearchOperationListener> searchOperationListeners, List<IndexingOperationListener> indexingOperationListeners, NamedWriteableRegistry namedWriteableRegistry)IndexSortConfig(IndexSettings indexSettings)SearchSlowLog(IndexSettings indexSettings) -
Uses of IndexSettings in org.elasticsearch.index.analysis
Methods in org.elasticsearch.index.analysis with parameters of type IndexSettings Modifier and Type Method Description IndexAnalyzersAnalysisRegistry. build(IndexSettings indexSettings)Creates an index-levelIndexAnalyzersfrom this registry using the given index settingsIndexAnalyzersAnalysisRegistry. build(IndexSettings indexSettings, Map<String,AnalyzerProvider<?>> analyzerProviders, Map<String,AnalyzerProvider<?>> normalizerProviders, Map<String,TokenizerFactory> tokenizerFactoryFactories, Map<String,CharFilterFactory> charFilterFactoryFactories, Map<String,TokenFilterFactory> tokenFilterFactoryFactories)Map<String,CharFilterFactory>AnalysisRegistry. buildCharFilterFactories(IndexSettings indexSettings)NamedAnalyzerAnalysisRegistry. buildCustomAnalyzer(IndexSettings indexSettings, boolean normalizer, NameOrDefinition tokenizer, List<NameOrDefinition> charFilters, List<NameOrDefinition> tokenFilters)Creates a custom analyzer from a collection ofNameOrDefinitionspecifications for each component Callers are responsible for closing the returned AnalyzerMap<String,TokenFilterFactory>AnalysisRegistry. buildTokenFilterFactories(IndexSettings indexSettings)Map<String,TokenizerFactory>AnalysisRegistry. buildTokenizerFactories(IndexSettings indexSettings)AnalyzerProvider<?>PreBuiltAnalyzerProviderFactory. get(IndexSettings indexSettings, Environment environment, String name, Settings settings)TPreConfiguredAnalysisComponent. get(IndexSettings indexSettings, Environment environment, String name, Settings settings) -
Uses of IndexSettings in org.elasticsearch.index.cache
Constructors in org.elasticsearch.index.cache with parameters of type IndexSettings Constructor Description IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache) -
Uses of IndexSettings in org.elasticsearch.index.cache.bitset
Constructors in org.elasticsearch.index.cache.bitset with parameters of type IndexSettings Constructor Description BitsetFilterCache(IndexSettings indexSettings, BitsetFilterCache.Listener listener)ShardBitsetFilterCache(ShardId shardId, IndexSettings indexSettings) -
Uses of IndexSettings in org.elasticsearch.index.cache.query
Constructors in org.elasticsearch.index.cache.query with parameters of type IndexSettings Constructor Description DisabledQueryCache(IndexSettings indexSettings)IndexQueryCache(IndexSettings indexSettings, IndicesQueryCache indicesQueryCache) -
Uses of IndexSettings in org.elasticsearch.index.engine
Methods in org.elasticsearch.index.engine that return IndexSettings Modifier and Type Method Description IndexSettingsEngineConfig. getIndexSettings()Returns the index settings for this index.Constructors in org.elasticsearch.index.engine with parameters of type IndexSettings Constructor Description EngineConfig(ShardId shardId, String allocationId, ThreadPool threadPool, IndexSettings indexSettings, Engine.Warmer warmer, Store store, MergePolicy mergePolicy, Analyzer analyzer, Similarity similarity, CodecService codecService, Engine.EventListener eventListener, QueryCache queryCache, QueryCachingPolicy queryCachingPolicy, TranslogConfig translogConfig, TimeValue flushMergesAfter, List<ReferenceManager.RefreshListener> externalRefreshListener, List<ReferenceManager.RefreshListener> internalRefreshListener, Sort indexSort, CircuitBreakerService circuitBreakerService, LongSupplier globalCheckpointSupplier, Supplier<RetentionLeases> retentionLeasesSupplier, LongSupplier primaryTermSupplier, EngineConfig.TombstoneDocSupplier tombstoneDocSupplier)Creates a newEngineConfig -
Uses of IndexSettings in org.elasticsearch.index.fielddata
Methods in org.elasticsearch.index.fielddata with parameters of type IndexSettings Modifier and Type Method Description IndexFieldData<?>IndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)Constructors in org.elasticsearch.index.fielddata with parameters of type IndexSettings Constructor Description IndexFieldDataService(IndexSettings indexSettings, IndicesFieldDataCache indicesFieldDataCache, CircuitBreakerService circuitBreakerService, MapperService mapperService) -
Uses of IndexSettings in org.elasticsearch.index.fielddata.ordinals
Methods in org.elasticsearch.index.fielddata.ordinals with parameters of type IndexSettings Modifier and Type Method Description static IndexOrdinalsFieldDataGlobalOrdinalsBuilder. build(IndexReader indexReader, IndexOrdinalsFieldData indexFieldData, IndexSettings indexSettings, CircuitBreakerService breakerService, org.apache.logging.log4j.Logger logger, Function<SortedSetDocValues,ScriptDocValues<?>> scriptFunction)Build global ordinals for the providedIndexReader.static IndexOrdinalsFieldDataGlobalOrdinalsBuilder. buildEmpty(IndexSettings indexSettings, IndexReader indexReader, IndexOrdinalsFieldData indexFieldData)Constructors in org.elasticsearch.index.fielddata.ordinals with parameters of type IndexSettings Constructor Description GlobalOrdinalsIndexFieldData(IndexSettings indexSettings, String fieldName, AtomicOrdinalsFieldData[] segmentAfd, OrdinalMap ordinalMap, long memorySizeInBytes, Function<SortedSetDocValues,ScriptDocValues<?>> scriptFunction) -
Uses of IndexSettings in org.elasticsearch.index.fielddata.plain
Methods in org.elasticsearch.index.fielddata.plain with parameters of type IndexSettings Modifier and Type Method Description IndexFieldData<?>AbstractLatLonPointDVIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>BytesBinaryDVIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>ConstantIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>DocValuesIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexOrdinalsFieldDataPagedBytesIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)Constructors in org.elasticsearch.index.fielddata.plain with parameters of type IndexSettings Constructor Description AbstractIndexFieldData(IndexSettings indexSettings, String fieldName, IndexFieldDataCache cache)AbstractIndexOrdinalsFieldData(IndexSettings indexSettings, String fieldName, IndexFieldDataCache cache, CircuitBreakerService breakerService, double minFrequency, double maxFrequency, int minSegmentSize)PagedBytesIndexFieldData(IndexSettings indexSettings, String fieldName, IndexFieldDataCache cache, CircuitBreakerService breakerService, double minFrequency, double maxFrequency, int minSegmentSize)SortedSetDVOrdinalsIndexFieldData(IndexSettings indexSettings, IndexFieldDataCache cache, String fieldName, CircuitBreakerService breakerService, Function<SortedSetDocValues,ScriptDocValues<?>> scriptFunction) -
Uses of IndexSettings in org.elasticsearch.index.get
Constructors in org.elasticsearch.index.get with parameters of type IndexSettings Constructor Description ShardGetService(IndexSettings indexSettings, IndexShard indexShard, MapperService mapperService) -
Uses of IndexSettings in org.elasticsearch.index.mapper
Methods in org.elasticsearch.index.mapper that return IndexSettings Modifier and Type Method Description abstract IndexSettingsParseContext. indexSettings()IndexSettingsParseContext.InternalParseContext. indexSettings()Constructors in org.elasticsearch.index.mapper with parameters of type IndexSettings Constructor Description DocumentMapperParser(IndexSettings indexSettings, MapperService mapperService, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier)InternalParseContext(IndexSettings indexSettings, DocumentMapperParser docMapperParser, DocumentMapper docMapper, SourceToParse source, XContentParser parser)MapperService(IndexSettings indexSettings, IndexAnalyzers indexAnalyzers, NamedXContentRegistry xContentRegistry, SimilarityService similarityService, MapperRegistry mapperRegistry, Supplier<QueryShardContext> queryShardContextSupplier) -
Uses of IndexSettings in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return IndexSettings Modifier and Type Method Description IndexSettingsQueryShardContext. getIndexSettings()Returns the index settings for this context.Constructors in org.elasticsearch.index.query with parameters of type IndexSettings Constructor Description QueryShardContext(int shardId, IndexSettings indexSettings, BigArrays bigArrays, BitsetFilterCache bitsetFilterCache, BiFunction<MappedFieldType,String,IndexFieldData<?>> indexFieldDataLookup, MapperService mapperService, SimilarityService similarityService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, NamedWriteableRegistry namedWriteableRegistry, Client client, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias, Predicate<String> indexNameMatcher) -
Uses of IndexSettings in org.elasticsearch.index.seqno
Constructors in org.elasticsearch.index.seqno with parameters of type IndexSettings Constructor Description ReplicationTracker(ShardId shardId, String allocationId, IndexSettings indexSettings, long operationPrimaryTerm, long globalCheckpoint, LongConsumer onGlobalCheckpointUpdated, LongSupplier currentTimeMillisSupplier, BiConsumer<RetentionLeases,ActionListener<ReplicationResponse>> onSyncRetentionLeases, Supplier<SafeCommitInfo> safeCommitInfoSupplier)Initialize the global checkpoint service. -
Uses of IndexSettings in org.elasticsearch.index.shard
Fields in org.elasticsearch.index.shard declared as IndexSettings Modifier and Type Field Description protected IndexSettingsAbstractIndexShardComponent. indexSettingsMethods in org.elasticsearch.index.shard that return IndexSettings Modifier and Type Method Description IndexSettingsAbstractIndexShardComponent. indexSettings()IndexSettingsIndexShardComponent. indexSettings()Methods in org.elasticsearch.index.shard with parameters of type IndexSettings Modifier and Type Method Description default voidIndexEventListener. afterIndexRemoved(Index index, IndexSettings indexSettings, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason)Called after the index has been removed.static voidShardPath. deleteLeftoverShardDirectory(org.apache.logging.log4j.Logger logger, NodeEnvironment env, ShardLock lock, IndexSettings indexSettings)This method tries to delete left-over shards where the index name has been reused but the UUID is different to allow the new shard to be allocated.static ShardPathShardPath. loadShardPath(org.apache.logging.log4j.Logger logger, NodeEnvironment env, ShardId shardId, IndexSettings indexSettings)This method walks through the nodes shard paths to find the data and state path for the given shard.static ShardPathShardPath. loadShardPath(org.apache.logging.log4j.Logger logger, ShardId shardId, IndexSettings indexSettings, Path[] availableShardPaths, int nodeLockId, Path sharedDataPath)This method walks through the nodes shard paths to find the data and state path for the given shard.static ShardPathShardPath. selectNewPathForShard(NodeEnvironment env, ShardId shardId, IndexSettings indexSettings, long avgShardSizeInBytes, Map<Path,Integer> dataPathToShardCount)Constructors in org.elasticsearch.index.shard with parameters of type IndexSettings Constructor Description AbstractIndexShardComponent(ShardId shardId, IndexSettings indexSettings)IndexShard(ShardRouting shardRouting, IndexSettings indexSettings, ShardPath path, Store store, Supplier<Sort> indexSortSupplier, IndexCache indexCache, MapperService mapperService, SimilarityService similarityService, EngineFactory engineFactory, IndexEventListener indexEventListener, CheckedFunction<DirectoryReader,DirectoryReader,IOException> indexReaderWrapper, ThreadPool threadPool, BigArrays bigArrays, Engine.Warmer warmer, List<SearchOperationListener> searchOperationListener, List<IndexingOperationListener> listeners, Runnable globalCheckpointSyncer, RetentionLeaseSyncer retentionLeaseSyncer, CircuitBreakerService circuitBreakerService) -
Uses of IndexSettings in org.elasticsearch.index.similarity
Constructors in org.elasticsearch.index.similarity with parameters of type IndexSettings Constructor Description SimilarityService(IndexSettings indexSettings, ScriptService scriptService, Map<String,TriFunction<Settings,Version,ScriptService,Similarity>> similarities) -
Uses of IndexSettings in org.elasticsearch.index.store
Methods in org.elasticsearch.index.store with parameters of type IndexSettings Modifier and Type Method Description DirectoryFsDirectoryFactory. newDirectory(IndexSettings indexSettings, ShardPath path)protected DirectoryFsDirectoryFactory. newFSDirectory(Path location, LockFactory lockFactory, IndexSettings indexSettings)Constructors in org.elasticsearch.index.store with parameters of type IndexSettings Constructor Description DirectoryService(ShardId shardId, IndexSettings indexSettings)Store(ShardId shardId, IndexSettings indexSettings, Directory directory, ShardLock shardLock)Store(ShardId shardId, IndexSettings indexSettings, Directory directory, ShardLock shardLock, Store.OnClose onClose) -
Uses of IndexSettings in org.elasticsearch.index.translog
Methods in org.elasticsearch.index.translog that return IndexSettings Modifier and Type Method Description IndexSettingsTranslogConfig. getIndexSettings()Returns the index indexSettingsConstructors in org.elasticsearch.index.translog with parameters of type IndexSettings Constructor Description TranslogConfig(ShardId shardId, Path translogPath, IndexSettings indexSettings, BigArrays bigArrays)Creates a new TranslogConfig instance -
Uses of IndexSettings in org.elasticsearch.index.warmer
Constructors in org.elasticsearch.index.warmer with parameters of type IndexSettings Constructor Description ShardIndexWarmerService(ShardId shardId, IndexSettings indexSettings) -
Uses of IndexSettings in org.elasticsearch.indices
Methods in org.elasticsearch.indices that return types with arguments of type IndexSettings Modifier and Type Method Description Collection<Function<IndexSettings,Optional<EngineFactory>>>IndicesModule. getEngineFactories()Methods in org.elasticsearch.indices with parameters of type IndexSettings Modifier and Type Method Description voidIndicesService. addPendingDelete(Index index, IndexSettings settings)Adds a pending delete for the given index.voidIndicesService. addPendingDelete(ShardId shardId, IndexSettings settings)Adds a pending delete for the given index shard.booleanIndicesService. canDeleteIndexContents(Index index, IndexSettings indexSettings)This method returns true if the current node is allowed to delete the given index.IndicesService.ShardDeletionCheckResultIndicesService. canDeleteShardContent(ShardId shardId, IndexSettings indexSettings)ReturnsShardDeletionCheckResultsignaling whether the shards content for the given shard can be deleted.voidIndicesService. deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings)Deletes the shard with an already acquired shard lock.voidIndicesService. processPendingDeletes(Index index, IndexSettings indexSettings, TimeValue timeout)Processes all pending deletes for the given index.Constructor parameters in org.elasticsearch.indices with type arguments of type IndexSettings Constructor Description IndicesService(Settings settings, PluginsService pluginsService, NodeEnvironment nodeEnv, NamedXContentRegistry xContentRegistry, AnalysisRegistry analysisRegistry, IndexNameExpressionResolver indexNameExpressionResolver, MapperRegistry mapperRegistry, NamedWriteableRegistry namedWriteableRegistry, ThreadPool threadPool, IndexScopedSettings indexScopedSettings, CircuitBreakerService circuitBreakerService, BigArrays bigArrays, ScriptService scriptService, ClusterService clusterService, Client client, MetaStateService metaStateService, Collection<Function<IndexSettings,Optional<EngineFactory>>> engineFactoryProviders, Map<String,IndexStorePlugin.DirectoryFactory> directoryFactories) -
Uses of IndexSettings in org.elasticsearch.indices.analysis
Methods in org.elasticsearch.indices.analysis with parameters of type IndexSettings Modifier and Type Method Description TAnalysisModule.AnalysisProvider. get(IndexSettings indexSettings, Environment environment, String name, Settings settings)Creates a new analysis provider. -
Uses of IndexSettings in org.elasticsearch.indices.cluster
Methods in org.elasticsearch.indices.cluster that return IndexSettings Modifier and Type Method Description IndexSettingsIndicesClusterStateService.AllocatedIndex. getIndexSettings()Returns the index settings of this index.Methods in org.elasticsearch.indices.cluster with parameters of type IndexSettings Modifier and Type Method Description voidIndicesClusterStateService.AllocatedIndices. processPendingDeletes(Index index, IndexSettings indexSettings, TimeValue timeValue) -
Uses of IndexSettings in org.elasticsearch.plugins
Methods in org.elasticsearch.plugins with parameters of type IndexSettings Modifier and Type Method Description Optional<EngineFactory>EnginePlugin. getEngineFactory(IndexSettings indexSettings)When an index is created this method is invoked for each engine plugin.DirectoryIndexStorePlugin.DirectoryFactory. newDirectory(IndexSettings indexSettings, ShardPath shardPath)Creates a new directory per shard. -
Uses of IndexSettings in org.elasticsearch.search
Methods in org.elasticsearch.search with parameters of type IndexSettings Modifier and Type Method Description voidSearchService. afterIndexRemoved(Index index, IndexSettings indexSettings, IndicesClusterStateService.AllocatedIndices.IndexRemovalReason reason)
-