Struct bloodhound::Index
[−]
[src]
pub struct Index { /* fields omitted */ }
Methods
impl Index
[src]
pub fn new(path: PathBuf) -> Index
[src]
pub fn populate(
&mut self,
exclusions: Option<Vec<ExclusionPattern>>,
case_sensitive: bool
)
[src]
&mut self,
exclusions: Option<Vec<ExclusionPattern>>,
case_sensitive: bool
)
Finds all files inside and beneath the index path and adds them to the index entries vector.
pub fn find(&self, term: &str, limit: usize) -> Vec<&Path>
[src]
Trait Implementations
impl Debug for Index
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more