Changeset 12783


Ignore:
Timestamp:
2006-09-20T09:51:46+12:00 (18 years ago)
Author:
kjdon
Message:

removed declarations which are not used outside this file, changed the parameters to some

File:
1 edited

Legend:

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

    r11987 r12783  
    4747           int startbc, int endbc, int ct);
    4848
    49 void add_ands(text_t& querystring, int querytype);
    50 
    5149// search history tool
    5250text_t escape_quotes(const text_t &querystring);
    5351
    54 // some query parsing functions for form processing (only for mgpp collections)
    55 void parse_reg_query_form(text_t &formattedstring, cgiargsclass &args);
    56 void parse_adv_query_form(text_t &formattedstring, cgiargsclass &args);
     52// some query parsing functions for form processing (only for mgpp/lucene collections)
     53void parse_reg_query_form(text_t &formattedstring, cgiargsclass &args, bool segment);
     54void parse_adv_query_form(text_t &formattedstring, cgiargsclass &args, bool segment);
    5755
    58 void mgpp_adddateelem(text_t& querystring, const int date);
    59 void lucene_adddateelem(text_t& querystring, const int date);
     56// Added for Human Info project
     57void addqueryelem_ex(text_t &querystring, const text_t &tag,
     58             const text_t &terms, const text_t &stem,
     59             const text_t &fold,
     60             const text_t& combine, const text_t& word_combine);
    6061
    61 void mgpp_addqueryelem(text_t &querystring, text_t &tag,
    62           text_t &query, text_t &combine);
    63 void lucene_addqueryelem(text_t &querystring, text_t &tag,
    64           text_t &query, text_t &combine);
    65 void addqueryelem_ex(text_t &querystring, const text_t &tag,
    66              const text_t &terms, const text_t &stem, const text_t &fold,
    67              const text_t& combine, const text_t& word_combine);
    68 text_t addstemcase(const text_t &terms, const text_t &stem, const text_t &fold,
    69            const int indexer_type);
    70 text_t formatelem(text_t &text);
    71 void format_field_info(text_t &querystring, cgiargsclass &args);
     62void format_field_info(text_t &querystring, text_t tag, int argct, int argt, int argb);
     63
    7264#endif
Note: See TracChangeset for help on using the changeset viewer.