Class AtlassianSelectiveFieldsDocumentBuilder
java.lang.Object
com.atlassian.confluence.internal.index.v2.AtlassianSelectiveFieldsDocumentBuilder
- All Implemented Interfaces:
AtlassianDocumentBuilder<Searchable>
public class AtlassianSelectiveFieldsDocumentBuilder
extends Object
implements AtlassianDocumentBuilder<Searchable>
This class is responsible for building an AtlassianDocument using a selective set of fields.
It will build a document from a list of extractors that are specified in the extractor context of the pre processors passed to it.
The extractors to be applied should be specified by an attribute name "bulkExtractorClasses" by the pre-processor with an attribute value of set of extractor class names.
OpenSearch Only. DO NOT USE for Lucene.
- Since:
- 9.2.5
-
Constructor Summary
ConstructorsConstructorDescriptionAtlassianSelectiveFieldsDocumentBuilder
(BulkExtractorProvider bulkExtractorProvider, List<ExtractorContextPreProcessor> contextPreProcessorList, DefaultExtractorContext extractorContext, SearchIndex searchIndex) -
Method Summary
-
Constructor Details
-
AtlassianSelectiveFieldsDocumentBuilder
public AtlassianSelectiveFieldsDocumentBuilder(BulkExtractorProvider bulkExtractorProvider, List<ExtractorContextPreProcessor> contextPreProcessorList, DefaultExtractorContext extractorContext, SearchIndex searchIndex)
-
-
Method Details
-
build
- Specified by:
build
in interfaceAtlassianDocumentBuilder<Searchable>
-