Class SlowFieldIndexer
java.lang.Object
com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
com.atlassian.jira.dev.customfields.SlowFieldIndexer
- All Implemented Interfaces:
FieldIndexer
Indexer that doesn't index anything (at least for now), but introduces a configurable delay to Lucene document building.
It is used to test concurrency problems.
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
customFieldFields inherited from interface com.atlassian.jira.issue.index.indexers.FieldIndexer
LABELS_NO_VALUE_INDEX_VALUE, NO_VALUE_INDEX_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionSlowFieldIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField, BarrierFactory barrierFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDocumentFieldsNotSearchable(org.apache.lucene.document.Document doc, Issue issue, CustomFieldPrefetchedData prefetchedData) protected voidaddDocumentFieldsSearchable(org.apache.lucene.document.Document doc, Issue issue, CustomFieldPrefetchedData prefetchedData) Methods inherited from class com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer
addDocumentFieldsNotSearchable, addDocumentFieldsSearchable, addIndex, addIndex, getDocumentFieldId, getId, isFieldVisibleAndInScope, isRelevantForIssueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.issue.index.indexers.FieldIndexer
skipsIndexingNull
-
Constructor Details
-
SlowFieldIndexer
public SlowFieldIndexer(FieldVisibilityManager fieldVisibilityManager, CustomField customField, BarrierFactory barrierFactory)
-
-
Method Details
-
addDocumentFieldsSearchable
protected void addDocumentFieldsSearchable(org.apache.lucene.document.Document doc, Issue issue, CustomFieldPrefetchedData prefetchedData) - Overrides:
addDocumentFieldsSearchablein classAbstractCustomFieldIndexer
-
addDocumentFieldsNotSearchable
protected void addDocumentFieldsNotSearchable(org.apache.lucene.document.Document doc, Issue issue, CustomFieldPrefetchedData prefetchedData) - Overrides:
addDocumentFieldsNotSearchablein classAbstractCustomFieldIndexer
-