public static interface FeaturedResultsSet.Builder extends SdkPojo, CopyableBuilder<FeaturedResultsSet.Builder,FeaturedResultsSet>
| Modifier and Type | Method and Description |
|---|---|
FeaturedResultsSet.Builder |
creationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of featured results was created.
|
FeaturedResultsSet.Builder |
description(String description)
The description for the set of featured results.
|
FeaturedResultsSet.Builder |
featuredDocuments(Collection<FeaturedDocument> featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page.
|
FeaturedResultsSet.Builder |
featuredDocuments(Consumer<FeaturedDocument.Builder>... featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page.
|
FeaturedResultsSet.Builder |
featuredDocuments(FeaturedDocument... featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page.
|
FeaturedResultsSet.Builder |
featuredResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
|
FeaturedResultsSet.Builder |
featuredResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
|
FeaturedResultsSet.Builder |
lastUpdatedTimestamp(Long lastUpdatedTimestamp)
The Unix timestamp when the set of featured results was last updated.
|
FeaturedResultsSet.Builder |
queryTexts(Collection<String> queryTexts)
The list of queries for featuring results.
|
FeaturedResultsSet.Builder |
queryTexts(String... queryTexts)
The list of queries for featuring results.
|
FeaturedResultsSet.Builder |
status(FeaturedResultsSetStatus status)
The current status of the set of featured results.
|
FeaturedResultsSet.Builder |
status(String status)
The current status of the set of featured results.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFeaturedResultsSet.Builder featuredResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
featuredResultsSetId - The identifier of the set of featured results.FeaturedResultsSet.Builder featuredResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
featuredResultsSetName - The name for the set of featured results.FeaturedResultsSet.Builder description(String description)
The description for the set of featured results.
description - The description for the set of featured results.FeaturedResultsSet.Builder status(String status)
The current status of the set of featured results. When the value is ACTIVE, featured results
are ready for use. You can still configure your settings before setting the status to ACTIVE.
You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE or INACTIVE.
status - The current status of the set of featured results. When the value is ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE or
INACTIVE.FeaturedResultsSetStatus,
FeaturedResultsSetStatusFeaturedResultsSet.Builder status(FeaturedResultsSetStatus status)
The current status of the set of featured results. When the value is ACTIVE, featured results
are ready for use. You can still configure your settings before setting the status to ACTIVE.
You can set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE or INACTIVE.
status - The current status of the set of featured results. When the value is ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE or
INACTIVE.FeaturedResultsSetStatus,
FeaturedResultsSetStatusFeaturedResultsSet.Builder queryTexts(Collection<String> queryTexts)
The list of queries for featuring results.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
queryTexts - The list of queries for featuring results.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
FeaturedResultsSet.Builder queryTexts(String... queryTexts)
The list of queries for featuring results.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
queryTexts - The list of queries for featuring results.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
FeaturedResultsSet.Builder featuredDocuments(Collection<FeaturedDocument> featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
You can add up to four featured documents. You can request to increase this limit by contacting Support.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
featuredDocuments - The list of document IDs for the documents you want to feature at the top of the search results page.
You can use the Query API to
search for specific documents with their document IDs included in the result items, or you can use the
console.
You can add up to four featured documents. You can request to increase this limit by contacting Support.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
FeaturedResultsSet.Builder featuredDocuments(FeaturedDocument... featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
You can add up to four featured documents. You can request to increase this limit by contacting Support.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
featuredDocuments - The list of document IDs for the documents you want to feature at the top of the search results page.
You can use the Query API to
search for specific documents with their document IDs included in the result items, or you can use the
console.
You can add up to four featured documents. You can request to increase this limit by contacting Support.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
FeaturedResultsSet.Builder featuredDocuments(Consumer<FeaturedDocument.Builder>... featuredDocuments)
The list of document IDs for the documents you want to feature at the top of the search results page. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
You can add up to four featured documents. You can request to increase this limit by contacting Support.
Specific queries are mapped to specific documents for featuring in the results. If a query contains an exact match, then one or more specific documents are featured in the results. The exact match applies to the full query. For example, if you only specify 'Kendra', queries such as 'How does kendra semantically rank results?' will not render the featured results. Featured results are designed for specific queries, rather than queries that are too broad in scope.
This is a convenience method that creates an instance of theFeaturedDocument.Builder avoiding the need to create one
manually via FeaturedDocument.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #featuredDocuments(List.
featuredDocuments - a consumer that will call methods on
FeaturedDocument.Builder#featuredDocuments(java.util.Collection) FeaturedResultsSet.Builder lastUpdatedTimestamp(Long lastUpdatedTimestamp)
The Unix timestamp when the set of featured results was last updated.
lastUpdatedTimestamp - The Unix timestamp when the set of featured results was last updated.FeaturedResultsSet.Builder creationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of featured results was created.
creationTimestamp - The Unix timestamp when the set of featured results was created.Copyright © 2023. All rights reserved.