Project

General

Profile

# Date Author Comment
9368 10/16/2015 08:22 PM Jing Tao

Add the code to print the exception.

9060 01/07/2015 12:02 PM ben leinfelder

use new IDocumentDeleteSubprocessors to handle clean-up of annotation index fields when annotations are removed.

9028 12/18/2014 04:34 PM ben leinfelder

use refactored classes from cn-index-processor. still in flux, but improving to better handle non-xml files

9018 12/12/2014 01:12 PM ben leinfelder

update classes and context files that use cn-index-processor classes. allowing document subprocessors to be less tied to XML.

8893 10/10/2014 03:04 PM Jing Tao

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.

8864 09/16/2014 05:07 PM Jing Tao

Add the code to handle to remove the resource map index.

8826 08/06/2014 01:09 PM ben leinfelder

update to use v2 types for indexing

8766 05/07/2014 11:16 PM ben leinfelder

pass around the object file path rather than the data stream so that multiple subprocessors can index the same object and not consume the stream before it gets to the next one. In preparation for extending the assertions stored in OREs. https://projects.ecoinformatics.org/ecoinfo/issues/6548

8761 04/30/2014 03:46 PM ben leinfelder

only allow multiple values for multi-valued fields....

8756 04/29/2014 04:52 PM ben leinfelder

allow multivalued fields to be indexed using the "fields" pass through.

8722 04/02/2014 03:35 PM ben leinfelder

handle null Boolean in SM.archived field

8580 02/07/2014 02:20 PM ben leinfelder

include ID field as a minimum for indexing additional fields.

8554 02/03/2014 02:53 PM ben leinfelder

correctly include stacktrace for error debugging.

8503 01/15/2014 09:55 AM ben leinfelder

check for existing index document before trying to use existing fields.

8464 01/07/2014 01:56 PM ben leinfelder

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

8352 10/30/2013 10:19 AM Jing Tao

Rename the IndexGenerator to IndexGeneratorTimerTask.

8345 10/28/2013 08:21 PM Jing Tao

Fixed a bug that when a data file was archived, the solr index for the metadata object still kept the "documents" element.

8344 10/28/2013 05:49 PM Jing Tao

made the delete method synchronized.

8343 10/28/2013 04:54 PM Jing Tao

If an object was archived, the solr index will be removed for it.

8288 10/08/2013 11:33 AM Jing Tao

Remove the obsoletes chain from the update method in the SolrIndex class.

8287 10/07/2013 05:56 PM Jing Tao

When an object is archvied, the solr index will not be removed.

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.

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

Modified the documentation.

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

Add a constructor.

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

Remove the constructor.

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

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

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

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

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.

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

Remove the EventLog write.

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

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

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

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.

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.

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

Use SolrQueryServiceController to get the ValidFieldList.

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

Add the code to add a resource map information.

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.

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

Use an update method to replace the insert and update methods in the SolrIndex 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.

7591 04/19/2013 01:03 PM ben leinfelder

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

7590 04/19/2013 12:43 PM ben leinfelder

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.

7577 04/18/2013 11:27 AM Jing Tao

Add the update method.

7574 04/17/2013 05:00 PM Jing Tao

Get the solr home dir from the metacat.properties.

7569 04/16/2013 05:14 PM Jing Tao

Add a query method in the test.

7555 04/16/2013 10:04 AM Jing Tao

Change one parameter type of the insert method from the InputStream to the SystemMetadata.

7549 04/12/2013 05:30 PM Jing Tao

Make EmbeddedServer work. It is for solr 3.4 since the d1_cn_index_processor depends on that version.

7548 04/12/2013 02:56 PM Jing Tao

Use the EmbeddedSolrServer to replace HttpSolrServer. Now it still has some issues.

7547 04/11/2013 01:43 PM Jing Tao

Add junit test class to test the SolrIndex class.

7546 04/10/2013 05:30 PM Jing Tao

Add insert method for SolrIndex.

7542 04/10/2013 03:34 PM Jing Tao

Figured out to read beans from the configuration file.