com.atlassian.jira.issue.index.indexers.impl
Class FieldIndexerUtil
java.lang.Object
com.atlassian.jira.issue.index.indexers.impl.FieldIndexerUtil
public class FieldIndexerUtil
- extends Object
Used for doing simple indexing stuff.
- Since:
- v4.0
Method Summary |
static String |
getValueForSorting(String fieldValue)
|
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 |
indexKeywordWithDefault(org.apache.lucene.document.Document doc,
String indexField,
String fieldValue,
String defaultValue,
boolean searchable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldIndexerUtil
public FieldIndexerUtil()
indexKeywordWithDefault
public 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
indexKeywordWithDefault
public static void indexKeywordWithDefault(org.apache.lucene.document.Document doc,
String indexField,
Long aLong,
String defaultValue)
indexKeywordWithDefault
public static void indexKeywordWithDefault(org.apache.lucene.document.Document doc,
String indexField,
String fieldValue,
String defaultValue,
boolean searchable)
getValueForSorting
public static String getValueForSorting(String fieldValue)
Copyright © 2002-2012 Atlassian. All Rights Reserved.