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

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

public class VersionCustomFieldIndexer
extends AbstractCustomFieldIndexer

A simple version custom field indexer.

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
VersionCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField)
           
 
Method Summary
 void addDocumentFields(org.apache.lucene.document.Document doc, Issue issue, org.apache.lucene.document.Field.Index indexType)
           
 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

VersionCustomFieldIndexer

public VersionCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager,
                                 CustomField customField)
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

addDocumentFields

public void addDocumentFields(org.apache.lucene.document.Document doc,
                              Issue issue,
                              org.apache.lucene.document.Field.Index indexType)


Copyright © 2002-2011 Atlassian. All Rights Reserved.