diff --git a/server/src/main/java/org/opensearch/index/AbstractIndexComponent.java b/server/src/main/java/org/opensearch/index/AbstractIndexComponent.java index e63216494a5b2..88809156174c0 100644 --- a/server/src/main/java/org/opensearch/index/AbstractIndexComponent.java +++ b/server/src/main/java/org/opensearch/index/AbstractIndexComponent.java @@ -36,6 +36,11 @@ import org.opensearch.common.logging.DeprecationLogger; import org.opensearch.common.logging.Loggers; +/** + * A base class for new index components + * + * @opensearch.internal + */ public abstract class AbstractIndexComponent implements IndexComponent { protected final Logger logger; diff --git a/server/src/main/java/org/opensearch/index/CompositeIndexEventListener.java b/server/src/main/java/org/opensearch/index/CompositeIndexEventListener.java index 79c97d1126e93..3b5ff7798e0de 100644 --- a/server/src/main/java/org/opensearch/index/CompositeIndexEventListener.java +++ b/server/src/main/java/org/opensearch/index/CompositeIndexEventListener.java @@ -51,6 +51,8 @@ /** * A composite {@link IndexEventListener} that forwards all callbacks to an immutable list of IndexEventListener + * + * @opensearch.internal */ final class CompositeIndexEventListener implements IndexEventListener { diff --git a/server/src/main/java/org/opensearch/index/Index.java b/server/src/main/java/org/opensearch/index/Index.java index 5284bc7d23c71..db620592d1ede 100644 --- a/server/src/main/java/org/opensearch/index/Index.java +++ b/server/src/main/java/org/opensearch/index/Index.java @@ -47,6 +47,8 @@ /** * A value class representing the basic required properties of an OpenSearch index. + * + * @opensearch.internal */ public class Index implements Writeable, ToXContentObject { diff --git a/server/src/main/java/org/opensearch/index/IndexComponent.java b/server/src/main/java/org/opensearch/index/IndexComponent.java index 16387e7cfb80c..2a4555b66df13 100644 --- a/server/src/main/java/org/opensearch/index/IndexComponent.java +++ b/server/src/main/java/org/opensearch/index/IndexComponent.java @@ -32,6 +32,11 @@ package org.opensearch.index; +/** + * Actions that can be executed on an Index Component + * + * @opensearch.internal + */ public interface IndexComponent { Index index(); diff --git a/server/src/main/java/org/opensearch/index/IndexModule.java b/server/src/main/java/org/opensearch/index/IndexModule.java index 61f6c9689308f..acceee7562068 100644 --- a/server/src/main/java/org/opensearch/index/IndexModule.java +++ b/server/src/main/java/org/opensearch/index/IndexModule.java @@ -109,6 +109,8 @@ *
max_merged_segment
or issue an optimize
* call for the index (try and aim to issue it on a low traffic time).
+ *
+ * @opensearch.internal
*/
public final class MergePolicyConfig {
diff --git a/server/src/main/java/org/opensearch/index/MergeSchedulerConfig.java b/server/src/main/java/org/opensearch/index/MergeSchedulerConfig.java
index df3c76fea0ea6..9e170b448d641 100644
--- a/server/src/main/java/org/opensearch/index/MergeSchedulerConfig.java
+++ b/server/src/main/java/org/opensearch/index/MergeSchedulerConfig.java
@@ -63,6 +63,8 @@
* throttled, while an application doing heavy indexing will see the throttle
* move higher to allow merges to keep up with ongoing indexing.
*
+ *
+ * @opensearch.internal
*/
public final class MergeSchedulerConfig {
diff --git a/server/src/main/java/org/opensearch/index/OpenSearchTieredMergePolicy.java b/server/src/main/java/org/opensearch/index/OpenSearchTieredMergePolicy.java
index 0289e96b356be..637282374de73 100644
--- a/server/src/main/java/org/opensearch/index/OpenSearchTieredMergePolicy.java
+++ b/server/src/main/java/org/opensearch/index/OpenSearchTieredMergePolicy.java
@@ -44,6 +44,8 @@
* Wrapper around {@link TieredMergePolicy} which doesn't respect
* {@link TieredMergePolicy#setMaxMergedSegmentMB(double)} on forced merges.
* See https://issues.apache.org/jira/browse/LUCENE-7976.
+ *
+ * @opensearch.internal
*/
final class OpenSearchTieredMergePolicy extends FilterMergePolicy {
diff --git a/server/src/main/java/org/opensearch/index/SearchSlowLog.java b/server/src/main/java/org/opensearch/index/SearchSlowLog.java
index 37413388215c8..c48c122580579 100644
--- a/server/src/main/java/org/opensearch/index/SearchSlowLog.java
+++ b/server/src/main/java/org/opensearch/index/SearchSlowLog.java
@@ -53,6 +53,11 @@
import java.util.concurrent.TimeUnit;
import java.util.stream.Stream;
+/**
+ * The search time slow log implementation
+ *
+ * @opensearch.internal
+ */
public final class SearchSlowLog implements SearchOperationListener {
private static final Charset UTF_8 = Charset.forName("UTF-8");
diff --git a/server/src/main/java/org/opensearch/index/ShardIndexingPressure.java b/server/src/main/java/org/opensearch/index/ShardIndexingPressure.java
index 881ede2f6903f..59dde20c9a904 100644
--- a/server/src/main/java/org/opensearch/index/ShardIndexingPressure.java
+++ b/server/src/main/java/org/opensearch/index/ShardIndexingPressure.java
@@ -39,6 +39,8 @@
* 1. Memory Accounting at shard level. This can be enabled/disabled based on dynamic setting.
* 2. Memory Accounting at Node level. Tracking is done using the IndexingPressure artefacts to support feature seamless toggling.
* 3. Interfaces to access the statistics for shard trackers.
+ *
+ * @opensearch.internal
*/
public class ShardIndexingPressure extends IndexingPressure {
diff --git a/server/src/main/java/org/opensearch/index/ShardIndexingPressureMemoryManager.java b/server/src/main/java/org/opensearch/index/ShardIndexingPressureMemoryManager.java
index fff0649a4327f..d64740488ce31 100644
--- a/server/src/main/java/org/opensearch/index/ShardIndexingPressureMemoryManager.java
+++ b/server/src/main/java/org/opensearch/index/ShardIndexingPressureMemoryManager.java
@@ -52,6 +52,7 @@
* goes above operating_factor.upper of current shard limits. MemoryManager attempts to update the new shard limit such that the new value
* remains withing the operating_factor.optimal range of current shard utilization.
*
+ * @opensearch.internal
*/
public class ShardIndexingPressureMemoryManager {
private static final Logger logger = LogManager.getLogger(ShardIndexingPressureMemoryManager.class);
diff --git a/server/src/main/java/org/opensearch/index/ShardIndexingPressureSettings.java b/server/src/main/java/org/opensearch/index/ShardIndexingPressureSettings.java
index b1fa1f0bd3b65..35e93162788b5 100644
--- a/server/src/main/java/org/opensearch/index/ShardIndexingPressureSettings.java
+++ b/server/src/main/java/org/opensearch/index/ShardIndexingPressureSettings.java
@@ -14,6 +14,8 @@
* This class contains all the settings which are required and owned by {TODO link ShardIndexingPressure}. These will be
* referenced/used in ShardIndexingPressure, as well as its dependent components, i.e.
* {TODO link ShardIndexingPressureMemoryManager} and {TODO link ShardIndexingPressureStore}
+ *
+ * @opensearch.internal
*/
public final class ShardIndexingPressureSettings {
diff --git a/server/src/main/java/org/opensearch/index/ShardIndexingPressureStore.java b/server/src/main/java/org/opensearch/index/ShardIndexingPressureStore.java
index bcc883a569f25..f634365676b18 100644
--- a/server/src/main/java/org/opensearch/index/ShardIndexingPressureStore.java
+++ b/server/src/main/java/org/opensearch/index/ShardIndexingPressureStore.java
@@ -44,6 +44,7 @@
* update and evict operations can be abstracted out to support any other strategy such as LRU, if
* discovered a need later.
*
+ * @opensearch.internal
*/
public class ShardIndexingPressureStore {
diff --git a/server/src/main/java/org/opensearch/index/ShardIndexingPressureTracker.java b/server/src/main/java/org/opensearch/index/ShardIndexingPressureTracker.java
index e63425eef825c..c6031d80fa0a8 100644
--- a/server/src/main/java/org/opensearch/index/ShardIndexingPressureTracker.java
+++ b/server/src/main/java/org/opensearch/index/ShardIndexingPressureTracker.java
@@ -31,6 +31,8 @@
* increase the complexity of handling shard-lister events and handling other race scenarios such as request-draining etc.
* To prefer simplicity we have modelled by keeping explicit fields for different operation tracking, while tracker by itself is
* agnostic of the actual shard role.
+ *
+ * @opensearch.internal
*/
public class ShardIndexingPressureTracker {
diff --git a/server/src/main/java/org/opensearch/index/SlowLogLevel.java b/server/src/main/java/org/opensearch/index/SlowLogLevel.java
index ca628aba14d18..0a28edd59d491 100644
--- a/server/src/main/java/org/opensearch/index/SlowLogLevel.java
+++ b/server/src/main/java/org/opensearch/index/SlowLogLevel.java
@@ -33,6 +33,11 @@
import java.util.Locale;
+/**
+ * Levels for the slow logs
+ *
+ * @opensearch.internal
+ */
public enum SlowLogLevel {
WARN(3), // most specific - little logging
INFO(2),
diff --git a/server/src/main/java/org/opensearch/index/VersionType.java b/server/src/main/java/org/opensearch/index/VersionType.java
index 54ad2c7292eb7..0eb6dfa8fc53a 100644
--- a/server/src/main/java/org/opensearch/index/VersionType.java
+++ b/server/src/main/java/org/opensearch/index/VersionType.java
@@ -39,6 +39,11 @@
import java.io.IOException;
import java.util.Locale;
+/**
+ * Types of index versions
+ *
+ * @opensearch.internal
+ */
public enum VersionType implements Writeable {
INTERNAL((byte) 0) {
@Override
diff --git a/server/src/main/java/org/opensearch/index/analysis/AbstractCharFilterFactory.java b/server/src/main/java/org/opensearch/index/analysis/AbstractCharFilterFactory.java
index d632b3db3dcb4..dcc03252e4901 100644
--- a/server/src/main/java/org/opensearch/index/analysis/AbstractCharFilterFactory.java
+++ b/server/src/main/java/org/opensearch/index/analysis/AbstractCharFilterFactory.java
@@ -35,6 +35,11 @@
import org.opensearch.index.AbstractIndexComponent;
import org.opensearch.index.IndexSettings;
+/**
+ * Base character filter factory used in analysis chain
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractCharFilterFactory extends AbstractIndexComponent implements CharFilterFactory {
private final String name;
diff --git a/server/src/main/java/org/opensearch/index/analysis/AbstractIndexAnalyzerProvider.java b/server/src/main/java/org/opensearch/index/analysis/AbstractIndexAnalyzerProvider.java
index e1c5fd0ba3c64..b21c972944d4f 100644
--- a/server/src/main/java/org/opensearch/index/analysis/AbstractIndexAnalyzerProvider.java
+++ b/server/src/main/java/org/opensearch/index/analysis/AbstractIndexAnalyzerProvider.java
@@ -37,6 +37,11 @@
import org.opensearch.index.AbstractIndexComponent;
import org.opensearch.index.IndexSettings;
+/**
+ * Base analyzer component
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractIndexAnalyzerProvider
* In particular, this policy will delete index commits whose max sequence number is at most
* the current global checkpoint except the index commit which has the highest max sequence number among those.
+ *
+ * @opensearch.internal
*/
public class CombinedDeletionPolicy extends IndexDeletionPolicy {
private final Logger logger;
diff --git a/server/src/main/java/org/opensearch/index/engine/CombinedDocValues.java b/server/src/main/java/org/opensearch/index/engine/CombinedDocValues.java
index 043e4f2d5661f..0f8ca53429a81 100644
--- a/server/src/main/java/org/opensearch/index/engine/CombinedDocValues.java
+++ b/server/src/main/java/org/opensearch/index/engine/CombinedDocValues.java
@@ -41,6 +41,11 @@
import java.io.IOException;
import java.util.Objects;
+/**
+ * Doc Values used in LuceneChangesSnapshot for recovery
+ *
+ * @opensearch.internal
+ */
final class CombinedDocValues {
private final NumericDocValues versionDV;
private final NumericDocValues seqNoDV;
diff --git a/server/src/main/java/org/opensearch/index/engine/CommitStats.java b/server/src/main/java/org/opensearch/index/engine/CommitStats.java
index 1220208d3a8f3..1faed2cd16713 100644
--- a/server/src/main/java/org/opensearch/index/engine/CommitStats.java
+++ b/server/src/main/java/org/opensearch/index/engine/CommitStats.java
@@ -44,7 +44,11 @@
import java.util.Base64;
import java.util.Map;
-/** a class the returns dynamic information with respect to the last commit point of this shard */
+/**
+ * a class the returns dynamic information with respect to the last commit point of this shard
+ *
+ * @opensearch.internal
+ */
public final class CommitStats implements Writeable, ToXContentFragment {
private final Map
* This can be used if you want to have one multi-valued implementation
* that works for single or multi-valued types.
+ *
+ * @opensearch.internal
*/
final class SingletonSortedNumericDoubleValues extends SortedNumericDoubleValues {
private final NumericDoubleValues in;
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsNumericDocValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsNumericDocValues.java
index 63600f400b844..39aca38c331ea 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsNumericDocValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsNumericDocValues.java
@@ -41,6 +41,8 @@
* {@link NumericDocValues} instance that wraps a {@link NumericDoubleValues}
* and converts the doubles to sortable long bits using
* {@link NumericUtils#doubleToSortableLong(double)}.
+ *
+ * @opensearch.internal
*/
final class SortableLongBitsNumericDocValues extends AbstractNumericDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsSortedNumericDocValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsSortedNumericDocValues.java
index 702208fd3db58..ef2fcc6e2fa75 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsSortedNumericDocValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsSortedNumericDocValues.java
@@ -41,6 +41,8 @@
* {@link SortedNumericDocValues} instance that wraps a {@link SortedNumericDoubleValues}
* and converts the doubles to sortable long bits using
* {@link NumericUtils#doubleToSortableLong(double)}.
+ *
+ * @opensearch.internal
*/
final class SortableLongBitsSortedNumericDocValues extends AbstractSortedNumericDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToNumericDoubleValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToNumericDoubleValues.java
index a585b90e86118..150e114d342de 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToNumericDoubleValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToNumericDoubleValues.java
@@ -41,6 +41,8 @@
* {@link NumericDoubleValues} instance that wraps a {@link NumericDocValues}
* and converts the doubles to sortable long bits using
* {@link NumericUtils#sortableLongToDouble(long)}.
+ *
+ * @opensearch.internal
*/
final class SortableLongBitsToNumericDoubleValues extends NumericDoubleValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToSortedNumericDoubleValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToSortedNumericDoubleValues.java
index 1538fd089ea21..1bae845c9b0d2 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToSortedNumericDoubleValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortableLongBitsToSortedNumericDoubleValues.java
@@ -41,6 +41,8 @@
* {@link SortedNumericDoubleValues} instance that wraps a {@link SortedNumericDocValues}
* and converts the doubles to sortable long bits using
* {@link NumericUtils#sortableLongToDouble(long)}.
+ *
+ * @opensearch.internal
*/
final class SortableLongBitsToSortedNumericDoubleValues extends SortedNumericDoubleValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortedBinaryDocValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortedBinaryDocValues.java
index f448c24aa7dc7..bd66d1d94f33c 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortedBinaryDocValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortedBinaryDocValues.java
@@ -40,6 +40,8 @@
* A list of per-document binary values, sorted
* according to {@link BytesRef#compareTo(BytesRef)}.
* There might be dups however.
+ *
+ * @opensearch.internal
*/
// TODO: Should it expose a count (current approach) or return null when there are no more values?
public abstract class SortedBinaryDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortedNumericDoubleValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortedNumericDoubleValues.java
index 1fe1310e9f693..91d28113ae783 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortedNumericDoubleValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortedNumericDoubleValues.java
@@ -38,6 +38,8 @@
/**
* Clone of {@link SortedNumericDocValues} for double values.
+ *
+ * @opensearch.internal
*/
public abstract class SortedNumericDoubleValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortingBinaryDocValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortingBinaryDocValues.java
index 33efe556acef9..ba415e7bc0276 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortingBinaryDocValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortingBinaryDocValues.java
@@ -43,6 +43,8 @@
/**
* Base class for building {@link SortedBinaryDocValues} instances based on unsorted content.
+ *
+ * @opensearch.internal
*/
public abstract class SortingBinaryDocValues extends SortedBinaryDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDocValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDocValues.java
index 12b6eb4e39340..cdfb1e3252899 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDocValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDocValues.java
@@ -41,6 +41,8 @@
/**
* Base class for building {@link SortedNumericDocValues} instances based on unsorted content.
+ *
+ * @opensearch.internal
*/
public abstract class SortingNumericDocValues extends SortedNumericDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDoubleValues.java b/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDoubleValues.java
index 28c72c722dd38..bb125dc600b74 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDoubleValues.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/SortingNumericDoubleValues.java
@@ -38,6 +38,8 @@
/**
* Base class for building {@link SortedNumericDoubleValues} instances based on unsorted content.
+ *
+ * @opensearch.internal
*/
public abstract class SortingNumericDoubleValues extends SortedNumericDoubleValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/BytesRefFieldComparatorSource.java b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/BytesRefFieldComparatorSource.java
index d25443914ebaa..51dde57563ec6 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/BytesRefFieldComparatorSource.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/BytesRefFieldComparatorSource.java
@@ -56,6 +56,8 @@
/**
* Comparator source for string/binary values.
+ *
+ * @opensearch.internal
*/
public class BytesRefFieldComparatorSource extends IndexFieldData.XFieldComparatorSource {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/DoubleValuesComparatorSource.java b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/DoubleValuesComparatorSource.java
index 135101eae362d..f8af86c904f2c 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/DoubleValuesComparatorSource.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/DoubleValuesComparatorSource.java
@@ -57,6 +57,8 @@
/**
* Comparator source for double values.
+ *
+ * @opensearch.internal
*/
public class DoubleValuesComparatorSource extends IndexFieldData.XFieldComparatorSource {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/FloatValuesComparatorSource.java b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/FloatValuesComparatorSource.java
index f8371e8235070..686bef479c179 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/FloatValuesComparatorSource.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/FloatValuesComparatorSource.java
@@ -56,6 +56,8 @@
/**
* Comparator source for float values.
+ *
+ * @opensearch.internal
*/
public class FloatValuesComparatorSource extends IndexFieldData.XFieldComparatorSource {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/LongValuesComparatorSource.java b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/LongValuesComparatorSource.java
index 3871425f1255f..462092dca5110 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/LongValuesComparatorSource.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/fieldcomparator/LongValuesComparatorSource.java
@@ -57,6 +57,8 @@
/**
* Comparator source for long values.
+ *
+ * @opensearch.internal
*/
public class LongValuesComparatorSource extends IndexFieldData.XFieldComparatorSource {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalMapping.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalMapping.java
index be57ac0771ee5..8fc6eb1a74056 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalMapping.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalMapping.java
@@ -42,6 +42,8 @@
/**
* A {@link SortedSetDocValues} implementation that returns ordinals that are global.
+ *
+ * @opensearch.internal
*/
final class GlobalOrdinalMapping extends SortedSetDocValues {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsBuilder.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsBuilder.java
index 0ed496b5a459f..e136e649d088a 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsBuilder.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsBuilder.java
@@ -55,6 +55,8 @@
/**
* Utility class to build global ordinals.
+ *
+ * @opensearch.internal
*/
public enum GlobalOrdinalsBuilder {
;
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsIndexFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsIndexFieldData.java
index ec554ae78996d..90541b3a9f1c0 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsIndexFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/GlobalOrdinalsIndexFieldData.java
@@ -65,6 +65,8 @@
* Each instance of {@link Consumer} uses a new set of {@link TermsEnum} that can be reused during the collection,
* this is done to avoid creating all segment's {@link TermsEnum} each time we want to access the values of a single
* segment.
+ *
+ * @opensearch.internal
*/
public final class GlobalOrdinalsIndexFieldData implements IndexOrdinalsFieldData, Accountable {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/MultiOrdinals.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/MultiOrdinals.java
index 2af4cab7cbdee..e6e51ed83a6ab 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/MultiOrdinals.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/MultiOrdinals.java
@@ -51,6 +51,8 @@
/**
* {@link Ordinals} implementation which is efficient at storing field data ordinals for multi-valued or sparse fields.
+ *
+ * @opensearch.internal
*/
public class MultiOrdinals extends Ordinals {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/Ordinals.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/Ordinals.java
index 52752a828df86..6ce0c06be02ea 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/Ordinals.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/Ordinals.java
@@ -38,6 +38,8 @@
/**
* A thread safe ordinals abstraction. Ordinals can only be positive integers.
+ *
+ * @opensearch.internal
*/
public abstract class Ordinals implements Accountable {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/OrdinalsBuilder.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/OrdinalsBuilder.java
index 5439c884b322f..85a9ba5358c3f 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/OrdinalsBuilder.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/OrdinalsBuilder.java
@@ -46,6 +46,8 @@
* Simple class to build document ID <-> ordinal mapping. Note: Ordinals are
* {@code 1} based monotonically increasing positive integers. {@code 0}
* donates the missing value in this context.
+ *
+ * @opensearch.internal
*/
public final class OrdinalsBuilder implements Closeable {
diff --git a/server/src/main/java/org/opensearch/index/fielddata/ordinals/SinglePackedOrdinals.java b/server/src/main/java/org/opensearch/index/fielddata/ordinals/SinglePackedOrdinals.java
index a93da9495fbfb..90582079d3f76 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/ordinals/SinglePackedOrdinals.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/ordinals/SinglePackedOrdinals.java
@@ -45,7 +45,12 @@
import java.util.Collection;
import java.util.Collections;
-public class SinglePackedOrdinals extends Ordinals {
+/**
+ * Packed ordinals for a single field
+ *
+ * @opensearch.internal
+ */
+class SinglePackedOrdinals extends Ordinals {
// ordinals with value 0 indicates no value
private final PackedInts.Reader reader;
diff --git a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractBinaryDVLeafFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractBinaryDVLeafFieldData.java
index 787401386c120..4d2cb7e84df6c 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractBinaryDVLeafFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractBinaryDVLeafFieldData.java
@@ -43,6 +43,11 @@
import java.util.Collection;
import java.util.Collections;
+/**
+ * Base class for binary docvalue "field data"
+ *
+ * @opensearch.internal
+ */
abstract class AbstractBinaryDVLeafFieldData implements LeafFieldData {
private final BinaryDocValues values;
diff --git a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractIndexOrdinalsFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractIndexOrdinalsFieldData.java
index 2102234fdbcc5..7dab513372235 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractIndexOrdinalsFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractIndexOrdinalsFieldData.java
@@ -54,6 +54,11 @@
import java.io.IOException;
import java.util.function.Function;
+/**
+ * Base class for sorting ordinals field data
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractIndexOrdinalsFieldData implements IndexOrdinalsFieldData {
private static final Logger logger = LogManager.getLogger(AbstractBinaryDVLeafFieldData.class);
diff --git a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLatLonPointIndexFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLatLonPointIndexFieldData.java
index 5fefc2fdcef3f..d094acf4ca79d 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLatLonPointIndexFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLatLonPointIndexFieldData.java
@@ -51,6 +51,11 @@
import org.opensearch.search.sort.BucketedSort;
import org.opensearch.search.sort.SortOrder;
+/**
+ * Base class for sorting LatLonPoint docvalues
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractLatLonPointIndexFieldData implements IndexGeoPointFieldData {
protected final String fieldName;
diff --git a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafGeoPointFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafGeoPointFieldData.java
index f614d8aaef51a..89c462267a4d2 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafGeoPointFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafGeoPointFieldData.java
@@ -41,6 +41,11 @@
import java.util.Collection;
import java.util.Collections;
+/**
+ * Base class for retrieving LatLonPoint docvalues
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractLeafGeoPointFieldData implements LeafGeoPointFieldData {
@Override
diff --git a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafOrdinalsFieldData.java b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafOrdinalsFieldData.java
index 736b1f5e61ce7..0e16dbbd06271 100644
--- a/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafOrdinalsFieldData.java
+++ b/server/src/main/java/org/opensearch/index/fielddata/plain/AbstractLeafOrdinalsFieldData.java
@@ -44,6 +44,11 @@
import java.util.Collections;
import java.util.function.Function;
+/**
+ * Baseclass for ordinals docvalues
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractLeafOrdinalsFieldData implements LeafOrdinalsFieldData {
public static final Function
* "field" : "POLYGON ((100.0 0.0, 101.0 0.0, 101.0 1.0, 100.0 1.0, 100.0 0.0))
+ *
+ * @opensearch.internal
*/
public class GeoShapeFieldMapper extends AbstractShapeGeometryFieldMapper
* The global checkpoint is maintained by the primary shard and is replicated to all the replicas (via {@link GlobalCheckpointSyncAction}).
+ *
+ * @opensearch.internal
*/
public class ReplicationTracker extends AbstractIndexShardComponent implements LongSupplier {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLease.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLease.java
index f9ab4c4e3ff1f..63151ceb647de 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLease.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLease.java
@@ -49,6 +49,8 @@
* that all operations with sequence number at least that retaining sequence number will be retained during merge operations (which could
* otherwise merge away operations that have been soft deleted). Each retention lease contains a unique identifier, the retaining sequence
* number, the timestamp of when the lease was created or renewed, and the source of the retention lease (e.g., "ccr").
+ *
+ * @opensearch.internal
*/
public final class RetentionLease implements ToXContentObject, Writeable {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseActions.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseActions.java
index 37c32e1c4409c..3827666a5678c 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseActions.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseActions.java
@@ -64,6 +64,8 @@
* responded with success. Additionally, note the use of
* {@link TransportSingleShardAction#asyncShardOperation(SingleShardRequest, ShardId, ActionListener)} to handle the case when acquiring
* permits goes asynchronous because acquiring permits is blocked
+ *
+ * @opensearch.internal
*/
public class RetentionLeaseActions {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseAlreadyExistsException.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseAlreadyExistsException.java
index 20761621d6c16..f394b4b69affe 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseAlreadyExistsException.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseAlreadyExistsException.java
@@ -38,6 +38,11 @@
import java.io.IOException;
import java.util.Objects;
+/**
+ * Exception thrown if a retention lease already exists
+ *
+ * @opensearch.internal
+ */
public class RetentionLeaseAlreadyExistsException extends ResourceAlreadyExistsException {
public RetentionLeaseAlreadyExistsException(final String id) {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseBackgroundSyncAction.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseBackgroundSyncAction.java
index 014ffedb81e3f..891b55f0e8391 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseBackgroundSyncAction.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseBackgroundSyncAction.java
@@ -73,6 +73,8 @@
* that if a replica misses a background retention lease sync then that shard will not be marked as stale. We have some tolerance for a
* shard copy missing renewals of retention leases since the background sync interval is much smaller than the expected lifetime of
* retention leases.
+ *
+ * @opensearch.internal
*/
public class RetentionLeaseBackgroundSyncAction extends TransportReplicationAction<
RetentionLeaseBackgroundSyncAction.Request,
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseInvalidRetainingSeqNoException.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseInvalidRetainingSeqNoException.java
index 5231c7260a292..b532846f57ac4 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseInvalidRetainingSeqNoException.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseInvalidRetainingSeqNoException.java
@@ -37,6 +37,11 @@
import java.io.IOException;
+/**
+ * Exception thrown when an invalid sequence number is retained
+ *
+ * @opensearch.internal
+ */
public class RetentionLeaseInvalidRetainingSeqNoException extends OpenSearchException {
RetentionLeaseInvalidRetainingSeqNoException(
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseNotFoundException.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseNotFoundException.java
index 1f77206bf998c..524778d0f9414 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseNotFoundException.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseNotFoundException.java
@@ -38,6 +38,11 @@
import java.io.IOException;
import java.util.Objects;
+/**
+ * Exception thrown when a retention lease is not found
+ *
+ * @opensearch.internal
+ */
public class RetentionLeaseNotFoundException extends ResourceNotFoundException {
public RetentionLeaseNotFoundException(final String id) {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseStats.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseStats.java
index 77749915958be..a9dbf2288aea4 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseStats.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseStats.java
@@ -43,6 +43,8 @@
/**
* Represents retention lease stats.
+ *
+ * @opensearch.internal
*/
public final class RetentionLeaseStats implements ToXContentFragment, Writeable {
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncAction.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncAction.java
index 55bd01df0979a..a6aebeb21a76a 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncAction.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncAction.java
@@ -74,6 +74,8 @@
/**
* Write action responsible for syncing retention leases to replicas. This action is deliberately a write action so that if a replica misses
* a retention lease sync then that shard will be marked as stale.
+ *
+ * @opensearch.internal
*/
public class RetentionLeaseSyncAction extends TransportWriteAction<
RetentionLeaseSyncAction.Request,
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncer.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncer.java
index a8f48b0d431a5..25a768868f5d5 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncer.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeaseSyncer.java
@@ -39,6 +39,11 @@
import java.util.Objects;
+/**
+ * Syncs retention leases
+ *
+ * @opensearch.internal
+ */
public class RetentionLeaseSyncer {
private final SyncAction syncAction;
private final BackgroundSyncAction backgroundSyncAction;
diff --git a/server/src/main/java/org/opensearch/index/seqno/RetentionLeases.java b/server/src/main/java/org/opensearch/index/seqno/RetentionLeases.java
index e5fef4dcffc5a..c879e38510dde 100644
--- a/server/src/main/java/org/opensearch/index/seqno/RetentionLeases.java
+++ b/server/src/main/java/org/opensearch/index/seqno/RetentionLeases.java
@@ -55,6 +55,8 @@
/**
* Represents a versioned collection of retention leases. We version the collection of retention leases to ensure that sync requests that
* arrive out of order on the replica, using the version to ensure that older sync requests are rejected.
+ *
+ * @opensearch.internal
*/
public class RetentionLeases implements ToXContentFragment, Writeable {
diff --git a/server/src/main/java/org/opensearch/index/seqno/SeqNoStats.java b/server/src/main/java/org/opensearch/index/seqno/SeqNoStats.java
index 0f26377568e17..58c69501c3608 100644
--- a/server/src/main/java/org/opensearch/index/seqno/SeqNoStats.java
+++ b/server/src/main/java/org/opensearch/index/seqno/SeqNoStats.java
@@ -41,6 +41,11 @@
import java.io.IOException;
import java.util.Objects;
+/**
+ * Sequence number statistics
+ *
+ * @opensearch.internal
+ */
public class SeqNoStats implements ToXContentFragment, Writeable {
private static final String SEQ_NO = "seq_no";
diff --git a/server/src/main/java/org/opensearch/index/seqno/SequenceNumbers.java b/server/src/main/java/org/opensearch/index/seqno/SequenceNumbers.java
index 3da32efe4d027..f8639595d9195 100644
--- a/server/src/main/java/org/opensearch/index/seqno/SequenceNumbers.java
+++ b/server/src/main/java/org/opensearch/index/seqno/SequenceNumbers.java
@@ -36,6 +36,8 @@
/**
* A utility class for handling sequence numbers.
+ *
+ * @opensearch.internal
*/
public class SequenceNumbers {
diff --git a/server/src/main/java/org/opensearch/index/shard/AbstractIndexShardComponent.java b/server/src/main/java/org/opensearch/index/shard/AbstractIndexShardComponent.java
index 24f0f7aa7b730..2832c17ddc11a 100644
--- a/server/src/main/java/org/opensearch/index/shard/AbstractIndexShardComponent.java
+++ b/server/src/main/java/org/opensearch/index/shard/AbstractIndexShardComponent.java
@@ -36,6 +36,11 @@
import org.opensearch.common.logging.Loggers;
import org.opensearch.index.IndexSettings;
+/**
+ * Base index shard class
+ *
+ * @opensearch.internal
+ */
public abstract class AbstractIndexShardComponent implements IndexShardComponent {
protected final Logger logger;
diff --git a/server/src/main/java/org/opensearch/index/shard/DocsStats.java b/server/src/main/java/org/opensearch/index/shard/DocsStats.java
index e9d41ceff09e8..952f94d26e1ef 100644
--- a/server/src/main/java/org/opensearch/index/shard/DocsStats.java
+++ b/server/src/main/java/org/opensearch/index/shard/DocsStats.java
@@ -41,6 +41,11 @@
import java.io.IOException;
+/**
+ * Document statistics
+ *
+ * @opensearch.internal
+ */
public class DocsStats implements Writeable, ToXContentFragment {
private long count = 0;
diff --git a/server/src/main/java/org/opensearch/index/shard/GlobalCheckpointListeners.java b/server/src/main/java/org/opensearch/index/shard/GlobalCheckpointListeners.java
index 3c8ed8ea7492a..e26f2ccca4fd1 100644
--- a/server/src/main/java/org/opensearch/index/shard/GlobalCheckpointListeners.java
+++ b/server/src/main/java/org/opensearch/index/shard/GlobalCheckpointListeners.java
@@ -58,6 +58,8 @@
/**
* Represents a collection of global checkpoint listeners. This collection can be added to, and all listeners present at the time of an
* update will be notified together. All listeners will be notified when the shard is closed.
+ *
+ * @opensearch.internal
*/
public class GlobalCheckpointListeners implements Closeable {
diff --git a/server/src/main/java/org/opensearch/index/shard/IllegalIndexShardStateException.java b/server/src/main/java/org/opensearch/index/shard/IllegalIndexShardStateException.java
index a6cd831291e37..bc9bc4a5a61fd 100644
--- a/server/src/main/java/org/opensearch/index/shard/IllegalIndexShardStateException.java
+++ b/server/src/main/java/org/opensearch/index/shard/IllegalIndexShardStateException.java
@@ -39,6 +39,11 @@
import java.io.IOException;
+/**
+ * Exception thrown when an index shard is in an illegal state
+ *
+ * @opensearch.internal
+ */
public class IllegalIndexShardStateException extends OpenSearchException {
private final IndexShardState currentState;
diff --git a/server/src/main/java/org/opensearch/index/shard/IndexEventListener.java b/server/src/main/java/org/opensearch/index/shard/IndexEventListener.java
index c07798202144b..600bbc0af4cbc 100644
--- a/server/src/main/java/org/opensearch/index/shard/IndexEventListener.java
+++ b/server/src/main/java/org/opensearch/index/shard/IndexEventListener.java
@@ -49,6 +49,8 @@
* local state via their arguments. Yet, if an instance is shared across indices they might be called concurrently and should not
* modify local state without sufficient synchronization.
*
* For now, this {@link MergePolicy} takes care of moving versions that used to
* be stored as payloads to numeric doc values.
+ *
+ * @opensearch.internal
*/
public final class OpenSearchMergePolicy extends FilterMergePolicy {
diff --git a/server/src/main/java/org/opensearch/index/shard/PrimaryReplicaSyncer.java b/server/src/main/java/org/opensearch/index/shard/PrimaryReplicaSyncer.java
index 726d2925177fa..463c9b7ca4af2 100644
--- a/server/src/main/java/org/opensearch/index/shard/PrimaryReplicaSyncer.java
+++ b/server/src/main/java/org/opensearch/index/shard/PrimaryReplicaSyncer.java
@@ -65,6 +65,11 @@
import static java.util.Objects.requireNonNull;
+/**
+ * Syncer for Primary replica
+ *
+ * @opensearch.internal
+ */
public class PrimaryReplicaSyncer {
private static final Logger logger = LogManager.getLogger(PrimaryReplicaSyncer.class);
diff --git a/server/src/main/java/org/opensearch/index/shard/RefreshListeners.java b/server/src/main/java/org/opensearch/index/shard/RefreshListeners.java
index 570b882e1fcab..7dbbcbb2d7d20 100644
--- a/server/src/main/java/org/opensearch/index/shard/RefreshListeners.java
+++ b/server/src/main/java/org/opensearch/index/shard/RefreshListeners.java
@@ -56,6 +56,8 @@
* {@link IndexShard} but kept here so it can be tested without standing up the entire thing.
*
* When {@link Closeable#close()}d it will no longer accept listeners and flush any existing listeners.
+ *
+ * @opensearch.internal
*/
public final class RefreshListeners implements ReferenceManager.RefreshListener, Closeable {
private final IntSupplier getMaxRefreshListeners;
diff --git a/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedLuceneSegmentsAction.java b/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedLuceneSegmentsAction.java
index 621f1fcec28f2..93ef2c4abf09d 100644
--- a/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedLuceneSegmentsAction.java
+++ b/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedLuceneSegmentsAction.java
@@ -43,6 +43,8 @@
/**
* Removes corrupted Lucene index segments
+ *
+ * @opensearch.internal
*/
public class RemoveCorruptedLuceneSegmentsAction {
diff --git a/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedShardDataCommand.java b/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedShardDataCommand.java
index a6ecc803affbb..feceb017a3663 100644
--- a/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedShardDataCommand.java
+++ b/server/src/main/java/org/opensearch/index/shard/RemoveCorruptedShardDataCommand.java
@@ -84,6 +84,11 @@
import java.util.Objects;
import java.util.stream.StreamSupport;
+/**
+ * Command for removing a corruped shard
+ *
+ * @opensearch.internal
+ */
public class RemoveCorruptedShardDataCommand extends OpenSearchNodeCommand {
private static final Logger logger = LogManager.getLogger(RemoveCorruptedShardDataCommand.class);
diff --git a/server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java b/server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java
index fc52d09361281..6d19e9f500411 100644
--- a/server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java
+++ b/server/src/main/java/org/opensearch/index/shard/ReplicationGroup.java
@@ -42,6 +42,8 @@
/**
* Replication group for a shard. Used by a primary shard to coordinate replication and recoveries.
+ *
+ * @opensearch.internal
*/
public class ReplicationGroup {
private final IndexShardRoutingTable routingTable;
diff --git a/server/src/main/java/org/opensearch/index/shard/SearchOperationListener.java b/server/src/main/java/org/opensearch/index/shard/SearchOperationListener.java
index da4b3a141dfc5..d3177055a5bd8 100644
--- a/server/src/main/java/org/opensearch/index/shard/SearchOperationListener.java
+++ b/server/src/main/java/org/opensearch/index/shard/SearchOperationListener.java
@@ -43,6 +43,8 @@
/**
* An listener for search, fetch and context events.
+ *
+ * @opensearch.internal
*/
public interface SearchOperationListener {
diff --git a/server/src/main/java/org/opensearch/index/shard/ShardId.java b/server/src/main/java/org/opensearch/index/shard/ShardId.java
index a4ff927c5a5dc..d44e4140fd095 100644
--- a/server/src/main/java/org/opensearch/index/shard/ShardId.java
+++ b/server/src/main/java/org/opensearch/index/shard/ShardId.java
@@ -44,6 +44,8 @@
/**
* Allows for shard level components to be injected with the shard id.
+ *
+ * @opensearch.internal
*/
public class ShardId implements Comparable
* This class is used to find files that were already snapshotted and clear out files that no longer referenced by any
* snapshots.
+ *
+ * @opensearch.internal
*/
public class BlobStoreIndexShardSnapshots implements Iterable_field_names
. This mapper is typically useful in order
* to have fast exists
and missing
queries/filters.
+ *
+ * @opensearch.internal
*/
public class FieldNamesFieldMapper extends MetadataFieldMapper {
diff --git a/server/src/main/java/org/opensearch/index/mapper/FieldTypeLookup.java b/server/src/main/java/org/opensearch/index/mapper/FieldTypeLookup.java
index fd1f2df1131ab..bede143ed5e92 100644
--- a/server/src/main/java/org/opensearch/index/mapper/FieldTypeLookup.java
+++ b/server/src/main/java/org/opensearch/index/mapper/FieldTypeLookup.java
@@ -45,6 +45,8 @@
/**
* An immutable container for looking up {@link MappedFieldType}s by their name.
+ *
+ * @opensearch.internal
*/
class FieldTypeLookup implements Iterable, List extends GeoPoint>> {
public static final String CONTENT_TYPE = "geo_point";
diff --git a/server/src/main/java/org/opensearch/index/mapper/GeoShapeFieldMapper.java b/server/src/main/java/org/opensearch/index/mapper/GeoShapeFieldMapper.java
index e14f26404eb11..aeda2a2d93f12 100644
--- a/server/src/main/java/org/opensearch/index/mapper/GeoShapeFieldMapper.java
+++ b/server/src/main/java/org/opensearch/index/mapper/GeoShapeFieldMapper.java
@@ -65,6 +65,8 @@
* or:
*