Class VolatileVectorStoreCollectionSearchMapping


  • public class VolatileVectorStoreCollectionSearchMapping
    extends Object
    Provides methods to filter records based on a VectorSearchFilter.
    • Constructor Detail

      • VolatileVectorStoreCollectionSearchMapping

        public VolatileVectorStoreCollectionSearchMapping()
    • Method Detail

      • filterRecords

        public static <Record> List<Record> filterRecords​(List<Record> records,
                                                          VectorSearchFilter filter,
                                                          VectorStoreRecordDefinition recordDefinition,
                                                          com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Filters the records based on the given VectorSearchFilter.
        Type Parameters:
        Record - The record type.
        Parameters:
        records - The records to filter.
        filter - The filter to apply.
        recordDefinition - The record definition.
        objectMapper - The object mapper.
        Returns:
        The filtered records.