weaviate/weaviate · error
property '%s': `indexRangeFilters` is not allowed for other
Error message
property '%s': `indexRangeFilters` is not allowed for other than number/int/date data types
What it means
Validator validateNestedPropertyIndexRangeFilters: indexRangeFilters=true was requested for a type other than number/int/date. Range filtering via numeric index is only meaningful on orderable numeric/date types.
Source
Thrown at usecases/schema/validation.go:207
_ map[string][]string,
) error {
propName := propNamePrefix + "." + property.Name
// at this point indexRangeFilters should be set (either by user or by defaults)
if property.IndexRangeFilters == nil {
return fmt.Errorf("property '%s': `indexRangeFilters` not set", propName)
}
if isPrimitive {
switch primitiveDataType {
case schema.DataTypeNumber, schema.DataTypeInt, schema.DataTypeDate:
return nil
default:
// do nothing
}
}
if *property.IndexRangeFilters {
return fmt.Errorf("property '%s': `indexRangeFilters` is not allowed for other than number/int/date data types",
propName)
}
return nil
}
// validateNestedPropertyProcessing validates TextAnalyzerConfig on nested properties,
// analogous to validatePropertyProcessing for top-level properties.
func validateNestedPropertyProcessing(property *models.NestedProperty,
primitiveDataType, _ schema.DataType,
isPrimitive, _ bool, propNamePrefix string,
userPresets map[string][]string,
) error {
propName := propNamePrefix + "." + property.Name
// Normalize empty config to nil.
if property.TextAnalyzer != nil && !property.TextAnalyzer.ASCIIFold && len(property.TextAnalyzer.ASCIIFoldIgnore) == 0 && property.TextAnalyzer.StopwordPreset == "" {
property.TextAnalyzer = nilView on GitHub (pinned to 75aa4b6d11)
Solutions
- Set indexRangeFilters=false for non numeric/date nested properties
- Use number, int, or date dataType if range filters are required
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at usecases/schema/validation.go:207 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of weaviate/weaviate@75aa4b6d11 (2026-09-04).
Data as JSON: /api/errors/59f0176acc3d76c5.
Report an issue: GitHub.