Interface MetadataConfiguration.Builder

  • Method Details

    • nonFilterableMetadataKeys

      MetadataConfiguration.Builder nonFilterableMetadataKeys(Collection<String> nonFilterableMetadataKeys)

      Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in textSearchConfigurations. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see Vectors and Limitations and restrictions in the Amazon S3 User Guide.

      Parameters:
      nonFilterableMetadataKeys - Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in textSearchConfigurations. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see Vectors and Limitations and restrictions in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nonFilterableMetadataKeys

      MetadataConfiguration.Builder nonFilterableMetadataKeys(String... nonFilterableMetadataKeys)

      Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in textSearchConfigurations. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see Vectors and Limitations and restrictions in the Amazon S3 User Guide.

      Parameters:
      nonFilterableMetadataKeys - Non-filterable metadata keys allow you to enrich vectors with additional context during storage and retrieval. You can't use these keys in metadata filters. You can still make a non-filterable key full-text searchable by configuring it separately in textSearchConfigurations. You can retrieve non-filterable metadata keys after finding the vectors. For more information about non-filterable metadata keys, see Vectors and Limitations and restrictions in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • textSearchConfigurations

      MetadataConfiguration.Builder textSearchConfigurations(Collection<TextSearchConfiguration> textSearchConfigurations)

      Full-text search configurations for searchable metadata keys.

      Parameters:
      textSearchConfigurations - Full-text search configurations for searchable metadata keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • textSearchConfigurations

      MetadataConfiguration.Builder textSearchConfigurations(TextSearchConfiguration... textSearchConfigurations)

      Full-text search configurations for searchable metadata keys.

      Parameters:
      textSearchConfigurations - Full-text search configurations for searchable metadata keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • textSearchConfigurations

      MetadataConfiguration.Builder textSearchConfigurations(Consumer<TextSearchConfiguration.Builder>... textSearchConfigurations)

      Full-text search configurations for searchable metadata keys.

      This is a convenience method that creates an instance of the TextSearchConfiguration.Builder avoiding the need to create one manually via TextSearchConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to textSearchConfigurations(List<TextSearchConfiguration>).

      Parameters:
      textSearchConfigurations - a consumer that will call methods on TextSearchConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: