public class LuceneQueryTokenizer extends Object implements QueryTokenizer
QueryToken
s so
that we can tag some additional meaning. Although we could have modified the 'type' property of lucene tokens, we
would have had to tinker with all the analyzers for each of the languages we have, which is not feasible.Constructor and Description |
---|
LuceneQueryTokenizer(org.apache.lucene.analysis.Analyzer unstemmedAnalyzer) |
Modifier and Type | Method and Description |
---|---|
List<QueryToken> |
tokenize(String query)
Produces query tokens from the specified query.
|
public LuceneQueryTokenizer(org.apache.lucene.analysis.Analyzer unstemmedAnalyzer)
public List<QueryToken> tokenize(String query)
QueryTokenizer
tokenize
in interface QueryTokenizer
query
- the queryCopyright © 2003–2015 Atlassian. All rights reserved.