Struct tantivy::termdict::TermDictionaryBuilderImpl
[−]
[src]
pub struct TermDictionaryBuilderImpl<W> { /* fields omitted */ }
Trait Implementations
impl<W> TermDictionaryBuilder<W> for TermDictionaryBuilderImpl<W> where
W: Write,
[src]
W: Write,
fn new(w: W, _field_type: FieldType) -> Result<Self>
[src]
Creates a new TermDictionaryBuilder
fn insert<K: AsRef<[u8]>>(&mut self, key_ref: K, value: &TermInfo) -> Result<()>
[src]
Inserts a (key, value)
pair in the term dictionary. Read more
fn finish(self) -> Result<W>
[src]
Finalize writing the builder, and returns the underlying Write
object. Read more