public class IssuePropertySearchExtractor extends Object implements IssueSearchExtractor
IndexDocumentConfigurationEntitySearchExtractor.Context<T>| Constructor and Description |
|---|
IssuePropertySearchExtractor(JsonEntityPropertyManager jsonEntityPropertyManager,
PluginIndexConfigurationManager entityPropertyIndexDocumentManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
SearchExtractorRegistrationManager searchExtractorRegistrationManager,
DoubleConverter doubleConverter) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.lucene.index.IndexableField> |
documentConfigurationToFields(Issue issue,
IndexDocumentConfiguration indexDocumentConfiguration) |
List<org.apache.lucene.index.IndexableField> |
extractConfigurationToFields(Object jsonEntityProperty,
String key,
IndexDocumentConfiguration.ExtractConfiguration extractConfiguration) |
Set<String> |
indexEntity(EntitySearchExtractor.Context<Issue> ctx,
org.apache.lucene.document.Document doc)
Extracts fields from document provided by
EntitySearchExtractor.Context and adds them to document. |
List<org.apache.lucene.index.IndexableField> |
keyConfigurationToFields(Long issueId,
Map<String,EntityProperty> entityProperties,
IndexDocumentConfiguration.KeyConfiguration keyConfiguration) |
public IssuePropertySearchExtractor(JsonEntityPropertyManager jsonEntityPropertyManager, PluginIndexConfigurationManager entityPropertyIndexDocumentManager, DateTimeFormatterFactory dateTimeFormatterFactory, SearchExtractorRegistrationManager searchExtractorRegistrationManager, DoubleConverter doubleConverter)
public Set<String> indexEntity(EntitySearchExtractor.Context<Issue> ctx, org.apache.lucene.document.Document doc)
EntitySearchExtractorEntitySearchExtractor.Context and adds them to document.
All the filed names that were added to documents as indexed to document must be returned as output of this methodindexEntity in interface EntitySearchExtractor<Issue>ctx - context for this operationdoc - lucene document to which values should be addedpublic List<org.apache.lucene.index.IndexableField> documentConfigurationToFields(Issue issue, IndexDocumentConfiguration indexDocumentConfiguration)
public List<org.apache.lucene.index.IndexableField> keyConfigurationToFields(Long issueId, Map<String,EntityProperty> entityProperties, IndexDocumentConfiguration.KeyConfiguration keyConfiguration)
public List<org.apache.lucene.index.IndexableField> extractConfigurationToFields(Object jsonEntityProperty, String key, IndexDocumentConfiguration.ExtractConfiguration extractConfiguration)
Copyright © 2002-2023 Atlassian. All Rights Reserved.