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

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

public class NumberCustomFieldIndexer
extends AbstractCustomFieldIndexer

A simple custom field indexer for the number custom fields

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
NumberCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField, DoubleConverter doubleConverter)
           
 
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

NumberCustomFieldIndexer

public NumberCustomFieldIndexer(FieldVisibilityManager fieldVisibilityManager,
                                CustomField customField,
                                DoubleConverter doubleConverter)
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.