Class SelectiveFoldingFilter
- java.lang.Object
-
- org.apache.lucene.util.AttributeSource
-
- org.apache.lucene.analysis.TokenStream
-
- org.apache.lucene.analysis.TokenFilter
-
- org.apache.jena.query.text.filter.SelectiveFoldingFilter
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public final class SelectiveFoldingFilter extends org.apache.lucene.analysis.TokenFilterA Lucene filter based on ASCIIFoldingFilter, but that allows the caller to provide a white list for selective folding filter. Entries in the white list are ignored during the filtering. This is useful for languages that require certain characters to be ignored.- See Also:
ASCIIFoldingFilter
-
-
Constructor Summary
Constructors Constructor Description SelectiveFoldingFilter(org.apache.lucene.analysis.TokenStream input, org.apache.lucene.analysis.CharArraySet whitelisted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanincrementToken()-
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
-
-