Fix antifeature tag push
This commit is contained in:
parent
4231bec80a
commit
2f68d4d825
|
@ -108,7 +108,7 @@ pub fn handle_page_pack(
|
||||||
let article_body = DenseTree::generate_textual_format(&document.body_content, false);
|
let article_body = DenseTree::generate_textual_format(&document.body_content, false);
|
||||||
let nonarticle_body = DenseTree::generate_textual_format(&document.body_remainder, false);
|
let nonarticle_body = DenseTree::generate_textual_format(&document.body_remainder, false);
|
||||||
|
|
||||||
let tags = seed_lookup
|
let mut tags = seed_lookup
|
||||||
.look_up(&Url::parse(page_record.url.as_ref())?)?
|
.look_up(&Url::parse(page_record.url.as_ref())?)?
|
||||||
.map(|seed: &Seed| seed.tags.iter().map(|cs| cs.to_string()).collect())
|
.map(|seed: &Seed| seed.tags.iter().map(|cs| cs.to_string()).collect())
|
||||||
.unwrap_or_else(|| Vec::with_capacity(0));
|
.unwrap_or_else(|| Vec::with_capacity(0));
|
||||||
|
|
Loading…
Reference in New Issue