search for: full_str

Displaying 1 result from an estimated 1 matches for "full_str".

Did you mean: full_r
2013 Sep 02
2
having trouble with prefixes
...sum", "Q"); queryparser.add_prefix("path", "P"); queryparser.add_prefix("extension", "E"); //maybe set stemming strategy here (in query parser)? queryparser.set_stemming_strategy(QueryParser::STEM_NONE); Query query(queryparser.parse_query(full_string)); cout<<"Query is '"<<full_string<<"'"<<endl; Enquire enquire(db); enquire.set_query(query); MSet match_set(enquire.get_mset(0, 10)); for_each(match_set.begin(), match_set.end(), [&db](docid id) { print_doc_info(d...