Fixed a bug the collection name was not set.
Catch a new exception base on the change of the calling method.
Add getCollectionName method.
Use solr query instead of path query in the NCEAS skin. https://projects.ecoinformatics.org/ecoinfo/issues/5917
only build metacat-common before compile, no need to do it every time the ant build is called.
enable solr results rendering on the server side for the NCEAS skin (does not include UI for generating the query yet). https://projects.ecoinformatics.org/ecoinfo/issues/5917
clean-up the solr results XSLT to display more pertinent fields (many paths have been collapsed into single fields, etc). Added an abstract snippet in the search results (140 chars). https://projects.ecoinformatics.org/ecoinfo/issues/5916
Add double quotes to surrend the user or group names in the access fq. This will fix the issue if the names have white spaces.
rename resultset template to include "solr" so that it can co-exist with the original pathquery-based resultset template (NCEAS skin approach that has one style sheet for multiple document types)
use charset=UTF-8 for the meta tag (especially important if other international sites want to use default skin with translations)
Add the access query filter.
Allow use of server-side XSLT for SOLR queries that include "wt=<qformat>". https://projects.ecoinformatics.org/ecoinfo/issues/5812
Use 2.0.7 version number in configuration/upgrade/docs (trunk, even though we will not be releasing 2.0.7 from trunk, we want to have the upgrade scripts included here)
Allow null SM.submitter (per schema). There were null values in cn-dev (and probably elsewhere since it is technically allowed in the schema. But with a null value, we need to have a null Subject for the SM.submitter field, not a Subject with a null getValue() return. Encountered this when testing for: https://projects.ecoinformatics.org/ecoinfo/issues/5929.
add space to prevent syntax error when additional clause is appended. https://projects.ecoinformatics.org/ecoinfo/issues/5929.
move maven.home into build properties (hoping that hudson will be able to correctly override it)
CHange replication 'update' query to use a LEFT JOIN so that the performance of the replication update action is improved, which had been causing an HTTP timeout for large metacat installations. See https://projects.ecoinformatics.org/ecoinfo/issues/5929.
Add the code to read the index field information from the schema.xml.
Add code to handle the solr index information. we still need to figure out how to get the information.
Add the code to build the metacat-common.
Add the dependency to the metacat-common.
use the sharing code from the metacat-common.
Move this class to the metacat-common.
Remove the bin directory.
Add a new module for sharing the between the metacat and metacat-index.
Use an update method to replace the insert and update methods in the SolrIndex class.
Add a system metadata for archiving.
Add the solr engine to the engine list.
create the lib/maven directory in order to resolve the deps and carry on with the build.
require utilities.jar before compile
use maven to manage most jar dependencies in Metacat.Exceptions include: LSID, Datamamager (EML),
Include solr and lucene jar files into the war. We maybe change it when we use pom.xml to manage the jar dependency.
Add code to handle solr query.
Remove the jar file.
Add the jar file which will be used by solr.
Add 3.4 jar files.
Remove the 4.1 jar files.
Add the 3.4 jar.
Remove the 4.1 jar and use the 3.4 jar.
Add code to generate index during the servlet initialization.
Add the names of the system metadata and the data object imaps.
Use the Identifier object rather than String as the key to get the system metadata and object path.
Add code to start hazelcast.
Add a class to handle solr query.
Remove those obsolete index classes.
Add a junit test for the IndexGenerator class.
Add a new class which will generate index for the ids.
Add code to get all doc ids in the solr server.
Add a remove(List) method in the class and an obsoletes list parameter in the update method.
Add the getSystemMetadata and getObsoletes methods.
Merging the METACAT_2_0_6_BRANCH changes for [M|C]NodeService into the trunk.
change the solr end point to be the localhost.
Change the default solr endpoint to be the localhost.
Base the configuration to create either EmbeddedSolrServer or HttpSolrServer.
Add some new properties for the solr.
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
do not skip tests during metacat-index package phase. https://projects.ecoinformatics.org/ecoinfo/issues/5918
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
format before editing.
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.
Add a solr.homeDir property.
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.
split the deployment of metacat-index.war copy into two different tasks so that the "install" target puts it in both the /dist and "deployment directory" whereas the "install-metacat-index" bypasses metacat building and kust rebuilds the metacat-index.war and puts it in the deply directory.
copy the metacat-index.war file to the app.deploy.dir rather than dist.dir.
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.
include the objectPathMap name in the metacat.properties (used by metacat-index component) https://projects.ecoinformatics.org/ecoinfo/issues/5909
lookup the hz client connection information from the hazelcast.xml file being used by metacat. https://projects.ecoinformatics.org/ecoinfo/issues/5909
build metacat-index.war using maven and copy to the metacat /dist folder. https://projects.ecoinformatics.org/ecoinfo/issues/5907
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.
Excludes the slf4j-log4j12.jar for removing duplicated class.
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.