Struct bloodhound::Index [] [src]

pub struct Index {
    // some fields omitted
}

Methods

impl Index
[src]

fn new(path: PathBuf) -> Index

fn populate(&mut self)

Finds all files inside and beneath the index path and adds them to the index entries vector.

fn find(&self, term: &str, limit: usize) -> Vec<PathBuf>