com.atlassian.jira.issue.index.indexers.impl
Class CustomFieldLabelsIndexer

java.lang.Object
  extended by com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
      extended by com.atlassian.jira.issue.index.indexers.impl.CustomFieldLabelsIndexer
All Implemented Interfaces:
FieldIndexer

public class CustomFieldLabelsIndexer
extends AbstractCustomFieldIndexer

A CustomFieldLabelsIndexer

Since:
v4.2

Field Summary
static String FOLDED_EXT
           
 
Fields inherited from interface com.atlassian.jira.issue.index.indexers.FieldIndexer
LABELS_NO_VALUE_INDEX_VALUE, NO_VALUE_INDEX_VALUE
 
Constructor Summary
CustomFieldLabelsIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField)
           
 
Method Summary
 void addDocumentFieldsNotSearchable(org.apache.lucene.document.Document doc, Issue issue)
           
 void addDocumentFieldsSearchable(org.apache.lucene.document.Document doc, Issue issue)
           
 String getDocumentFieldId()
           
 
Methods inherited from class com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
addIndex, getId, isFieldVisibleAndInScope, isRelevantForIssue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOLDED_EXT

public static final String FOLDED_EXT
See Also:
Constant Field Values
Constructor Detail

CustomFieldLabelsIndexer

public CustomFieldLabelsIndexer(FieldVisibilityManager fieldVisibilityManager,
                                CustomField customField)
Method Detail

getDocumentFieldId

public String getDocumentFieldId()
Specified by:
getDocumentFieldId in interface FieldIndexer
Overrides:
getDocumentFieldId in class AbstractCustomFieldIndexer
Returns:
the String representation of the primary field id that will be added to the Document as a result of a successful call to the FieldIndexer.addIndex(org.apache.lucene.document.Document, com.atlassian.jira.issue.Issue) method.

addDocumentFieldsSearchable

public void addDocumentFieldsSearchable(org.apache.lucene.document.Document doc,
                                        Issue issue)
Specified by:
addDocumentFieldsSearchable in class AbstractCustomFieldIndexer

addDocumentFieldsNotSearchable

public void addDocumentFieldsNotSearchable(org.apache.lucene.document.Document doc,
                                           Issue issue)
Specified by:
addDocumentFieldsNotSearchable in class AbstractCustomFieldIndexer


Copyright © 2002-2013 Atlassian. All Rights Reserved.