Ignore:
Timestamp:
2004-02-03T14:15:37+13:00 (20 years ago)
Author:
kjdon
Message:

added a [DocRank] format statement option that returns the rank of the document in the results list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/formattools.cpp

    r6645 r6710  
    609609  else if (meta == "DocOID")
    610610     formatlistptr->command = comOID;
    611  
     611  else if (meta == "DocRank")
     612    formatlistptr->command = comRank;
    612613  else {
    613614    formatlistptr->command = comMeta;
     
    10851086     case comOID:
    10861087    return docinfo.OID;
     1088  case comRank:
     1089    return text_t(docinfo.ranking);
    10871090     case comText:
    10881091    return formatlistptr->text;
Note: See TracChangeset for help on using the changeset viewer.