java.lang.Object | |
↳ | com.atlassian.jira.issue.index.indexers.impl.BaseFieldIndexer |
![]() |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Index a single keyword field, with a date-time value
| |||||||||||
Index the dependent entities of an issue.
| |||||||||||
Case fold the passed keyword and add it to the passed document.
| |||||||||||
Index a single keyword field
| |||||||||||
Index a single keyword field, with a default if the issue field is not set
shared with CommentDocumentFactory | |||||||||||
Index a single keyword field, with a LocalDate value
| |||||||||||
Useful for storing a
Long value for range query searches. | |||||||||||
Useful for storing a
Long value for range query searches. | |||||||||||
Index a single text field
| |||||||||||
Index a single text field
| |||||||||||
This method is used to determine if the indexer is relevant for the provided issue.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Index a single keyword field, with a date-time value
Index the dependent entities of an issue.
Case fold the passed keyword and add it to the passed document.
doc | the document to add the field to. |
---|---|
indexField | the document field name to use. |
fieldValue | the value to index. This value will be folded before adding it to the document. |
locale | the locale to use in the case folding. Null can be passed to use the Locale given in getDefault() . |
issue | the issue that defines the context and contains the value we are indexing. |
Index a single keyword field
doc | the document to add the field to. |
---|---|
indexField | the document field name to user. |
fieldValue | the value to index. This value will NOT be folded before adding it to the document. |
issue | the issue that defines the context and contains the value we are indexing. |
Index a single keyword field, with a default if the issue field is not set
shared with CommentDocumentFactory
Index a single keyword field, with a LocalDate value
Useful for storing a Long
value for range query searches.
Uses longToString(long)
to pad and convert the values to base 36
before indexing. Also pads and converts the default Value.
doc | the document |
---|---|
indexField | the index field id |
aLong | the long value to be converted |
defaultLong | the default value if aLong is null |
issue | the issue that defines the context and contains the value we are indexing. |
Useful for storing a Long
value for range query searches.
Uses longToString(long)
to pad and convert the value to base 36
before indexing. Does not pad the default value.
doc | the document |
---|---|
indexField | the index field id |
aLong | the long value to be converted |
defaultValue | the default value if aLong is null |
issue | the issue that defines the context and contains the value we are indexing. |
Index a single text field
Index a single text field
This method is used to determine if the indexer is relevant for the provided issue. This method must check the fields visibility, in relation to the field configuration scheme, must check any global flags that would enable or disable a field (such as enable votes flag), and must check, if the field is a custom field, if the custom field is relevant for this issue.
All these checks should take into account the IssueContext
as defined by
the passed in issue.
If this method returns false then the FieldIndexer, when performing addIndex, should make sure to make the
indexed values have an Indexed type of NO
.
The result of this method is used to determine the correct values that should be returned when performing an empty search.
issue | that is having a document created from. |
---|