Class SearchFieldMappings
java.lang.Object
com.atlassian.confluence.search.v2.SearchFieldMappings
A helper class that contains the known set of field mappings for the core indexes.
- Since:
- 8.6
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated, for removal: This API element is subject to removal in a future version.This is a temporary solution for backward compatibility purposes, and will be removed in a future version.static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant to represent the value for an anonymous last modifier in the index.static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
static final StringFieldMapping
static final LongFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
Stores a general type for multiple MIME types; multiple MIME types may map to one description, e.g.static final StringFieldMapping
Stores the fully qualified class name of the content that owns the attachmentstatic final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
static final LongFieldMapping
static final TextFieldMapping
static final StringFieldMapping
An untokenized version of the title of a piece of content to enable sorting on itstatic final NestedStringFieldMapping
Deprecated, for removal: This API element is subject to removal in a future version.since 8.9.static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
Stored contentBody, only populated if its size is within 1MB limit (or as specified in "atlassian.indexing.contentbody.maxsize" system property).static final StringFieldMapping
static final StringFieldMapping
static final DateFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
Deprecated.since 8.6.static final TextFieldMapping
static final TextFieldMapping
static final TextFieldMapping
static final TextFieldMapping
static final StringFieldMapping
static final TextFieldMapping
The display name of the user.static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final BooleanFieldMapping
static final BooleanFieldMapping
static final StringFieldMapping
The same as LABEL, but for labels inherited from a containing object (i.e.static final TextFieldMapping
The same as LABEL_TEXT, but for labels inherited from a containing object (i.e.static final BooleanFieldMapping
"true" if the User is deactivated/disabled, else "false".static final BooleanFieldMapping
"true" if the User has been removed from the system via an External Directory, else "false".static final BooleanFieldMapping
"true" if the User has a license to use the system, else "false".static final BooleanFieldMapping
"true" if the User is a shadowed user.static final StringFieldMapping
Assigned multiple fields of namespaced labelsstatic final TextFieldMapping
This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content.static final DateFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
static final ContentPermissionSetFieldMapping
static final StringFieldMapping
static final StringFieldMapping
Relative URL of the user's profile picture, as returned byProfilePictureInfo.getUriReference()
.static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final StringFieldMapping
static final TextFieldMapping
static final StringFieldMapping
static final StringFieldMapping
The user key as returned byConfluenceUser.getKey()
.static final TextFieldMapping
The username as returned byEntity.getName()
.static final StringFieldMapping
-
Method Summary
-
Field Details
-
ATTACHMENT_DOWNLOAD_PATH
-
ATTACHMENT_FILE_EXTENSION
-
ATTACHMENT_FILE_NAME
-
ATTACHMENT_FILE_NAME_UNTOKENIZED
-
ATTACHMENT_FILE_SIZE
-
ATTACHMENT_MIME_TYPE
-
ATTACHMENT_NICE_FILE_SIZE
-
ATTACHMENT_NICE_TYPE
Stores a general type for multiple MIME types; multiple MIME types may map to one description, e.g. "Image". -
ATTACHMENT_OWNER_CONTENT_TYPE
Stores the fully qualified class name of the content that owns the attachment -
ATTACHMENT_OWNER_ID
-
ATTACHMENT_OWNER_REAL_TITLE
-
ATTACHMENT_OWNER_TYPE
-
ATTACHMENT_OWNER_URL_PATH
-
ATTACHMENT_OWNER_USERNAME
-
ATTACHMENT_VERSION_COMMENT
-
CLASS_NAME
-
CONTAINER_CONTENT_TYPE
-
CONTENT
-
CONTENT_STORED
Stored contentBody, only populated if its size is within 1MB limit (or as specified in "atlassian.indexing.contentbody.maxsize" system property). Any content larger than that won't be stored in the index, nor fetched in the search results.- See Also:
-
CONTENT_NAME_UNSTEMMED
-
EXACT_CONTENT_BODY
-
CONTENT_NAME_UNTOKENIZED
An untokenized version of the title of a piece of content to enable sorting on it -
PERMISSION_SETS
-
CONTENT_PERMISSION_SETS
Deprecated, for removal: This API element is subject to removal in a future version.since 8.9. UsePERMISSION_SETS
instead. -
CONTENT_PLUGIN_KEY
-
CONTENT_STATUS
-
EXCERPT
-
CONTENT_VERSION
-
CREATION_DATE
-
CREATOR
-
DOCUMENT_TYPE
Deprecated.since 8.6. This field is redundant because CONTENT and CHANGE have been split to separate indexes.Represents the document type.- See Also:
-
HANDLE
-
CONTENT_ID
-
HOME_PAGE
-
INHERITED_LABEL
The same as LABEL, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on). -
INHERITED_LABEL_TEXT
The same as LABEL_TEXT, but for labels inherited from a containing object (i.e. comments will get the labels of the object they are commenting on). -
IN_SPACE
-
IS_DEACTIVATED_USER
"true" if the User is deactivated/disabled, else "false". -
IS_EXTERNALLY_DELETED_USER
"true" if the User has been removed from the system via an External Directory, else "false". -
IS_LICENSED_USER
"true" if the User has a license to use the system, else "false". -
IS_SHADOWED_USER
"true" if the User is a shadowed user. The shadowed users come from multiple user directories. The primary user is the active user. -
LABEL
Assigned multiple fields of namespaced labels -
LABEL_TEXT
This field is assigned a value consisting of a space delimited list of all the publicly visible labels on a piece of content. -
LAST_MODIFICATION_DATE
-
LAST_MODIFIER
-
ANONYMOUS_LAST_MODIFIER_ID
Constant to represent the value for an anonymous last modifier in the index. We want to record anonymous users, so we can remove change documents by them (also because you cannot use lucene to search for documents that don't have a field).- See Also:
-
LAST_MODIFIERS
-
LAST_UPDATE_DESCRIPTION
-
LATEST_VERSION_ID
-
MENTION
-
MACRO_NAME
-
MACRO_STORAGE_VERSION
-
PAGE_DISPLAY_TITLE
-
PAGE_URL_PATH
-
PARENT_TITLE_UNSTEMMED
-
PERSONAL_INFORMATION_HAS_PERSONAL_SPACE
-
PROFILE_PICTURE_URL
Relative URL of the user's profile picture, as returned byProfilePictureInfo.getUriReference()
. -
RETENTION_POLICY
-
RETENTION_POLICY_DELETE_TRASH
-
RETENTION_POLICY_DELETE_VERSION
-
SPACE_KEY
-
SPACE_NAME
-
SPACE_TYPE
-
TITLE
-
DISPLAY_TITLE
-
EXACT_TITLE
-
EXACT_FILENAME
-
TYPE
-
CONTENT_URL_PATH
-
CHANGE_URL_PATH
-
USER_KEY
The user key as returned byConfluenceUser.getKey()
. -
USER_NAME
The username as returned byEntity.getName()
. -
FULL_NAME
The display name of the user. -
FULL_NAME_UNTOKENIZED
-
FULL_NAME_SORTABLE
-
EMAIL
-
VERSION
-