Class IndexInformation

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class IndexInformation
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Schema for information about an index.
    • Constructor Detail

      • IndexInformation

        public IndexInformation()
    • Method Detail

      • getDdoc

        public String getDdoc()
        Gets the ddoc. Design document ID.
        Returns:
        the ddoc
      • getDef

        public IndexDefinition getDef()
        Gets the def. Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration properties that do not apply to `json` indexes, these are: * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all document fields and what analyzer to use for that purpose.
        Returns:
        the def
      • getName

        public String getName()
        Gets the name. Index name.
        Returns:
        the name
      • getType

        public String getType()
        Gets the type. Schema for the type of an index.
        Returns:
        the type