| Revision:

metacat / metacat-index / src @ 8187

# Date Author Comment
8187 09/12/2013 10:45 AM ben leinfelder

remove any index event errors if the pid has successfully been reindexed.

8161 08/23/2013 11:39 AM Jing Tao

Change the parameters order of the constructor. We maybe reuse some code from d1_cn_processor.

8152 08/14/2013 02:17 PM Jing Tao

Remove the solr-home to the metacat-common.

8144 08/13/2013 03:53 PM Jing Tao

Remove the file and it will got from the D1.

8138 08/09/2013 05:07 PM Jing Tao

Modified the documentation.

8136 08/09/2013 04:52 PM Jing Tao

Modified the documentation.

8135 08/09/2013 04:49 PM Jing Tao

Add a junit test to test resourcemap subprocessor.

8134 08/09/2013 04:43 PM Jing Tao

Use the ResourceMapException when a component of a resource map isn't found in the solr index.

8133 08/09/2013 04:42 PM Jing Tao

Add a ResourceMapException.

8132 08/09/2013 03:56 PM Jing Tao

Add the property of dataone.hazelcast.location.clientconfig.

8131 08/09/2013 01:22 PM Jing Tao

Make the method getSolrindex to be public.

8130 08/09/2013 10:25 AM Jing Tao

change the configuration path.

8129 08/09/2013 10:17 AM Jing Tao

Change the configuration path according to the change of the class.

8128 08/08/2013 03:08 PM Jing Tao

Use the class path configuration of spring to replace the file configuration. We can reuse the application context files in the d1_cn_index_processor jar.

8127 08/08/2013 03:01 PM Jing Tao

Remove the application context files (except the resource map one). It will use the ones in the d1_cn_index_processor.

8126 08/08/2013 02:19 PM Jing Tao

Add a new property for the log class name.

8125 08/08/2013 01:43 PM Jing Tao

Add a constructor.

8124 08/08/2013 11:03 AM Jing Tao

Remove the constructor.

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.

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.

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

Write the ids from metacat into a temporary file.

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.

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.

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.

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

remove serial number from indexeventlog - it is not used elsewhere in the api.

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.

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.

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 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 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.

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.

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.