Class SearchFieldMappings

java.lang.Object
com.atlassian.confluence.search.v2.SearchFieldMappings

public final class SearchFieldMappings extends Object
A helper class that contains the known set of field mappings for the core indexes.
Since:
8.6
  • Field Details

    • ATTACHMENT_DOWNLOAD_PATH

      public static final StringFieldMapping ATTACHMENT_DOWNLOAD_PATH
    • ATTACHMENT_FILE_EXTENSION

      public static final StringFieldMapping ATTACHMENT_FILE_EXTENSION
    • ATTACHMENT_FILE_NAME

      public static final TextFieldMapping ATTACHMENT_FILE_NAME
    • ATTACHMENT_FILE_NAME_UNTOKENIZED

      public static final StringFieldMapping ATTACHMENT_FILE_NAME_UNTOKENIZED
    • ATTACHMENT_FILE_SIZE

      public static final LongFieldMapping ATTACHMENT_FILE_SIZE
    • ATTACHMENT_MIME_TYPE

      public static final StringFieldMapping ATTACHMENT_MIME_TYPE
    • ATTACHMENT_NICE_FILE_SIZE

      public static final StringFieldMapping ATTACHMENT_NICE_FILE_SIZE
    • ATTACHMENT_NICE_TYPE

      public static final StringFieldMapping 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

      public static final StringFieldMapping ATTACHMENT_OWNER_CONTENT_TYPE
      Stores the fully qualified class name of the content that owns the attachment
    • ATTACHMENT_OWNER_ID

      public static final StringFieldMapping ATTACHMENT_OWNER_ID
    • ATTACHMENT_OWNER_REAL_TITLE

      public static final StringFieldMapping ATTACHMENT_OWNER_REAL_TITLE
    • ATTACHMENT_OWNER_TYPE

      public static final StringFieldMapping ATTACHMENT_OWNER_TYPE
    • ATTACHMENT_OWNER_URL_PATH

      public static final StringFieldMapping ATTACHMENT_OWNER_URL_PATH
    • ATTACHMENT_OWNER_USERNAME

      public static final StringFieldMapping ATTACHMENT_OWNER_USERNAME
    • ATTACHMENT_VERSION_COMMENT

      public static final TextFieldMapping ATTACHMENT_VERSION_COMMENT
    • CLASS_NAME

      public static final StringFieldMapping CLASS_NAME
    • CONTAINER_CONTENT_TYPE

      public static final StringFieldMapping CONTAINER_CONTENT_TYPE
    • CONTENT

      public static final TextFieldMapping CONTENT
    • CONTENT_STORED

      public static final TextFieldMapping 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

      public static final TextFieldMapping CONTENT_NAME_UNSTEMMED
    • EXACT_CONTENT_BODY

      public static final TextFieldMapping EXACT_CONTENT_BODY
    • CONTENT_NAME_UNTOKENIZED

      public static final StringFieldMapping CONTENT_NAME_UNTOKENIZED
      An untokenized version of the title of a piece of content to enable sorting on it
    • PERMISSION_SETS

      public static final ContentPermissionSetFieldMapping PERMISSION_SETS
    • CONTENT_PERMISSION_SETS

      @Deprecated(forRemoval=true) public static final NestedStringFieldMapping CONTENT_PERMISSION_SETS
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 8.9. Use PERMISSION_SETS instead.
    • CONTENT_PLUGIN_KEY

      public static final StringFieldMapping CONTENT_PLUGIN_KEY
    • CONTENT_STATUS

      public static final StringFieldMapping CONTENT_STATUS
    • EXCERPT

      public static final StringFieldMapping EXCERPT
    • CONTENT_VERSION

      public static final StringFieldMapping CONTENT_VERSION
    • CREATION_DATE

      public static final DateFieldMapping CREATION_DATE
    • CREATOR

      public static final StringFieldMapping CREATOR
    • DOCUMENT_TYPE

      @Deprecated public static final StringFieldMapping 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

      public static final StringFieldMapping HANDLE
    • CONTENT_ID

      public static final LongFieldMapping CONTENT_ID
    • HOME_PAGE

      public static final BooleanFieldMapping HOME_PAGE
    • INHERITED_LABEL

      public static final StringFieldMapping 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

      public static final TextFieldMapping 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

      public static final BooleanFieldMapping IN_SPACE
    • IS_DEACTIVATED_USER

      public static final BooleanFieldMapping IS_DEACTIVATED_USER
      "true" if the User is deactivated/disabled, else "false".
    • IS_EXTERNALLY_DELETED_USER

      public static final BooleanFieldMapping IS_EXTERNALLY_DELETED_USER
      "true" if the User has been removed from the system via an External Directory, else "false".
    • IS_LICENSED_USER

      public static final BooleanFieldMapping IS_LICENSED_USER
      "true" if the User has a license to use the system, else "false".
    • IS_SHADOWED_USER

      public static final BooleanFieldMapping 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

      public static final StringFieldMapping LABEL
      Assigned multiple fields of namespaced labels
    • LABEL_TEXT

      public static final TextFieldMapping 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

      public static final DateFieldMapping LAST_MODIFICATION_DATE
    • LAST_MODIFIER

      public static final StringFieldMapping LAST_MODIFIER
    • ANONYMOUS_LAST_MODIFIER_ID

      public static final String 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

      public static final StringFieldMapping LAST_MODIFIERS
    • LAST_UPDATE_DESCRIPTION

      public static final StringFieldMapping LAST_UPDATE_DESCRIPTION
    • LATEST_VERSION_ID

      public static final StringFieldMapping LATEST_VERSION_ID
    • MENTION

      public static final StringFieldMapping MENTION
    • MACRO_NAME

      public static final StringFieldMapping MACRO_NAME
    • MACRO_STORAGE_VERSION

      public static final StringFieldMapping MACRO_STORAGE_VERSION
    • PAGE_DISPLAY_TITLE

      public static final StringFieldMapping PAGE_DISPLAY_TITLE
    • PAGE_URL_PATH

      public static final StringFieldMapping PAGE_URL_PATH
    • PARENT_TITLE_UNSTEMMED

      public static final TextFieldMapping PARENT_TITLE_UNSTEMMED
    • PERSONAL_INFORMATION_HAS_PERSONAL_SPACE

      public static final StringFieldMapping PERSONAL_INFORMATION_HAS_PERSONAL_SPACE
    • PROFILE_PICTURE_URL

      public static final StringFieldMapping PROFILE_PICTURE_URL
      Relative URL of the user's profile picture, as returned by ProfilePictureInfo.getUriReference().
    • RETENTION_POLICY

      public static final StringFieldMapping RETENTION_POLICY
    • RETENTION_POLICY_DELETE_TRASH

      public static final StringFieldMapping RETENTION_POLICY_DELETE_TRASH
    • RETENTION_POLICY_DELETE_VERSION

      public static final StringFieldMapping RETENTION_POLICY_DELETE_VERSION
    • SPACE_KEY

      public static final StringFieldMapping SPACE_KEY
    • SPACE_NAME

      public static final StringFieldMapping SPACE_NAME
    • SPACE_TYPE

      public static final StringFieldMapping SPACE_TYPE
    • TITLE

      public static final TextFieldMapping TITLE
    • DISPLAY_TITLE

      public static final StringFieldMapping DISPLAY_TITLE
    • EXACT_TITLE

      public static final TextFieldMapping EXACT_TITLE
    • EXACT_FILENAME

      public static final TextFieldMapping EXACT_FILENAME
    • TYPE

      public static final StringFieldMapping TYPE
    • CONTENT_URL_PATH

      public static final StringFieldMapping CONTENT_URL_PATH
    • CHANGE_URL_PATH

      public static final StringFieldMapping CHANGE_URL_PATH
    • USER_KEY

      public static final StringFieldMapping USER_KEY
      The user key as returned by ConfluenceUser.getKey().
    • USER_NAME

      public static final TextFieldMapping USER_NAME
      The username as returned by Entity.getName().
    • FULL_NAME

      public static final TextFieldMapping FULL_NAME
      The display name of the user.
    • FULL_NAME_UNTOKENIZED

      public static final StringFieldMapping FULL_NAME_UNTOKENIZED
    • FULL_NAME_SORTABLE

      public static final StringFieldMapping FULL_NAME_SORTABLE
    • EMAIL

      public static final TextFieldMapping EMAIL
    • VERSION

      public static final StringFieldMapping VERSION