[−][src]Function tantivy::schema::is_valid_field_name
pub fn is_valid_field_name(field_name: &str) -> bool
Validator for a potential field_name
.
Returns true iff the name can be use for a field name.
A field name must start by a letter [a-zA-Z]
.
The other characters can be any alphanumic character [a-ZA-Z0-9]
or _
.