Changeset 1834

Show
Ignore:
Timestamp:
15.01.2001 12:37:26 (19 years ago)
Author:
kjm18
Message:

queryresult.termvariants now contains all the equivalent terms to the
query terms (used for highlighting)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgppsearch.cpp

    r1771 r1834  
    154154    term.termfreq = queryResult.termFreqs[i].termFreq; 
    155155    queryresult.terms.push_back(term); 
    156     queryresult.orgterms.push_back(term); 
     156    queryresult.orgterms.push_back(term); // should this change?? 
     157     
     158    for (int j=0; j<(int)queryResult.termFreqs[i].equivTerms.size(); j++) { 
     159      queryresult.termvariants.insert(GetCStr(queryResult.termFreqs[i].equivTerms[j])); 
     160    } 
    157161 
    158162  }