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

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

public class ProjectCustomFieldIndexer
extends AbstractCustomFieldIndexer

A simple custom field indexer for the ProjectPicker custom field.

Since:
v4.0

Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.index.indexers.FieldIndexer
LABELS_NO_VALUE_INDEX_VALUE, NO_VALUE_INDEX_VALUE
 
Constructor Summary
ProjectCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField, ProjectConverter projectConverter)
           
 
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

ProjectCustomFieldIndexer

public ProjectCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager,
                                 CustomField customField,
                                 ProjectConverter projectConverter)
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-2014 Atlassian. All Rights Reserved.