public final class StrictImapSearchAnalyzer
extends org.apache.lucene.analysis.Analyzer
Analyzer
which match substrings. This is needed because of RFC 3501.
From RFC:
In all search keys that use strings, a message matches the key if
the string is a substring of the field. The matching is
case-insensitive.Constructor and Description |
---|
StrictImapSearchAnalyzer() |
StrictImapSearchAnalyzer(int minTokenLength,
int maxTokenLength) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader) |
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.