|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.index.indexers.impl.BaseFieldIndexer
public abstract class BaseFieldIndexer
Field Summary | |
---|---|
static String |
NO_VALUE_INDEX_VALUE
|
Constructor Summary | |
---|---|
BaseFieldIndexer()
|
Method Summary | |
---|---|
int |
compareTo(Object obj)
|
boolean |
equals(Object o)
|
String |
getId()
|
static String |
getValueForSorting(String fieldValue)
|
int |
hashCode()
|
static void |
indexDateField(org.apache.lucene.document.Document doc,
String indexField,
Timestamp date)
Index a single keyword field, with a date value |
static void |
indexDependentEntities(org.ofbiz.core.entity.GenericValue issue,
org.apache.lucene.document.Document doc,
String associationType,
String indexField)
Index the dependent entities of an issue. |
static void |
indexKeyword(org.apache.lucene.document.Document doc,
String indexField,
String fieldValue)
Index a single keyword field |
static void |
indexKeywordWithDefault(org.apache.lucene.document.Document doc,
String indexField,
Long aLong,
String defaultValue)
|
static void |
indexKeywordWithDefault(org.apache.lucene.document.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 |
indexLongAsKeyword(org.apache.lucene.document.Document doc,
String indexField,
Long fieldValue)
|
static void |
indexText(org.apache.lucene.document.Document doc,
String indexField,
String fieldValue)
Index a single text field |
static void |
indexTextForSorting(org.apache.lucene.document.Document doc,
String indexField,
String fieldValue)
Index a single text field |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.issue.index.indexers.FieldIndexer |
---|
addIndex |
Field Detail |
---|
public static final String NO_VALUE_INDEX_VALUE
Constructor Detail |
---|
public BaseFieldIndexer()
Method Detail |
---|
public String getId()
getId
in interface FieldIndexer
public static void indexKeyword(org.apache.lucene.document.Document doc, String indexField, String fieldValue)
public static void indexKeywordWithDefault(org.apache.lucene.document.Document doc, String indexField, String fieldValue, String defaultValue)
public static void indexKeywordWithDefault(org.apache.lucene.document.Document doc, String indexField, Long aLong, String defaultValue)
public static void indexText(org.apache.lucene.document.Document doc, String indexField, String fieldValue)
public static void indexDateField(org.apache.lucene.document.Document doc, String indexField, Timestamp date)
public static void indexDependentEntities(org.ofbiz.core.entity.GenericValue issue, org.apache.lucene.document.Document doc, String associationType, String indexField)
public static void indexLongAsKeyword(org.apache.lucene.document.Document doc, String indexField, Long fieldValue)
public static void indexTextForSorting(org.apache.lucene.document.Document doc, String indexField, String fieldValue)
public static String getValueForSorting(String fieldValue)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |