Package com.atlassian.confluence.search
Enum Class ReIndexOption
- All Implemented Interfaces:
Serializable,Comparable<ReIndexOption>,Constable
NB when adding options, also add to the metric tags in
LuceneFullReindexManager- Since:
- 5.10
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttachment onlyAll content except those others specifically listed below - e.g.User only -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet<ReIndexOption> deserialise(Collection<String> options, boolean reindexingSite) static EnumSet<ReIndexOption> This is only for site reindexingstatic EnumSet<ReIndexOption> fullReindex(boolean reindexingSite) abstract SearchQueryabstract SearchQuerygetDeleteQuery(Optional<String> spaceKey) getHandles(SearchableDao dao) abstract List<HibernateHandle> getHandles(SearchableDao dao, Optional<String> spaceKey) static booleanisFullReindex(Set<ReIndexOption> options) static ReIndexOptionReturns the enum constant of this class with the specified name.static ReIndexOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTENT_ONLY
All content except those others specifically listed below - e.g. attachments or users -
ATTACHMENT_ONLY
Attachment only -
USER_ONLY
User only
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDeleteQuery
-
getDeleteQuery
-
getThreadCount
-
getClassFilter
-
getHandles
-
getHandles
-
isFullReindex
-
fullReindex
This is only for site reindexing -
fullReindex
- Parameters:
reindexingSite- true if Confluence is re-indexing the whole site- Returns:
- the relevant options
- Since:
- 8.2.0
-
deserialise
public static EnumSet<ReIndexOption> deserialise(Collection<String> options, boolean reindexingSite) - Parameters:
options- a collection of options is their serialised form- Returns:
- an
EnumSetofReIndexOption - Since:
- 8.2.0
-