Class IndexSchema.Builder

  • Enclosing class:
    IndexSchema

    public static class IndexSchema.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bodyKey

        public IndexSchema.Builder bodyKey​(String bodyKey)
        Body key name.
        Parameters:
        bodyKey - the value to set
        Returns:
        this builder
      • urlKey

        public IndexSchema.Builder urlKey​(String urlKey)
        URL key that stores the URL of a document, if available.
        Parameters:
        urlKey - the value to set
        Returns:
        this builder
      • titleKey

        public IndexSchema.Builder titleKey​(String titleKey)
        Title key that stores the Title of a document, if available.
        Parameters:
        titleKey - the value to set
        Returns:
        this builder
      • embeddingBodyKey

        public IndexSchema.Builder embeddingBodyKey​(String embeddingBodyKey)
        Field within customer managed OCI OpenSearch document containing the vector embedding for queries.
        Parameters:
        embeddingBodyKey - the value to set
        Returns:
        this builder