public static class IndexSchema.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IndexSchema.Builder |
bodyKey(String bodyKey)
Body key name.
|
IndexSchema |
build() |
IndexSchema.Builder |
copy(IndexSchema model) |
IndexSchema.Builder |
embeddingBodyKey(String embeddingBodyKey)
Field within customer managed OCI OpenSearch document containing the vector embedding for
queries.
|
IndexSchema.Builder |
titleKey(String titleKey)
Title key that stores the Title of a document, if available.
|
IndexSchema.Builder |
urlKey(String urlKey)
URL key that stores the URL of a document, if available.
|
public IndexSchema.Builder bodyKey(String bodyKey)
Body key name.
bodyKey
- the value to setpublic IndexSchema.Builder urlKey(String urlKey)
URL key that stores the URL of a document, if available.
urlKey
- the value to setpublic IndexSchema.Builder titleKey(String titleKey)
Title key that stores the Title of a document, if available.
titleKey
- the value to setpublic IndexSchema.Builder embeddingBodyKey(String embeddingBodyKey)
Field within customer managed OCI OpenSearch document containing the vector embedding for queries.
embeddingBodyKey
- the value to setpublic IndexSchema build()
public IndexSchema.Builder copy(IndexSchema model)
Copyright © 2016–2024. All rights reserved.