org.dspace.discovery
Interface IndexingService


public interface IndexingService

Interface used for indexing dspaceobject into discovery

Author:
Kevin Van de Velde (kevin at atmire dot com), Mark Diggory (markd at atmire dot com), Ben Bosman (ben at atmire dot com)

Method Summary
 void cleanIndex(boolean force)
           
 void createIndex(Context context)
           
 void indexContent(Context context, DSpaceObject dso)
           
 void indexContent(Context context, DSpaceObject dso, boolean force)
           
 void optimize()
           
 void reIndexContent(Context context, DSpaceObject dso)
           
 void unIndexContent(Context context, DSpaceObject dso)
           
 void unIndexContent(Context context, String handle)
           
 void unIndexContent(Context context, String handle, boolean commit)
           
 void updateIndex(Context context)
           
 void updateIndex(Context context, boolean force)
           
 

Method Detail

indexContent

void indexContent(Context context,
                  DSpaceObject dso)
                  throws SQLException
Throws:
SQLException

indexContent

void indexContent(Context context,
                  DSpaceObject dso,
                  boolean force)
                  throws SQLException
Throws:
SQLException

unIndexContent

void unIndexContent(Context context,
                    DSpaceObject dso)
                    throws SQLException,
                           IOException
Throws:
SQLException
IOException

unIndexContent

void unIndexContent(Context context,
                    String handle)
                    throws SQLException,
                           IOException
Throws:
SQLException
IOException

unIndexContent

void unIndexContent(Context context,
                    String handle,
                    boolean commit)
                    throws SQLException,
                           IOException
Throws:
SQLException
IOException

reIndexContent

void reIndexContent(Context context,
                    DSpaceObject dso)
                    throws SQLException,
                           IOException
Throws:
SQLException
IOException

createIndex

void createIndex(Context context)
                 throws SQLException,
                        IOException
Throws:
SQLException
IOException

updateIndex

void updateIndex(Context context)

updateIndex

void updateIndex(Context context,
                 boolean force)

cleanIndex

void cleanIndex(boolean force)
                throws IOException,
                       SQLException,
                       SearchServiceException
Throws:
IOException
SQLException
SearchServiceException

optimize

void optimize()


Copyright © 2011 DuraSpace. All Rights Reserved.