public final enum

SearchResultType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.confluence.search.v2.SearchResultType

Class Overview

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).

Summary

Enum Values
SearchResultType  CHANGE  A result that represents an edit/change  
SearchResultType  CONTENT  A result that contains the content/body of a confluence entity (allowing searching against the full text of its body for example)  
Public Methods
static SearchResultType valueOf(String name)
final static SearchResultType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SearchResultType CHANGE

A result that represents an edit/change

public static final SearchResultType CONTENT

A result that contains the content/body of a confluence entity (allowing searching against the full text of its body for example)

Public Methods

public static SearchResultType valueOf (String name)

public static final SearchResultType[] values ()