Changeset 8030


Ignore:
Timestamp:
2004-08-23T23:26:31+12:00 (20 years ago)
Author:
davidb
Message:

Support for lucene indexer added.

File:
1 edited

Legend:

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

    r7762 r8030  
    178178
    179179          text_t coll_type = "&ct=";
    180           if (cinfo->buildType == "mgpp") {
    181         coll_type += "1&qto=";
     180          if ((cinfo->buildType == "mgpp") || (cinfo->buildType == "lucene")) {
     181
     182        if (cinfo->buildType == "mgpp") {
     183          coll_type += "1";
     184        }
     185        else {
     186          coll_type += "2";
     187        }
     188
     189        coll_type += "&qto=";
    182190
    183191        // now we also want to check search types to set the qto arg
     
    300308
    301309          text_t coll_type = "&ct=";
    302           if (cinfo->buildType == "mgpp") {
    303         coll_type += "1&qto=";
     310          if ((cinfo->buildType == "mgpp") || (cinfo->buildType == "lucene")) {
     311
     312        if (cinfo->buildType == "mgpp") {
     313          coll_type += "1";
     314        }
     315        else {
     316          coll_type += "2";
     317        }
     318
     319        coll_type += "&qto=";
    304320
    305321        // now we also want to check search types to set the qto arg
     
    464480
    465481          text_t coll_type = "&ct=";
    466           if (cinfo->buildType == "mgpp") {
    467         coll_type += "1&qto=";
     482
     483          if ((cinfo->buildType == "mgpp") || (cinfo->buildType == "lucene")) {
     484
     485        if (cinfo->buildType == "mgpp") {
     486          coll_type += "1";
     487        }
     488        else {
     489          coll_type += "2";
     490        }
     491
     492        coll_type += "&qto=";
    468493
    469494        // now we also want to check search types to set the qto arg
Note: See TracChangeset for help on using the changeset viewer.