@Internal public class

FieldIndexerUtil

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.index.indexers.impl.FieldIndexerUtil

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

Used for doing simple indexing stuff.

Summary

Public Constructors
FieldIndexerUtil()
Public Methods
static String getValueForSorting(String fieldValue)
static void indexKeywordWithDefault(Document doc, String indexField, String fieldValue, String defaultValue)
Index a single keyword field, with a default if the issue field is not set

shared with CommentDocument

static void indexKeywordWithDefault(Document doc, String indexField, Long aLong, String defaultValue)
static void indexKeywordWithDefault(Document doc, String indexField, String fieldValue, String defaultValue, boolean searchable)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FieldIndexerUtil ()

Public Methods

public static String getValueForSorting (String fieldValue)

public static void indexKeywordWithDefault (Document doc, String indexField, String fieldValue, String defaultValue)

Index a single keyword field, with a default if the issue field is not set

shared with CommentDocument

public static void indexKeywordWithDefault (Document doc, String indexField, Long aLong, String defaultValue)

public static void indexKeywordWithDefault (Document doc, String indexField, String fieldValue, String defaultValue, boolean searchable)