Package com.atlassian.confluence.search
Class ContentOnlyReIndexSupport
java.lang.Object
com.atlassian.confluence.search.ContentOnlyReIndexSupport
- All Implemented Interfaces:
ReIndexSupport<Object>
Reindex support for content only (excludes attachments and users).
- Since:
- 10.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the class filter predicate for this reindex option.Get the search query for deleting documents during reindexing.getDeleteQuery(Optional<String> spaceKey) Get the search query for deleting documents during reindexing within a specific space.getHandles(SearchableDao dao, Optional<String> spaceKey) Get handles for reindexing within a specific space.getThreadCount(JvmSystemResources jvmRuntime) Get the number of threads to use for reindexing with specific JVM resources.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.ReIndexSupport
getEntityClass, getHandles
-
Constructor Details
-
ContentOnlyReIndexSupport
public ContentOnlyReIndexSupport()
-
-
Method Details
-
getHandles
Description copied from interface:ReIndexSupportGet handles for reindexing within a specific space.- Specified by:
getHandlesin interfaceReIndexSupport<Object>- Parameters:
dao- the searchable DAOspaceKey- the space key to limit to- Returns:
- list of hibernate handles
-
getDeleteQuery
Description copied from interface:ReIndexSupportGet the search query for deleting documents during reindexing.- Specified by:
getDeleteQueryin interfaceReIndexSupport<Object>- Returns:
- the delete query
-
getDeleteQuery
Description copied from interface:ReIndexSupportGet the search query for deleting documents during reindexing within a specific space.- Specified by:
getDeleteQueryin interfaceReIndexSupport<Object>- Parameters:
spaceKey- the space key to limit the deletion to- Returns:
- the delete query
-
getThreadCount
Description copied from interface:ReIndexSupportGet the number of threads to use for reindexing with specific JVM resources.- Specified by:
getThreadCountin interfaceReIndexSupport<Object>- Parameters:
jvmRuntime- the JVM system resources- Returns:
- the thread count
-
getClassFilter
Description copied from interface:ReIndexSupportGet the class filter predicate for this reindex option.- Specified by:
getClassFilterin interfaceReIndexSupport<Object>- Returns:
- predicate to filter classes
-
toString
-