public class ExtractorModuleDescriptor.BackwardsCompatibleExtractor extends Object implements com.atlassian.bonnie.search.Extractor
The migration from Lucene 1.9 to 2.1 made all extractor plugins binary-incompatible. By putting the test in the descriptor, we can provide a more meaningful error message that is able to inform the user exactly which plugin is the culprit.
Constructor and Description |
---|
BackwardsCompatibleExtractor(com.atlassian.bonnie.search.Extractor delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addFields(org.apache.lucene.document.Document document,
StringBuffer defaultSearchableText,
com.atlassian.bonnie.Searchable searchable) |
com.atlassian.bonnie.search.Extractor |
getDelegate() |
String |
toString() |
public BackwardsCompatibleExtractor(com.atlassian.bonnie.search.Extractor delegate)
public void addFields(org.apache.lucene.document.Document document, StringBuffer defaultSearchableText, com.atlassian.bonnie.Searchable searchable)
addFields
in interface com.atlassian.bonnie.search.Extractor
public com.atlassian.bonnie.search.Extractor getDelegate()
Copyright © 2003–2017 Atlassian. All rights reserved.