Project

General

Profile

Statistics
| Revision:

# Date Author Comment
8095 07/31/2013 03:11 PM Jing Tao

fixed a bug that the setup method deleted a result file.

8094 07/31/2013 01:00 PM Jing Tao

Add a method to count how many documents in a specified solr server.

8084 07/30/2013 10:26 AM Jing Tao

Remove a logFile method.

8070 07/22/2013 03:50 PM ben leinfelder

use the v1.1.2 d1-cn-index-processor

8069 07/22/2013 03:48 PM ben leinfelder

use the v1.1.x branch ResourceMap class for metacat-index

8035 07/19/2013 09:08 AM Jing Tao

The exceptions will be caught during the looping of deleting the solr index.

8027 07/18/2013 09:06 AM Jing Tao

Remove the code to write some debug information into a temporary file.

8023 07/17/2013 03:48 PM Jing Tao

Use the ResourceMapFactory rather than the ResourceMap constructor to build a resource map.

8022 07/17/2013 03:33 PM ben leinfelder

rollback: we do want to use 1.2.0-SNAPSHOT from d1 indexing.

8017 07/17/2013 11:33 AM Jing Tao

Write the ids from metacat into a temporary file.

8011 07/16/2013 03:00 PM ben leinfelder

use tagged version of cn-index-processor library

7931 07/12/2013 09:06 AM Jing Tao

Move a file to the temp dir.

7924 07/11/2013 04:28 PM Jing Tao

Add a method to write ids which will be indexed into a file.

7888 07/11/2013 11:43 AM Jing Tao

Fixed a bug that the missed id is not writtent to the file.

7883 07/11/2013 11:20 AM Jing Tao

Add a class to compare ids in the solr and metacat.

7877 07/10/2013 04:32 PM Jing Tao

Besides the getArchvied() method, the getObsoletedBy method was added to determine if the object is archvied or not.

7876 07/10/2013 04:14 PM Jing Tao

Add code to handle deleted ids.

7866 07/09/2013 02:37 PM Jing Tao

Use schedule method to start the index.

7863 07/09/2013 10:16 AM Jing Tao

Add the code to write the error message to the log in the itemRemvoed method.

7858 07/08/2013 03:09 PM Jing Tao

In determining the time arrange, the equality was removed.

7857 07/08/2013 03:05 PM Jing Tao

Add code to handle failed ids.

7856 07/08/2013 02:00 PM Jing Tao

Remove the EventLog write.

7854 07/08/2013 12:09 PM Jing Tao

Add the EventLog code.

7852 07/05/2013 05:14 PM Jing Tao

It will throw an exception if the subprocessor can't handle the document.

7851 07/05/2013 04:59 PM Jing Tao

Check if the all components of a resource map have been processed before processing the resource map.

7848 07/03/2013 04:34 PM Jing Tao

Fixed a bug that the event log can't save the real lastest process date.

7847 07/03/2013 03:56 PM Jing Tao

Change the date format.
Remove the replication part of log4j.

7846 07/03/2013 10:28 AM Jing Tao

Use a new date format.

7845 07/03/2013 10:25 AM Jing Tao

Add a log4j properties file.

7844 07/03/2013 10:24 AM Jing Tao

Add a file to specify the log4j as the logger.

7841 07/03/2013 12:03 AM ben leinfelder

add MapStore/Loader test for the IndexEvents -- adding and removing events in the DB table through hazelcast. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7838 07/02/2013 03:21 PM Jing Tao

Add the code that only the ids with the correct system metadata modification time will be added to the index queue.

7836 07/01/2013 01:59 PM Jing Tao

Add code to get and set the last process date.

7828 06/25/2013 01:23 PM ben leinfelder

move IndexEvent into metacat-common. Perparation for Metacat responding to events and writing them to a persistent store. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7815 06/21/2013 09:09 AM ben leinfelder

refactor IndexEventLog a bit to simplify type/action information. prep for serializing IndexEvent objects to Metacat. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7814 06/20/2013 05:28 PM ben leinfelder

remove serial number from indexeventlog - it is not used elsewhere in the api. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7813 06/20/2013 05:21 PM ben leinfelder

correct spelling for index.eventlog.classname property

7812 06/20/2013 04:49 PM ben leinfelder

use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943

7811 06/20/2013 12:23 PM ben leinfelder

consolidate SystemMetadata map retrieval in preparation for using a different structure for objects to index.

7810 06/20/2013 09:24 AM ben leinfelder

adding ability to remove event from the [error] queue.

7807 06/17/2013 05:07 PM Jing Tao

Add code to implment set and get the last processed date.

7806 06/17/2013 04:28 PM Jing Tao

It will make the index only for those objects which were modified after the marked time.

7805 06/17/2013 01:50 PM Jing Tao

Add set and get the lastprocessedDate in the IndexEventLog.
Remove the code to write the successful event.

7802 06/12/2013 02:36 PM Jing Tao

Log the timed index jobs.

7801 06/12/2013 02:08 PM Jing Tao

Add the code to log the failed events.

7800 06/11/2013 06:24 PM Jing Tao

Add a temporary file log for debugging.

7799 06/11/2013 06:23 PM Jing Tao

Use commons-io 2.4

7797 06/07/2013 04:38 PM Jing Tao

Add a serial number for the event.
Add method to set events to be archived.

7796 06/07/2013 11:22 AM Jing Tao

Add a new class variable - isArchived for class IndexEvent.

