Changeset 4757


Ignore:
Timestamp:
2003-06-23T14:22:41+12:00 (21 years ago)
Author:
kjdon
Message:

new method for formatting the field info in the query for mgpp plain searches (have the field list in place of the index list

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

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

    r3160 r4757  
    458458
    459459
    460 
     460void format_field_info(text_t & querystring, text_t &tag) {
     461
     462  if (tag == "ZZ" || tag == "") {
     463    return; // do nothing
     464  }
     465
     466  querystring = "["+querystring+"]:"+tag;
     467}
  • trunk/gsdl/src/recpt/querytools.h

    r1914 r4757  
    6060text_t addstemcase(text_t &terms, text_t &stem, text_t &fold);
    6161text_t formatelem(text_t &text);
    62 
     62void format_field_info(text_t &querystring, text_t &tag);
    6363#endif
    6464
Note: See TracChangeset for help on using the changeset viewer.