java.lang.Object
org.elasticsearch.index.mapper.vectors.IndexOptions
- All Implemented Interfaces:
ToXContent,ToXContentObject
- Direct Known Subclasses:
DenseVectorFieldMapper.DenseVectorIndexOptions,SparseVectorFieldMapper.SparseVectorIndexOptions
Represents general index options that can be attached to a semantic or vector field.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params) abstract voidtoXContentFragment(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
IndexOptions
public IndexOptions()
-
-
Method Details
-
toXContentFragment
public abstract void toXContentFragment(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
IOException
-
toXContent
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-