mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-23 02:29:57 +00:00
remove Document: DocumentDeserialize dependency (#2211)
* remove Document: DocumentDeserialize dependency The dependency requires users to implement an API they may not use. * remove unnecessary Document bounds
This commit is contained in:
@@ -174,7 +174,7 @@ pub use self::value::{ReferenceValue, Value};
|
||||
use super::*;
|
||||
|
||||
/// The core trait representing a document within the index.
|
||||
pub trait Document: DocumentDeserialize + Send + Sync + 'static {
|
||||
pub trait Document: Send + Sync + 'static {
|
||||
/// The value of the field.
|
||||
type Value<'a>: Value<'a> + Clone
|
||||
where Self: 'a;
|
||||
|
||||
Reference in New Issue
Block a user