Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- dataDir() - Element in annotation interface com.redis.vl.test.vcr.VCRTest
-
The directory where VCR cassettes (recorded responses) are stored.
- dataType(VectorField.VectorDataType) - Method in class com.redis.vl.schema.VectorField.VectorFieldBuilder
-
Set the data type
- DEFAULT_DISTANCE_THRESHOLD - Static variable in class com.redis.vl.extensions.messagehistory.SemanticMessageHistory
-
Default distance threshold for semantic search.
- DEFAULT_NUM_RESULTS - Static variable in class com.redis.vl.index.SearchIndex
-
Default number of results to return when limit is not specified.
- defaultBatchSize - Variable in class com.redis.vl.storage.BaseStorage
-
Default batch size for bulk operations.
- defaultNumSentences(int) - Method in class com.redis.vl.extensions.summarization.ExtractiveSelector.Builder
- delete() - Method in class com.redis.vl.extensions.cache.LangCacheSemanticCache
-
Delete the entire cache.
- delete() - Method in class com.redis.vl.extensions.messagehistory.BaseMessageHistory
-
Clear all conversation history and remove any search indices.
- delete() - Method in class com.redis.vl.extensions.messagehistory.MessageHistory
- delete() - Method in class com.redis.vl.extensions.messagehistory.SemanticMessageHistory
- delete() - Method in class com.redis.vl.extensions.router.SemanticRouter
-
Delete the semantic router index from Redis.
- delete(boolean) - Method in class com.redis.vl.index.SearchIndex
-
Delete the index
- delete(String) - Method in class com.redis.vl.langchain4j.RedisVLDocumentStore
-
Deletes a document by ID.
- delete(String) - Method in class com.redis.vl.test.vcr.VCRCassetteStore
-
Deletes a cassette.
- deleteByAttributes(Map<String, Object>) - Method in class com.redis.vl.extensions.cache.LangCacheSemanticCache
-
Delete cache entries matching the given attributes.
- deleteById(String) - Method in class com.redis.vl.extensions.cache.LangCacheSemanticCache
-
Delete a single cache entry by ID.
- deleteCassettes(List<String>) - Method in class com.redis.vl.test.vcr.VCRContext
-
Deletes the specified cassettes.
- deleteDocument(String) - Method in class com.redis.vl.index.SearchIndex
-
Delete a document from the index
- deleteMessages(Object) - Method in class com.redis.vl.langchain4j.RedisVLChatMemoryStore
- deleteRouteReferences(String, List<String>, List<String>) - Method in class com.redis.vl.extensions.router.SemanticRouter
-
Delete references from an existing route.
- denormCosineDistance(float) - Static method in class com.redis.vl.utils.Utils
-
Denormalize a similarity score (0-1) to a Redis COSINE distance (0-2).
- deploymentName(String) - Method in class com.redis.vl.utils.vectorize.VectorizerBuilder.AzureOpenAIVectorizerBuilder
-
Set the Azure deployment name.
- desc(String) - Static method in class com.redis.vl.query.SortField
-
Create a SortField with descending order.
- determineEffectiveMode(String, VCRMode) - Method in class com.redis.vl.test.vcr.VCRRegistry
-
Determines the effective VCR mode for a test based on registry status.
- dialect(int) - Method in class com.redis.vl.query.FilterQuery.FilterQueryBuilder
-
Set the query dialect.
- dialect(int) - Method in class com.redis.vl.query.HybridQuery.HybridQueryBuilder
-
Set the query dialect version.
- dialect(int) - Method in class com.redis.vl.query.MultiVectorQuery.Builder
-
Set the query dialect.
- dimension() - Method in class com.redis.vl.test.vcr.VCREmbeddingModel
- dimensions - Variable in class com.redis.vl.utils.vectorize.BaseVectorizer
-
The dimension of the embedding vectors.
- dimensions - Variable in class com.redis.vl.utils.vectorize.VectorizerBuilder.AbstractVectorizerBuilder
-
Optional embedding dimensions override.
- dimensions() - Method in class com.redis.vl.test.vcr.VCRSpringAIEmbeddingModel
- dimensions(int) - Method in class com.redis.vl.schema.VectorField.VectorFieldBuilder
-
Set the number of dimensions
- DIMENSIONS_FIELD_NAME - Static variable in class com.redis.vl.extensions.Constants
- DIMENSIONS_FIELD_NAME - Static variable in class com.redis.vl.extensions.ExtensionConstants
-
Field name for embedding dimensions.
- disconnect() - Method in class com.redis.vl.extensions.cache.BaseCache
-
Disconnect from Redis.
- DistanceAggregationMethod - Enum Class in com.redis.vl.extensions.router
-
Enumeration for distance aggregation methods.
- distanceMetric(VectorField.DistanceMetric) - Method in class com.redis.vl.query.VectorQuery.Builder
-
Set the distance metric
- distanceMetric(VectorField.DistanceMetric) - Method in class com.redis.vl.schema.VectorField.VectorFieldBuilder
-
Set the distance metric
- distanceScale(String) - Method in class com.redis.vl.extensions.cache.LangCacheSemanticCache.Builder
-
Set the distance scale for distance thresholds
- distanceThreshold(double) - Method in class com.redis.vl.query.VectorRangeQuery.Builder
-
Set the distance threshold for range filtering.
- distanceThreshold(float) - Method in class com.redis.vl.extensions.cache.SemanticCache.Builder
-
Set the distance threshold for semantic similarity
- Document(byte[], Map<String, String>) - Constructor for record class com.redis.vl.langchain4j.RedisVLDocumentStore.Document
-
Creates an instance of a
Documentrecord class. - doubleArrayToFloats(double[]) - Static method in class com.redis.vl.utils.ArrayUtils
-
Convert double array to float array.
- downloadModel(String) - Method in class com.redis.vl.utils.vectorize.HuggingFaceModelDownloader
-
Download a model from HuggingFace with default revision.
- downloadModel(String, String) - Method in class com.redis.vl.utils.vectorize.HuggingFaceModelDownloader
-
Download a model from HuggingFace with specified revision.
- drop() - Method in class com.redis.vl.index.SearchIndex
-
Drop the index using FT.DROPINDEX
- drop(String) - Method in class com.redis.vl.extensions.messagehistory.BaseMessageHistory
-
Remove a specific exchange from the conversation history.
- drop(String) - Method in class com.redis.vl.extensions.messagehistory.MessageHistory
- drop(String) - Method in class com.redis.vl.extensions.messagehistory.SemanticMessageHistory
- drop(String, String) - Method in class com.redis.vl.extensions.cache.EmbeddingsCache
-
Delete an embedding for a text.
- dropKeys(String) - Method in class com.redis.vl.index.SearchIndex
-
Drop a single key
- dropKeys(List<String>) - Method in class com.redis.vl.index.SearchIndex
-
Drop multiple keys
- dropWithData() - Method in class com.redis.vl.index.SearchIndex
-
Drop the index and delete all documents using FT.DROPINDEX DD
- dtype - Variable in class com.redis.vl.utils.vectorize.BaseVectorizer
-
The data type for embeddings (e.g., "float32").
- dtype - Variable in class com.redis.vl.utils.vectorize.VectorizerBuilder.AbstractVectorizerBuilder
-
Data type for embeddings (default: float32).
- dtype(String) - Method in class com.redis.vl.query.HybridQuery.HybridQueryBuilder
-
Set the data type for vector storage.
- dtype(String) - Method in class com.redis.vl.query.Vector.Builder
-
Set the vector data type.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form