tantivy-py/src/schema.rs

15 lines
271 B
Rust
Raw Normal View History

use pyo3::prelude::*;
2019-08-02 11:23:10 +00:00
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 {
2019-08-02 11:23:10 +00:00
pub(crate) inner: tv::schema::Schema,
}
#[pymethods]
2019-08-02 11:23:10 +00:00
impl Schema {}