Project

General

Profile

« Previous | Next » 

Revision 7838

Added by Jing Tao over 9 years ago

Add the code that only the ids with the correct system metadata modification time will be added to the index queue.

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/IndexGenerator.java
406 406
                                resourceMapIds.add(identifier.getValue());
407 407
                            }
408 408
                            resourceMapPreviousDate = sysDate;
409
                        } else {
409
                        } else if (correctTimeRange) {
410 410
                            if(!otherIds.isEmpty()) {
411 411
                                if(sysDate.getTime() > otherPreviousDate.getTime()) {
412 412
                                    otherIds.add(identifier.getValue());

Also available in: Unified diff