Project

General

Profile

« Previous | Next » 

Revision 7683

Added by Jing Tao over 11 years ago

Add log information for archiving or inserting indexes.

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SolrIndex.java
348 348
                removeObsoletesChain(obsolete.getValue(), obsoleteIds);
349 349
            }
350 350
            remove(pid);
351
            log.info("============================= archive the idex for the identifier "+pid);
351 352
        } else {
352 353
            Identifier obsolete = systemMetadata.getObsoletes();
353 354
            if(obsolete != null) {
......
355 356
            }
356 357
            //generate index for either add or update.
357 358
            insert(pid, systemMetadata, data);
359
            log.info("============================= insert index for the identifier "+pid);
358 360
        }
359 361
    }
360 362
    

Also available in: Unified diff