public class LuceneContentExtractor extends Object implements Extractor3
Modifier and Type | Class and Description |
---|---|
static class |
LuceneContentExtractor.FieldName |
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_FIELD |
static String |
URL_PATH_FIELD |
Constructor and Description |
---|
LuceneContentExtractor(com.atlassian.bonnie.HandleResolver handleResolver,
Supplier<Stream<com.atlassian.bonnie.search.Extractor>> extractorsSupplier,
AttachmentStatusManager attachmentStatusManager,
ApplicationStatusService applicationStatusService) |
Modifier and Type | Method and Description |
---|---|
Extraction |
extract(com.atlassian.bonnie.Searchable searchable)
Extract fields from the given Searchable by passing them through a bunch of Lucene Extractor objects.
|
public static final String TYPE_FIELD
public static final String URL_PATH_FIELD
public LuceneContentExtractor(com.atlassian.bonnie.HandleResolver handleResolver, Supplier<Stream<com.atlassian.bonnie.search.Extractor>> extractorsSupplier, AttachmentStatusManager attachmentStatusManager, ApplicationStatusService applicationStatusService)
public Extraction extract(com.atlassian.bonnie.Searchable searchable)
extract
in interface Extractor3
searchable
- Copyright © 2003–2017 Atlassian. All rights reserved.