Write sidecar fields

This commit is contained in:
2026-03-06 15:16:35 -08:00
parent 22724eee3f
commit d51b8b51bf
11 changed files with 311 additions and 49 deletions

View File

@@ -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();