Project

General

Profile

« Previous | Next » 

Revision 7734

Added by Jing Tao over 11 years ago

Try to get the metacat ids first.

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/IndexGenerator.java
153 153
                                                InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, FileNotFoundException {
154 154
        List<String> solrIds = null;
155 155
        List<String> metacatIds = null;
156
        metacatIds = getMetadataIds(since, until);
157
        log.info("the metacat ids -----------------------------"+metacatIds);
156 158
        if(!force) {
157 159
            solrIds = getSolrDocIds();
158 160
        }
159 161
        log.info("the solr ids -----------------------------"+solrIds);
160
        metacatIds = getMetadataIds(since, until);
161
        log.info("the metacat ids -----------------------------"+metacatIds);
162
        
162 163
        initSystemMetadataMap();
163 164
        initObjectPathMap();
164 165
        if(metacatIds != null) {

Also available in: Unified diff