@PublicSpi @PublicApi public class TextSearcher extends AbstractInitializationCustomFieldSearcher implements CustomFieldSearcher, NaturallyOrderedCustomFieldSearcher
log
Constructor and Description |
---|
TextSearcher(FieldVisibilityManager fieldVisibilityManager,
JqlOperandResolver jqlOperandResolver,
CustomFieldInputHelper customFieldInputHelper) |
Modifier and Type | Method and Description |
---|---|
CustomFieldSearcherClauseHandler |
getCustomFieldSearcherClauseHandler()
Provides an object that can be used to handle the clauses that this searcher generates.
|
SearcherInformation<CustomField> |
getSearchInformation()
Provides an object that contains information about the Searcher.
|
SearchInputTransformer |
getSearchInputTransformer()
Provides an object that will allow you to transform raw request parameters to field holder values and
field holder values to
Clause search representations. |
SearchRenderer |
getSearchRenderer()
Provides an object that will allow you to render the edit and view html for a searcher.
|
LuceneFieldSorter |
getSorter(CustomField customField)
Deprecated.
|
String |
getSortField(CustomField customField)
Return the name of the Lucene field to use for ordering.
|
org.apache.lucene.search.SortField.Type |
getSortFieldType()
Returns the
type to use when sorting on the values of this custom field. |
void |
init(CustomField field)
This is the first time the searcher knows what its ID and names are
|
getDescriptor, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptor, init
public TextSearcher(FieldVisibilityManager fieldVisibilityManager, JqlOperandResolver jqlOperandResolver, CustomFieldInputHelper customFieldInputHelper)
public void init(CustomField field)
init
in interface IssueSearcher<CustomField>
field
- the Custom Field for this searcherpublic SearcherInformation<CustomField> getSearchInformation()
IssueSearcher
getSearchInformation
in interface IssueSearcher<CustomField>
public SearchInputTransformer getSearchInputTransformer()
IssueSearcher
Clause
search representations.getSearchInputTransformer
in interface IssueSearcher<CustomField>
public SearchRenderer getSearchRenderer()
IssueSearcher
getSearchRenderer
in interface IssueSearcher<CustomField>
public CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler()
CustomFieldSearcher
getCustomFieldSearcherClauseHandler
in interface CustomFieldSearcher
@Deprecated public LuceneFieldSorter getSorter(CustomField customField)
public String getSortField(CustomField customField)
NaturallyOrderedCustomFieldSearcher
getSortField
in interface NaturallyOrderedCustomFieldSearcher
customField
- The custom field to be searchedpublic org.apache.lucene.search.SortField.Type getSortFieldType()
NaturallyOrderedCustomFieldSearcher
type
to use when sorting on the values of this custom field.
This also necessitates adding NumericDocValues to documents for numeric and date data types,
and SortedDocValues for string types at indexing time.getSortFieldType
in interface NaturallyOrderedCustomFieldSearcher
Copyright © 2002-2019 Atlassian. All Rights Reserved.