Browse Source

analyzing the query as well

develop
Paul Masurel 8 years ago
parent
commit
6bf072ca94
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main.rs

+ 3
- 3
src/main.rs View File

@@ -130,9 +130,9 @@ fn search(req: &mut Request) -> IronResult<Response> {
} }
timings.push(search_timing.stop()); timings.push(search_timing.stop());
let storage_timing = TimingStarted::new("store"); let storage_timing = TimingStarted::new("store");
for scored_doc in top_collector.score_docs() {
println!("{:?}", scored_doc);
}
// for scored_doc in top_collector.score_docs() {
// println!("{:?}", scored_doc);
// }
let hits: Vec<Hit> = top_collector let hits: Vec<Hit> = top_collector
.docs() .docs()
.iter() .iter()


Loading…
Cancel
Save