diff --git a/quickpeep_index/src/backend/tantivy.rs b/quickpeep_index/src/backend/tantivy.rs index ffd1198..cc19dff 100644 --- a/quickpeep_index/src/backend/tantivy.rs +++ b/quickpeep_index/src/backend/tantivy.rs @@ -90,10 +90,10 @@ impl Backend for TantivyBackend { } = &self.fields; let mut tantivy_doc = doc! { - *title => document.title, - *article => document.article_body, - *nonarticle => document.nonarticle_body, - *url => document.url + *title => document.title, + *article => document.article_body, + *nonarticle => document.nonarticle_body, + *url => document.url }; // TODO do we actually want facets? How about u64 tags or something...? for tag in &document.tags {