Package org.opensearch.index
package org.opensearch.index
Core classes responsible for handling all indexing operations in OpenSearch
-
ClassDescriptionA base class for new index componentsActions that can be executed on an Index ComponentTracks indexing memory pressureSets up classes for node/shard level indexing pressure.The indexing slowlog implementationIndexModule represents the central extension point for index level custom implementations like:
Similarity
- NewSimilarity
implementations can be registered throughIndexModule.addSimilarity(String, TriFunction)
while existing Providers can be referenced through Settings under theIndexModule.SIMILARITY_SETTINGS_PREFIX
prefix along with the "type" value.Type of file systemException thrown if an index is not foundThe main OpenSearch index serviceContext for index creationShard Store Deleter InterfaceThis class encapsulates all index level settings and handles settings updates.Holds all the information that is used to build the sort order of an index.The main opensearch index warmerListener for the index warmerA handle on the execution of warm-up action.Request for onIndexModule extension pointResponse for onIndexModule extension pointA shard in opensearch is a Lucene index, and a Lucene index is broken down into segments.The merge scheduler (ConcurrentMergeScheduler
) controls the execution of merge operations once they are needed (according to the merge policy).ReplicationStats is used to provide segment replication statistics at an index, node and cluster level on a segment replication enabled cluster.The search time slow log implementationReturn Segment Replication stats for a Replication Group.Service responsible for applying backpressure for lagging behind replicas when Segment Replication is enabled.SegRep stats for a single shard.Segment Replication Stats.Tracker responsible for computing SegmentReplicationStats.Shard Indexing Pressure is a framework level artefact build on top of IndexingPressure to track incoming indexing request, per shard.The Shard Indexing Pressure Memory Manager is the construct responsible for increasing and decreasing the allocated shard limit based on incoming requests.This class contains all the settings which are required and owned by {TODO link ShardIndexingPressure}.Shard indexing pressure store acts as a central repository for all the shard-level tracker objects currently being used at the Node level, for tracking indexing pressure requests.This class is responsible for all the tracking that needs to be performed at every Shard Level for Indexing Operations on the node.Common operation tracker is used to track values applicable across the operations for a specific shard role.OperationTracker bundles the different kind of attributes which needs to be tracked for every operation, per shard: a.Performance Tracker is used to track the request performance statistics for every operation, per shard.RejectionTracker allows tracking the rejection statistics per shard.StatsTracker is used to track request level aggregated statistics for a shard.Levels for the slow logsTypes of index versions