Ignore:
Timestamp:
1999-09-08T10:52:52+12:00 (25 years ago)
Author:
rjmcnab
Message:

Seems to be an error in mg for retrieving documents using a paragraph
based index for some cases. Just added a work around (loads the default
index every time).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r534 r539  
    2828/*
    2929   $Log$
     30   Revision 1.19  1999/09/07 22:52:52  rjmcnab
     31   Seems to be an error in mg for retrieving documents using a paragraph
     32   based index for some cases. Just added a work around (loads the default
     33   index every time).
     34
    3035   Revision 1.18  1999/09/07 04:57:22  sjboddie
    3136   added gpl notice
     
    563568 
    564569  // see if we can make an appropriate database current
    565   char *ccollection = collection.getcstr();
    566   assert (ccollection != NULL);
    567   databaseloaded = load_text_database (ccollection);
    568   delete ccollection;
     570//    char *ccollection = collection.getcstr();
     571//    assert (ccollection != NULL);
     572//    databaseloaded = load_text_database (ccollection);
     573//    delete ccollection;
    569574 
    570575  // try and load the database
    571   if (!databaseloaded) databaseloaded = makeindexcurrent (defaultindex, defaultsubcollection,
    572                               defaultlanguage, collection);
     576//    if (!databaseloaded)
     577  databaseloaded = makeindexcurrent (defaultindex, defaultsubcollection,
     578                     defaultlanguage, collection);
    573579 
    574580  if (databaseloaded) {
Note: See TracChangeset for help on using the changeset viewer.