Revision 7838
Added by Jing Tao about 11 years ago
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
Add the code that only the ids with the correct system metadata modification time will be added to the index queue.