Change the default solr endpoint to be the localhost.
Base the configuration to create either EmbeddedSolrServer or HttpSolrServer.
Read the solr configuration file name and collection name from the property file.
Print out the solr query result in the xml format.
naive version of SolrServerFactory - no reflection. It returns an EmbeddedSolrServer implementation based on the solr.homeDir set in Settings class. https://projects.ecoinformatics.org/ecoinfo/issues/5883
simplify testing with embedded solr server locations -- no need to copy solr-home or set system properties. Still more to do (factory method) but this is getting cleaner.
add place-holder for using SolrServerFactory to get the correct SOlrServer impl during application init
clean up configuration initialization
clean up logging for hz config file error
rely on Settings loaded from test resources config rather than hardcoding the paths in code. https://projects.ecoinformatics.org/ecoinfo/issues/5918
include test resource bundles to be loaded into Settings configuration during testing.
move hazelcast config file location code into the MetacatIndexServlet init method
use integration-test ("mvn verify") to test things that require Metacat to be running. These classes should end be named "*IT.java" and unit tests that do not require metacat to be running can be named "*Test.java" - https://projects.ecoinformatics.org/ecoinfo/issues/5918
Comment out the testRemove method temporarily.
Temporarily to comment out the remove test.
Add a test method to test the update method.
Add the update method.
Add documents for updating solr index.
Get the solr home dir from the metacat.properties.
Set the test solr home in the target directory.
Add the necessary files for the solr home.
Set the hazelcast.xml path for the test.
Add a query method in the test.
correctly look up the context init parameter for the metacat properties file
Move this file to the solr home and rename it to the schema.xml.
Add the solr home directory.
lookup the hz client connection information from the hazelcast.xml file being used by metacat. https://projects.ecoinformatics.org/ecoinfo/issues/5909
start the SystemMetadataListener for each solr index configured (expecting only one).
Remove this obsoleted file.
draft for sharing the metacat.properties with the metacat-index webapp. 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
Change one parameter type of the insert method from the InputStream to the SystemMetadata.
Add a file prefix to tell it is absolute path.
The module will create a servlet class in a war file.
Add a web.xml file for the war.
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.
Make EmbeddedServer work. It is for solr 3.4 since the d1_cn_index_processor depends on that version.
Use the EmbeddedSolrServer to replace HttpSolrServer. Now it still has some issues.
Add junit test class to test the SolrIndex class.
Add insert method for SolrIndex.
Remove the file generated by the wizard.
Figured out to read beans from the configuration file.
add the metacat-index component. It has nothing right now.