Function tantivy::schema::is_valid_field_name

source ·
pub fn is_valid_field_name(field_name: &str) -> bool
Expand description

Validator for a potential field_name. Returns true if the name can be use for a field name.

A field name can be any character, must have at least one character and must not start with a -.