Revision 8647
Added by ben leinfelder over 10 years ago
ReplicationService.java | ||
---|---|---|
636 | 636 |
// save the system metadata |
637 | 637 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
638 | 638 |
// submit for indexing |
639 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
639 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
640 | 640 |
} |
641 | 641 |
|
642 | 642 |
// dates |
... | ... | |
933 | 933 |
// save the system metadata |
934 | 934 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
935 | 935 |
// submit for indexing |
936 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
936 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
937 | 937 |
} |
938 | 938 |
|
939 | 939 |
// process the access control |
... | ... | |
1205 | 1205 |
new ByteArrayInputStream(systemMetadataXML.getBytes("UTF-8"))); |
1206 | 1206 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
1207 | 1207 |
// submit for indexing |
1208 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
1208 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
1209 | 1209 |
} |
1210 | 1210 |
|
1211 | 1211 |
logReplication.info("ReplicationService.handleForceReplicateSystemMetadataRequest - processed guid: " + guid); |
Also available in: Unified diff
recursively submit obsoleted objects for indexing when instructed. https://projects.ecoinformatics.org/ecoinfo/issues/6424