improve docs, rework exports (#2220)

* rework exports

move snippet and advice
make indexer pub, remove indexer reexports

* add deprecation warning

* add architecture overview
This commit is contained in:
PSeitz
2023-10-18 09:22:24 +02:00
committed by GitHub
parent 7e1980b218
commit c2b0469180
10 changed files with 148 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
//! ready for indexing. This is an seperate crate from tantivy, so implementors don't need to update
//! for each new tantivy version.
//!
//! To add support for a tokenizer, implement the [`Tokenizer`](crate::Tokenizer) trait.
//! To add support for a tokenizer, implement the [`Tokenizer`] trait.
//! Checkout the [tantivy repo](https://github.com/quickwit-oss/tantivy/tree/main/src/tokenizer) for some examples.
use std::borrow::{Borrow, BorrowMut};