Write sidecar fields
This commit is contained in:
@@ -63,9 +63,9 @@ impl DbFtsIndex {
|
||||
//
|
||||
|
||||
/// Turn an entry into a tantivy document
|
||||
pub fn entry_to_document<K: Key>(
|
||||
pub fn entry_to_document<K: Key, I: Item<Key = K>>(
|
||||
&self,
|
||||
item: &dyn Item<Key = K>,
|
||||
item: &I,
|
||||
) -> Result<Option<TantivyDocument>, TantivyError> {
|
||||
let mut doc = TantivyDocument::default();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user