Package com.atlassian.confluence.search
Class UserOnlyReIndexSupport
java.lang.Object
com.atlassian.confluence.search.UserOnlyReIndexSupport
- All Implemented Interfaces:
ReIndexSupport<PersonalInformation>
Reindex support for users only.
- Since:
- 10.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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.Get the entity class for this reindex option.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
getClassFilter, getHandles, getHandles
-
Constructor Details
-
UserOnlyReIndexSupport
public UserOnlyReIndexSupport()
-
-
Method Details
-
getEntityClass
Description copied from interface:ReIndexSupportGet the entity class for this reindex option. Only required if using default implementations of getClassFilter() or getHandles().- Specified by:
getEntityClassin interfaceReIndexSupport<PersonalInformation>- Returns:
- the entity class
-
getDeleteQuery
Description copied from interface:ReIndexSupportGet the search query for deleting documents during reindexing.- Specified by:
getDeleteQueryin interfaceReIndexSupport<PersonalInformation>- 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<PersonalInformation>- 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<PersonalInformation>- Parameters:
jvmRuntime- the JVM system resources- Returns:
- the thread count
-
toString
-