tantivy-py/src/schema.rs

15 lines
271 B
Rust

use pyo3::prelude::*;
use tantivy as tv;
/// Tantivy schema.
///
/// The schema is very strict. To build the schema the `SchemaBuilder` class is
/// provided.
#[pyclass]
pub(crate) struct Schema {
pub(crate) inner: tv::schema::Schema,
}
#[pymethods]
impl Schema {}