Add more log information.
when we remove a slor index of a resource map, we don't need to know the content of the resource map. Instead, we will search the solr index to get information.
Add codes to handle remove a source map solr index.
update to use v2 types for indexing
Unify solr indexing with an IndexTask that is added to the queue -- allows us to send more than just the systemMetadata to the indexer. Initially this is for READ event counts for each document. https://projects.ecoinformatics.org/ecoinfo/issues/6346
If an object was archived, the solr index will be removed for it.
The IndexGenerator will index the obsoleted data objects as well.
Remove the obsoletes chain from the update method in the SolrIndex class.
merge from 2.2 branch: remove the index queue item when it is being processed. https://projects.ecoinformatics.org/ecoinfo/issues/6117
remove any index event errors if the pid has successfully been reindexed. https://projects.ecoinformatics.org/ecoinfo/issues/6089
Modified the documentation.
Besides the getArchvied() method, the getObsoletedBy method was added to determine if the object is archvied or not.
Add the code to write the error message to the log in the itemRemvoed method.
Add the EventLog code.
use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943
consolidate SystemMetadata map retrieval in preparation for using a different structure for objects to index.
Add code to wait the readiness of the hazelcast service.
Use the DistributedMapsFactory to get maps.
Use the log info to replace the print.
Consider mutithread issue there.
Use an update method to replace the insert and update methods in the SolrIndex class.
Use the Identifier object rather than String as the key to get the system metadata and object path.
Add code to get all doc ids in the solr server.
Add the getSystemMetadata and getObsoletes methods.
clean up logging for hz config file error
move hazelcast config file location code into the MetacatIndexServlet init method
correctly look up the context init parameter for the metacat properties file
lookup the hz client connection information from the hazelcast.xml file being used by metacat. https://projects.ecoinformatics.org/ecoinfo/issues/5909
add methods to set the SolrIndex instance and initialize the listener (includes overloaded constructor)
use SystemMetadata parameter for inserting into SolrIndex
add first pass at listening for SM events on HZ. Note that the configuration and even the call to solrIndex.insert() are not actually working.
Figured out to read beans from the configuration file.