Changeset 787


Ignore:
Timestamp:
1999-11-25T15:21:13+13:00 (24 years ago)
Author:
sjboddie
Message:

fixed bug in phrasematch stuff

File:
1 edited

Legend:

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

    r766 r787  
    2828/*
    2929   $Log$
     30   Revision 1.21  1999/11/25 02:21:13  sjboddie
     31   fixed bug in phrasematch stuff
     32
    3033   Revision 1.20  1999/11/01 22:06:06  sjboddie
    3134   Added filter option to remove documents not matching a phrase match.
     
    740743    //           "all_docs" = return all documents regardless
    741744    if (num_phrases > 0) {
    742       if ((phrasematch == "all_phrases") && ((*docset_here).second.num_phrase_match < num_phrases))
     745      if ((phrasematch == "all_phrases") && ((*docset_here).second.num_phrase_match < num_phrases)) {
     746        queryresults.docs_matched = response.docInfo.size();
    743747        break;
    744       if ((phrasematch == "some_phrases") && ((*docset_here).second.num_phrase_match < 1))
     748      }
     749      if ((phrasematch == "some_phrases") && ((*docset_here).second.num_phrase_match < 1)) {
     750        queryresults.docs_matched = response.docInfo.size();
    745751        break;
     752      }
    746753    }
    747754
Note: See TracChangeset for help on using the changeset viewer.