Uses of Class
io.quarkus.redis.datasource.search.FieldOptions
Packages that use FieldOptions
-
Uses of FieldOptions in io.quarkus.redis.datasource.search
Methods in io.quarkus.redis.datasource.search that return FieldOptionsModifier and TypeMethodDescriptionFieldOptions.blockSize(int blockSize) For vector fields, specifies the block size (the amount of vectors to store in a contiguous array).FieldOptions.caseSensitive()For TAG attributes, keeps the original letter cases of the tags.FieldOptions.dimension(int dimension) For vector fields, specifies the dimension.FieldOptions.distanceMetric(DistanceMetric distanceMetric) For vector fields, specifies the distance metric.FieldOptions.initialCap(int initialCap) For vector fields, specifies the initial vector capacity in the index.FieldOptions.noIndex()Attributes can have theNOINDEXoption, which means they will not be indexed.FieldOptions.noStem()Text attributes can have theNOSTEMargument which will disable stemming when indexing its values.Declaring a text attribute asPHONETICwill perform phonetic matching on it in searches by default.FieldOptions.separator(char separator) For TAG attributes, indicates how the text contained in the attribute is to be split into individual tags.FieldOptions.sortable()Numeric, tag (not supported with JSON) or text attributes can have the optional SORTABLE argument.FieldOptions.unf()By default,SORTABLEapplies a normalization to the indexed value (characters set to lowercase, removal of diacritics).FieldOptions.vectorAlgorithm(VectorAlgorithm vectorAlgorithm) For vector fields, specifies the vector algorithm to use when searching k most similar vectors in an index.FieldOptions.vectorType(VectorType vectorType) For vector fields, specifies the vector type.FieldOptions.weight(double weight) For TEXT attributes, declares the importance of this attribute when calculating result accuracy.FieldOptions.withSuffixTrie()For TEXT and TAG attributes, keeps a suffix trie with all terms which match the suffix.Methods in io.quarkus.redis.datasource.search with parameters of type FieldOptionsModifier and TypeMethodDescriptionstatic IndexedFieldIndexedField.from(String field, FieldType type, FieldOptions options) static IndexedFieldIndexedField.from(String field, String alias, FieldType type, FieldOptions options) CreateArgs.indexedField(String field, FieldType type, FieldOptions options) Adds a field to the schema.CreateArgs.indexedField(String field, String alias, FieldType type, FieldOptions options) Adds a field to the schema.Constructors in io.quarkus.redis.datasource.search with parameters of type FieldOptionsModifierConstructorDescription(package private)IndexedField(String field, String alias, FieldType type, FieldOptions options)