org.dspace.discovery
Interface IndexingService

All Known Implementing Classes:
SolrServiceImpl

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 commit()
           
 void createIndex(Context context)
           
 void indexContent(Context context, DSpaceObject dso)
           
 void indexContent(Context context, DSpaceObject dso, boolean force)
           
 void indexContent(Context context, DSpaceObject dso, boolean force, boolean commit)
           
 void optimize()
           
 void reIndexContent(Context context, DSpaceObject dso)
           
 void unIndexContent(Context context, DSpaceObject dso)
           
 void unIndexContent(Context context, DSpaceObject dso, boolean commit)
           
 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

indexContent

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

unIndexContent

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

unIndexContent

void unIndexContent(Context context,
                    DSpaceObject dso,
                    boolean commit)
                    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

commit

void commit()
            throws SearchServiceException
Throws:
SearchServiceException

optimize

void optimize()
              throws SearchServiceException
Throws:
SearchServiceException


Copyright © 2012 DuraSpace. All Rights Reserved.