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 java.lang.String FOLDED_EXT
           
 
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)
           
 java.lang.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 java.lang.String FOLDED_EXT
See Also:
Constant Field Values
Constructor Detail

CustomFieldLabelsIndexer

public CustomFieldLabelsIndexer(FieldVisibilityManager fieldVisibilityManager,
                                CustomField customField)
Method Detail

getDocumentFieldId

public java.lang.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-2010 Atlassian. All Rights Reserved.