Changeset 2740


Ignore:
Timestamp:
2001-09-18T10:15:33+12:00 (23 years ago)
Author:
kjm18
Message:

fixed a bug in required ranking terms for list accumulator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/src/text/invf_get.c

    r439 r2740  
    15711571      if (require_match == 1) {
    15721572        while (this_item < LT->num && LT->IDE[this_item].DocNum < CurrDocNum - 1) {
    1573           if (LT->IDE[this_item].DocNum > LastDocNum - 1)
     1573          if (LastDocNum==0 ||(LT->IDE[this_item].DocNum > LastDocNum - 1))
    15741574        LT->IDE[this_item].Sum = -1000.0; /* mark for deletion */
    15751575          this_item++;
Note: See TracChangeset for help on using the changeset viewer.