Revision 8647
Added by ben leinfelder over 10 years ago
ReplicationHandler.java | ||
---|---|---|
403 | 403 |
logReplication.debug("Saving SystemMetadata to shared map: " + sysMeta.getIdentifier().getValue()); |
404 | 404 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
405 | 405 |
// submit for indexing |
406 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
406 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
407 | 407 |
} |
408 | 408 |
|
409 | 409 |
docinfoParser.parse(new InputSource(new StringReader(docInfoStr))); |
... | ... | |
582 | 582 |
// save the system metadata |
583 | 583 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
584 | 584 |
// submit for indexing |
585 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
585 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
586 | 586 |
|
587 | 587 |
} |
588 | 588 |
|
... | ... | |
881 | 881 |
.getBytes("UTF-8"))); |
882 | 882 |
HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta); |
883 | 883 |
// submit for indexing |
884 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null); |
|
884 |
MetacatSolrIndex.getInstance().submit(sysMeta.getIdentifier(), sysMeta, null, true);
|
|
885 | 885 |
} |
886 | 886 |
|
887 | 887 |
logReplication.info("ReplicationHandler.handleSystemMetadata - Successfully replicated system metadata for guid: " |
Also available in: Unified diff
recursively submit obsoleted objects for indexing when instructed. https://projects.ecoinformatics.org/ecoinfo/issues/6424