@Internal public class LuceneSearchQueryTokenizer extends Object implements SearchQueryTokenizer
SearchQueryTokenizer
.Constructor and Description |
---|
LuceneSearchQueryTokenizer(LuceneAnalyzerMapper luceneAnalyzerMapper,
SearchLanguageProvider searchLanguageProvider,
com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
tokenize(String fieldName,
com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider analyzerProvider,
String text)
Tokenize a string using the given analyzer.
|
Collection<String> |
tokenize(String fieldName,
String text)
Tokenize a string using the default analyzer provided by Confluence.
|
public LuceneSearchQueryTokenizer(LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider, com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory)
public Collection<String> tokenize(String fieldName, com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider analyzerProvider, String text)
SearchQueryTokenizer
tokenize
in interface SearchQueryTokenizer
fieldName
- field nameanalyzerProvider
- information about how to tokenizedtext
- text to be broken into tokenspublic Collection<String> tokenize(String fieldName, String text)
SearchQueryTokenizer
tokenize
in interface SearchQueryTokenizer
fieldName
- field nametext
- text to be broken into tokensCopyright © 2003–2021 Atlassian. All rights reserved.