@Internal public class Extractor2ToExtractorAdapter extends Object implements com.atlassian.bonnie.search.Extractor
Extractor2
instances to Extractor
. This class is originally from confluence-lucene-compat
plugin.Constructor and Description |
---|
Extractor2ToExtractorAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addFields(org.apache.lucene.document.Document document,
StringBuffer contentBody,
com.atlassian.bonnie.Searchable searchable) |
void |
setExtractor2Provider(Extractor2Provider extractor2Provider)
Is called by plugin system that injects
DefaultExtractor2Provider into this object. |
void |
setLuceneFieldVisitor(LuceneFieldVisitor luceneFieldVisitor)
Is called by plugin system that injects
LuceneFieldVisitor into this object. |
public void addFields(org.apache.lucene.document.Document document, StringBuffer contentBody, com.atlassian.bonnie.Searchable searchable)
addFields
in interface com.atlassian.bonnie.search.Extractor
public void setLuceneFieldVisitor(LuceneFieldVisitor luceneFieldVisitor)
LuceneFieldVisitor
into this object.public void setExtractor2Provider(Extractor2Provider extractor2Provider)
DefaultExtractor2Provider
into this object.Copyright © 2003–2021 Atlassian. All rights reserved.