public static interface AttributeSuggestionsGetConfig.Builder extends SdkPojo, CopyableBuilder<AttributeSuggestionsGetConfig.Builder,AttributeSuggestionsGetConfig>
| Modifier and Type | Method and Description |
|---|---|
AttributeSuggestionsGetConfig.Builder |
additionalResponseAttributes(Collection<String> additionalResponseAttributes)
The list of additional document field/attribute keys or field names to include in the response.
|
AttributeSuggestionsGetConfig.Builder |
additionalResponseAttributes(String... additionalResponseAttributes)
The list of additional document field/attribute keys or field names to include in the response.
|
AttributeSuggestionsGetConfig.Builder |
attributeFilter(AttributeFilter attributeFilter)
Filters the search results based on document fields/attributes.
|
default AttributeSuggestionsGetConfig.Builder |
attributeFilter(Consumer<AttributeFilter.Builder> attributeFilter)
Filters the search results based on document fields/attributes.
|
AttributeSuggestionsGetConfig.Builder |
suggestionAttributes(Collection<String> suggestionAttributes)
The list of document field/attribute keys or field names to use for query suggestions.
|
AttributeSuggestionsGetConfig.Builder |
suggestionAttributes(String... suggestionAttributes)
The list of document field/attribute keys or field names to use for query suggestions.
|
default AttributeSuggestionsGetConfig.Builder |
userContext(Consumer<UserContext.Builder> userContext)
Applies user context filtering so that only users who are given access to certain documents see these
document in their search results.
|
AttributeSuggestionsGetConfig.Builder |
userContext(UserContext userContext)
Applies user context filtering so that only users who are given access to certain documents see these
document in their search results.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttributeSuggestionsGetConfig.Builder suggestionAttributes(Collection<String> suggestionAttributes)
The list of document field/attribute keys or field names to use for query suggestions. If the content within any of the fields match what your user starts typing as their query, then the field content is returned as a query suggestion.
suggestionAttributes - The list of document field/attribute keys or field names to use for query suggestions. If the content
within any of the fields match what your user starts typing as their query, then the field content is
returned as a query suggestion.AttributeSuggestionsGetConfig.Builder suggestionAttributes(String... suggestionAttributes)
The list of document field/attribute keys or field names to use for query suggestions. If the content within any of the fields match what your user starts typing as their query, then the field content is returned as a query suggestion.
suggestionAttributes - The list of document field/attribute keys or field names to use for query suggestions. If the content
within any of the fields match what your user starts typing as their query, then the field content is
returned as a query suggestion.AttributeSuggestionsGetConfig.Builder additionalResponseAttributes(Collection<String> additionalResponseAttributes)
The list of additional document field/attribute keys or field names to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.
additionalResponseAttributes - The list of additional document field/attribute keys or field names to include in the response. You
can use additional fields to provide extra information in the response. Additional fields are not used
to based suggestions on.AttributeSuggestionsGetConfig.Builder additionalResponseAttributes(String... additionalResponseAttributes)
The list of additional document field/attribute keys or field names to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.
additionalResponseAttributes - The list of additional document field/attribute keys or field names to include in the response. You
can use additional fields to provide extra information in the response. Additional fields are not used
to based suggestions on.AttributeSuggestionsGetConfig.Builder attributeFilter(AttributeFilter attributeFilter)
Filters the search results based on document fields/attributes.
attributeFilter - Filters the search results based on document fields/attributes.default AttributeSuggestionsGetConfig.Builder attributeFilter(Consumer<AttributeFilter.Builder> attributeFilter)
Filters the search results based on document fields/attributes.
This is a convenience method that creates an instance of theAttributeFilter.Builder avoiding the
need to create one manually via AttributeFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to attributeFilter(AttributeFilter).
attributeFilter - a consumer that will call methods on AttributeFilter.BuilderattributeFilter(AttributeFilter)AttributeSuggestionsGetConfig.Builder userContext(UserContext userContext)
Applies user context filtering so that only users who are given access to certain documents see these document in their search results.
userContext - Applies user context filtering so that only users who are given access to certain documents see these
document in their search results.default AttributeSuggestionsGetConfig.Builder userContext(Consumer<UserContext.Builder> userContext)
Applies user context filtering so that only users who are given access to certain documents see these document in their search results.
This is a convenience method that creates an instance of theUserContext.Builder avoiding the need to
create one manually via UserContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to userContext(UserContext).
userContext - a consumer that will call methods on UserContext.BuilderuserContext(UserContext)Copyright © 2023. All rights reserved.