7795 06/06/2013 04:13 PM Jing Tao

Update the documentation about those classes.

7794 06/06/2013 03:17 PM Jing Tao

Add a event and eventlog for the index.

7793 06/05/2013 03:03 PM Jing Tao

Use the identifier set to get the list of ids in the member node.

7792 06/05/2013 02:20 PM Jing Tao

The returned ISet should be Identifier.

7791 06/05/2013 01:50 PM Jing Tao

Add code to test getIdentifierSet method.

7790 06/05/2013 01:50 PM Jing Tao

Add method to get identifier set.

7788 06/04/2013 02:47 PM Jing Tao

Set up a Timer to run the regenerating solr index task periodically.

7786 05/31/2013 03:29 PM Jing Tao

Add code to handle delete data package information when delete a pid in the solr index.

7785 05/31/2013 02:05 PM Jing Tao

Add two static methods to get the SystemMetadata and data object InputStream for the specified id.

7784 05/28/2013 05:19 PM Jing Tao

Change the code since the ApplicationController's constructor was changed.

7783 05/28/2013 05:18 PM Jing Tao

Add code to check if the metacat.properties is available.

7782 05/28/2013 01:21 PM Jing Tao

If solr is not enabled, it would not be running.

7776 05/23/2013 11:57 PM Jing Tao

Use another thread in the Servlet init method to wait hazelcast.

7774 05/23/2013 09:59 PM Jing Tao

Put the waiting mechanism for the hazelcast at the first place.

7771 05/23/2013 06:28 PM Jing Tao

Temporarily remove the code to disable solr engine if it isn't listed in the property file.

7769 05/23/2013 04:27 PM Jing Tao

If the solr engine is disabled, the metacat index will do nothing.

7754 05/22/2013 04:18 PM Jing Tao

set the dataone.hazelcast.location.clientconfig property to be the local config file. It will be used in the d1_cn_index_processor

7748 05/22/2013 11:19 AM Jing Tao

Read the waiting time and maximum attempts from the metacat.properties file.

7744 05/22/2013 10:29 AM Jing Tao

Add some new properties for the test.

7740 05/21/2013 11:33 PM Jing Tao

Index the none-resourcemap data objects first, then the resourcemap objects.

7734 05/21/2013 02:23 PM Jing Tao

Try to get the metacat ids first.

7733 05/21/2013 11:11 AM Jing Tao

Use SolrQueryServiceController to get the ValidFieldList.

7724 05/18/2013 11:32 PM Jing Tao

Change the package name of SolrQueryResponseTransformer and SolrQueryWriterFactory.

7717 05/18/2013 04:49 PM Jing Tao

Add the depency of d1_cn_index_processor here.

7715 05/18/2013 03:57 PM Jing Tao

move the depency of d1_cn_index_processor to the metacat-common module.

7711 05/17/2013 05:01 PM Jing Tao

Add the code to add a resource map information.

7710 05/17/2013 04:07 PM Jing Tao

Add code the transform query response to SolrDoc.

7701 05/16/2013 04:02 PM ben leinfelder

use java 1.6 for maven compiler

7697 05/16/2013 12:04 PM Jing Tao

Use the new class to handle the resource map.

7696 05/15/2013 05:48 PM Jing Tao

Modify the subprocessor to use SolrServer rather than solr service url.

7691 05/13/2013 09:23 PM Jing Tao

Add code to wait the readiness of the hazelcast service.

7690 05/13/2013 04:34 PM Jing Tao

Use the DistributedMapsFactory to get maps.

7689 05/13/2013 03:51 PM Jing Tao

Add a class to get distributed maps such as the system metadata map.

7688 05/13/2013 11:58 AM Jing Tao

Removed the comment on the process of building index.

7687 05/13/2013 11:55 AM Jing Tao

Add code to wait the startup of the MNode.

7684 05/10/2013 02:37 PM Jing Tao

Use the log info to replace the print.

7683 05/10/2013 02:36 PM Jing Tao

Add log information for archiving or inserting indexes.

7682 05/09/2013 12:11 PM Jing Tao

Consider mutithread issue there.

7658 05/02/2013 11:21 AM Jing Tao

Catch a new exception base on the change of the calling method.

7631 04/29/2013 09:14 AM Jing Tao

use the sharing code from the metacat-common.

7630 04/29/2013 09:13 AM Jing Tao

Move this class to the metacat-common.

7627 04/26/2013 05:12 PM Jing Tao

Use an update method to replace the insert and update methods in the SolrIndex class.

7626 04/26/2013 05:10 PM Jing Tao

Add a system metadata for archiving.

7613 04/24/2013 02:23 PM Jing Tao

Add code to generate index during the servlet initialization.

7612 04/24/2013 12:12 PM Jing Tao

Add the names of the system metadata and the data object imaps.

7611 04/24/2013 11:57 AM Jing Tao

Use the Identifier object rather than String as the key to get the system metadata and object path.

7610 04/24/2013 11:30 AM Jing Tao

Add code to start hazelcast.

7607 04/23/2013 04:17 PM Jing Tao

Add a junit test for the IndexGenerator class.

7606 04/23/2013 12:00 PM Jing Tao

Add a new class which will generate index for the ids.

7604 04/22/2013 06:08 PM Jing Tao

Add code to get all doc ids in the solr server.

7603 04/22/2013 02:46 PM Jing Tao

Add a remove(List) method in the class and an obsoletes list parameter in the update method.