2019-06-04 09:09:58 +00:00
|
|
|
use pyo3::prelude::*;
|
2019-08-02 11:23:10 +00:00
|
|
|
use tantivy as tv;
|
2019-06-04 09:09:58 +00:00
|
|
|
|
|
|
|
/// 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,
|
2019-06-04 09:09:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#[pymethods]
|
2019-08-02 11:23:10 +00:00
|
|
|
impl Schema {}
|