Changeset 33791


Ignore:
Timestamp:
2019-12-11T17:44:56+13:00 (4 years ago)
Author:
ak19
Message:
  1. Kathy renamed the gs3interface properties filename from ServiceRack.properties to core_servlet_dictionary.properties; 2. Comitting useful but deactivated debug statements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r33436 r33791  
    116116my @gs3_col_cfg_files = ("lucene-jdbm-demo", "solr-jdbm-demo", "localsite");
    117117
    118 my @gs3_interface_files = ("interface_default", "ServiceRack", "metadata_names");
     118my @gs3_interface_files = ("interface_default", "core_servlet_dictionary", "metadata_names");
    119119#"AbstractBrowse", "AbstractGS2FieldSearch", "AbstractSearch", "AbstractTextSearch", "Authentication", "CrossCollectionSearch", "GS2LuceneSearch", "LuceneSearch", "MapRetrieve", "MapSearch", "PhindPhraseBrowse", "SharedSoleneGS2FieldSearch");
    120120
     
    539539    foreach my $chunk_key (keys(%target_file_key_to_text_mapping)) {
    540540        my $target_file_text = $target_file_key_to_text_mapping{$chunk_key};
     541        #&log_message("**** Next chunk to compare search term $query_string to: $target_file_text.");
    541542        if ($target_file_text =~ /$query_string/i) {
    542543            # &log_message("Chunk with key $chunk_key matches query.");
     
    694695            next;
    695696        }
    696        
     697        ## DEBUG
     698        # if (&unmake_text_xml_safe($source_file_key_to_submission_mapping{$chunk_key}) ne &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key})) {
     699                #                 &log_message("**** ORIG SRC: " . &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key}) ."\n");
     700                #                 &log_message("**** SUBMIT SRC: " . &unmake_text_xml_safe($source_file_key_to_submission_mapping{$chunk_key}) . "\n");
     701        # } else {
     702        #     &log_message("unmake-XML-safe versions of source chunk before and for submission match");
     703        # }
     704        ## END DEBUG
     705
    697706        # Make sure the submitted source chunk matches the source file chunk
    698707        if ($source_file_key_to_submission_mapping{$chunk_key} ne $source_file_key_to_text_mapping{$chunk_key}
Note: See TracChangeset for help on using the changeset viewer.