com.atlassian.jira.dev.reference.plugin.searchers
Class LabelsCustomFieldIndexer

java.lang.Object
  extended by com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
      extended by com.atlassian.jira.dev.reference.plugin.searchers.LabelsCustomFieldIndexer
All Implemented Interfaces:
FieldIndexer

public class LabelsCustomFieldIndexer
extends AbstractCustomFieldIndexer

A sreference class that implements a custom field indexer

Since:
v4.3

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

Constructor Detail

LabelsCustomFieldIndexer

public LabelsCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager,
                                CustomField field)
Method Detail

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-2012 Atlassian. All Rights Reserved.