Package org.dspace.discovery
Interface IndexingService
-
- All Known Implementing Classes:
SolrServiceImpl
public interface IndexingServiceInterface used for indexing IndexableObject 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildSpellCheck()voidcleanIndex(boolean force)voidcommit()voidcreateIndex(Context context)voidindexContent(Context context, IndexableObject dso)voidindexContent(Context context, IndexableObject dso, boolean force)voidindexContent(Context context, IndexableObject dso, boolean force, boolean commit)voidoptimize()voidreIndexContent(Context context, IndexableObject dso)voidunIndexContent(Context context, String uniqueSearchID)voidunIndexContent(Context context, String uniqueSearchID, boolean commit)voidunIndexContent(Context context, IndexableObject dso)voidunIndexContent(Context context, IndexableObject dso, boolean commit)voidupdateIndex(Context context)voidupdateIndex(Context context, boolean force)voidupdateIndex(Context context, boolean force, String type)
-
-
-
Method Detail
-
indexContent
void indexContent(Context context, IndexableObject dso) throws SQLException
- Throws:
SQLException
-
indexContent
void indexContent(Context context, IndexableObject dso, boolean force) throws SQLException
- Throws:
SQLException
-
indexContent
void indexContent(Context context, IndexableObject dso, boolean force, boolean commit) throws SQLException, SearchServiceException
- Throws:
SQLExceptionSearchServiceException
-
unIndexContent
void unIndexContent(Context context, IndexableObject dso) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
unIndexContent
void unIndexContent(Context context, IndexableObject dso, boolean commit) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
unIndexContent
void unIndexContent(Context context, String uniqueSearchID) throws IOException
- Throws:
IOException
-
unIndexContent
void unIndexContent(Context context, String uniqueSearchID, boolean commit) throws IOException
- Throws:
IOException
-
reIndexContent
void reIndexContent(Context context, IndexableObject dso) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
createIndex
void createIndex(Context context) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
updateIndex
void updateIndex(Context context)
-
updateIndex
void updateIndex(Context context, boolean force)
-
cleanIndex
void cleanIndex(boolean force) throws IOException, SQLException, SearchServiceException
-
commit
void commit() throws SearchServiceException- Throws:
SearchServiceException
-
optimize
void optimize() throws SearchServiceException- Throws:
SearchServiceException
-
buildSpellCheck
void buildSpellCheck() throws SearchServiceException, IOException- Throws:
SearchServiceExceptionIOException
-
-