public enum SearchResultType extends Enum<SearchResultType>
Represents a confluence search result type.
Introducing types allows us to distinguish between different results in the index and allow us to target certain results for specific operations.
For example, when a user has updated a page, we can remove the associated
CONTENT result from the index and add a new one
(without affecting results of a different type).
|Enum Constant and Description|
A result that represents an edit/change
A result that contains the content/body of a confluence entity (allowing searching against the full text of its body for example)
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final SearchResultType CONTENT
public static final SearchResultType CHANGE
public static SearchResultType values()
for (SearchResultType c : SearchResultType.values()) System.out.println(c);
public static SearchResultType valueOf(String name)
Copyright © 2003–2016 Atlassian. All rights reserved.