mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-08 10:02:55 +00:00
rename to iter_gen
This commit is contained in:
@@ -76,9 +76,7 @@ impl Document {
|
||||
|
||||
/// Adding a facet to the document.
|
||||
pub fn add_facet<F>(&mut self, field: Field, path: F)
|
||||
where
|
||||
Facet: From<F>,
|
||||
{
|
||||
where Facet: From<F> {
|
||||
let facet = Facet::from(path);
|
||||
let value = Value::Facet(facet);
|
||||
self.add_field_value(field, value);
|
||||
|
||||
Reference in New Issue
Block a user