Ignore:
Timestamp:
2001-01-22T14:47:56+13:00 (23 years ago)
Author:
kjm18
Message:

added a QueryResult::printShort routine - outputs termfreq stuff, but not
the doc results (used for timing expts)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/Terms.cpp

    r1836 r1847  
    8282}
    8383
     84void QueryResult::printShort(ostream &s) {
     85
     86  s << "termFreqs: ";
     87  for (unsigned long i=0; i<termFreqs.size(); i++)
     88    s << termFreqs[i] << ", ";
     89 
     90  s << "\nactual number of docs found: " << actualNumDocs;
     91  s << "\n\n";
     92
     93}
    8494
    8595
Note: See TracChangeset for help on using the changeset viewer.