public static interface DocumentMetadataConfiguration.Builder extends SdkPojo, CopyableBuilder<DocumentMetadataConfiguration.Builder,DocumentMetadataConfiguration>
| Modifier and Type | Method and Description |
|---|---|
DocumentMetadataConfiguration.Builder |
name(String name)
The name of the index field.
|
default DocumentMetadataConfiguration.Builder |
relevance(Consumer<Relevance.Builder> relevance)
Provides manual tuning parameters to determine how the field affects the search results.
|
DocumentMetadataConfiguration.Builder |
relevance(Relevance relevance)
Provides manual tuning parameters to determine how the field affects the search results.
|
default DocumentMetadataConfiguration.Builder |
search(Consumer<Search.Builder> search)
Provides information about how the field is used during a search.
|
DocumentMetadataConfiguration.Builder |
search(Search search)
Provides information about how the field is used during a search.
|
DocumentMetadataConfiguration.Builder |
type(DocumentAttributeValueType type)
The data type of the index field.
|
DocumentMetadataConfiguration.Builder |
type(String type)
The data type of the index field.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentMetadataConfiguration.Builder name(String name)
The name of the index field.
name - The name of the index field.DocumentMetadataConfiguration.Builder type(String type)
The data type of the index field.
type - The data type of the index field.DocumentAttributeValueType,
DocumentAttributeValueTypeDocumentMetadataConfiguration.Builder type(DocumentAttributeValueType type)
The data type of the index field.
type - The data type of the index field.DocumentAttributeValueType,
DocumentAttributeValueTypeDocumentMetadataConfiguration.Builder relevance(Relevance relevance)
Provides manual tuning parameters to determine how the field affects the search results.
relevance - Provides manual tuning parameters to determine how the field affects the search results.default DocumentMetadataConfiguration.Builder relevance(Consumer<Relevance.Builder> relevance)
Provides manual tuning parameters to determine how the field affects the search results.
This is a convenience that creates an instance of theRelevance.Builder avoiding the need to create
one manually via Relevance.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to relevance(Relevance).relevance - a consumer that will call methods on Relevance.Builderrelevance(Relevance)DocumentMetadataConfiguration.Builder search(Search search)
Provides information about how the field is used during a search.
search - Provides information about how the field is used during a search.default DocumentMetadataConfiguration.Builder search(Consumer<Search.Builder> search)
Provides information about how the field is used during a search.
This is a convenience that creates an instance of theSearch.Builder avoiding the need to create one
manually via Search.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to search(Search).search - a consumer that will call methods on Search.Buildersearch(Search)Copyright © 2020. All rights reserved.