Skip to content

Commit

Permalink
add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 18, 2023
1 parent 93e39f7 commit 304f4c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ pub use crate::postings::Postings;
pub use crate::schema::DatePrecision;
pub use crate::schema::{DateOptions, DateTimePrecision, Document, TantivyDocument, Term};

#[deprecated("Will be removed in tantivy 0.23. Use export from snippet module instead")]
pub use self::snippet::{Snippet, SnippetGenerator};

#[deprecated("Will be removed in tantivy 0.23. Use export from indexer module instead")]
pub use crate::indexer::{merge_filtered_segments, merge_indices, IndexWriter, PreparedCommit};

/// Index format version.
const INDEX_FORMAT_VERSION: u32 = 5;

Expand Down

0 comments on commit 304f4c2

Please sign in to comment.