Cargo fmt
This commit is contained in:
parent
f43424de94
commit
139fe380bc
|
@ -90,10 +90,10 @@ impl Backend for TantivyBackend {
|
||||||
} = &self.fields;
|
} = &self.fields;
|
||||||
|
|
||||||
let mut tantivy_doc = doc! {
|
let mut tantivy_doc = doc! {
|
||||||
*title => document.title,
|
*title => document.title,
|
||||||
*article => document.article_body,
|
*article => document.article_body,
|
||||||
*nonarticle => document.nonarticle_body,
|
*nonarticle => document.nonarticle_body,
|
||||||
*url => document.url
|
*url => document.url
|
||||||
};
|
};
|
||||||
// TODO do we actually want facets? How about u64 tags or something...?
|
// TODO do we actually want facets? How about u64 tags or something...?
|
||||||
for tag in &document.tags {
|
for tag in &document.tags {
|
||||||
|
|
Loading…
Reference in New Issue