Ignore:
Timestamp:
2006-08-02T16:30:23+12:00 (18 years ago)
Author:
mdewsnip
Message:

Now shows the stopwords removed by Lucene, many thanks to Me and DL Consulting Ltd.

File:
1 edited

Legend:

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

    r9620 r12380  
    238238      ++terms_here;
    239239    }
     240
     241    // add the stop words
     242    text_tset::iterator stopwords_here = queryresults.stopwords.begin();
     243    text_tset::iterator stopwords_end = queryresults.stopwords.end();
     244    while (stopwords_here != stopwords_end) {
     245      response.stopwords.insert(*stopwords_here);
     246      ++stopwords_here;
     247    }
    240248  }
    241249
     
    367375    ++termvar_here;
    368376      }
     377
     378      // add the stop words
     379      text_tset::iterator stopwords_here = thisqueryresults.stopwords.begin();
     380      text_tset::iterator stopwords_end = thisqueryresults.stopwords.end();
     381      while (stopwords_here != stopwords_end) {
     382    multiresults.stopwords.insert(*stopwords_here);
     383    ++stopwords_here;
     384      }
    369385    }
    370386   
Note: See TracChangeset for help on using the changeset viewer.