pub fn from_index(index: &Index) -> Result<TextSchema, TextIndexError>Expand description
Resolve the schema of an already-open index.
The directory is authoritative: it carries the schema the documents were built with, so reopening never has to reconstruct it from configuration.