Changeset 13063


Ignore:
Timestamp:
2006-10-10T12:24:11+13:00 (18 years ago)
Author:
kjdon
Message:

make sure some matchTerms are set in terminfo - no termvariants are passed back, so set the original term as a MatchTerm

File:
1 edited

Legend:

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

    r12655 r13063  
    232232      terminfo.term = (*terms_here).termstr;
    233233      terminfo.freq = (*terms_here).termfreq;
    234 
     234      // lucene doesn't return any termvariants at this stage,
     235      // so make sure the original term is set
     236      terminfo.matchTerms.push_back(terminfo.term);
     237     
    235238      // this bit gets the matchTerms ie the equivalent (stem/casefold) terms
    236239      if (terms_first) {
Note: See TracChangeset for help on using the changeset viewer.