Ignore:
Timestamp:
2017-02-09T14:02:40+13:00 (7 years ago)
Author:
ak19
Message:

Further commit to do with implementing GS2 server side of OAI deletion policy: 1. Forgot to svn add new files! 2. browsefilter code does not need to get the oai metadata, removed this duplicate code, as that part is handled in source.cpp's get_oai_metadata, which is the stage where the oai metadata is actually required.

Location:
main/trunk/greenstone2/runtime-src/src/colservr
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/browsefilter.cpp

    r31388 r31394  
    382382         << "warning: lookup for node \"" << resultdoc.OID
    383383         << "\" in etc/oai-inf db failed for browsefilter.\n\n";
    384     } else {
     384    }
     385    // We don't need to get the oai metadata from oai-inf.db at this stage. That will be
     386    // handled by a separate metadata request. See collectserver::filter() and source.cpp's get_oai_metadata().
     387    /*
     388    else {
    385389      //logout << text_t2ascii << "@@@@ found node \"" << resultdoc.OID << "\" in etc/oai-inf db.\n\n";
    386390     
     
    392396      resultdoc.metadata["oaiinf.datestamp"].values.push_back(oai_info["datestamp"]);
    393397    }
     398    */
    394399   
    395400    response.docInfo.push_back(resultdoc);
Note: See TracChangeset for help on using the changeset viewer.