Uses of Class
com.redis.vl.schema.IndexSchema.Builder
Packages that use IndexSchema.Builder
-
Uses of IndexSchema.Builder in com.redis.vl.schema
Methods in com.redis.vl.schema that return IndexSchema.BuilderModifier and TypeMethodDescriptionIndexSchema.Builder.addNumericField
(String name, Consumer<NumericField.NumericFieldBuilder> customizer) Add a numeric field with customizationIndexSchema.Builder.addTagField
(String name, Consumer<TagField.TagFieldBuilder> customizer) Add a tag field with customizationIndexSchema.Builder.addTextField
(String name, Consumer<TextField.TextFieldBuilder> customizer) Add a text field with customizationIndexSchema.Builder.addVectorField
(String name, int dimensions, Consumer<VectorField.VectorFieldBuilder> customizer) Add a vector field with customizationstatic IndexSchema.Builder
IndexSchema.builder()
Create a builderAdd a field to the schemaIndexSchema.Builder.index
(IndexSchema.Index index) Set the builder from an Index configurationSet the index namestatic IndexSchema.Builder
Create with fluent APISet the key prefixIndexSchema.Builder.storageType
(IndexSchema.StorageType storageType) Set the storage typeIndexSchema.Builder.withPrefix
(String prefix) Set the key prefix (alias for prefix)IndexSchema.Builder.withStorageType
(IndexSchema.StorageType storageType) Set the storage type (alias for storageType)