fn do_some_querying(store: &Store, query: &str) {
    let searcher = Searcher::new(store.clone());

    for doc in searcher.search(&query, 10).expect("failed to search") {
        println!("{}", doc.expect("failed to read doc"));
    }
}
/**
Query the store for some records.
*/
Query the store for some records.
Query the store for some records .
fn do_some_querying(store: &Store, query: &str) {
    let searcher = Searcher::new(store.clone());
    for doc in searcher.search(&query, 10).expect("failed to search") {
        println!("{}", doc.expect("failed to read doc"));
    }
}
fn do_some_querying ( store : & Store , query : & str ) { let searcher = Searcher :: new ( store . clone ( ) ) ; for doc in searcher . search ( & query , 10 ) . expect ( " " ) { println ! ( " " doc expect ( " " ) ) ; } }
Query the store for some records.
Query the store for some records .
store
&Store
query
&str