Package com.jalios.jcms.search.analysis
Class LoggingFilter
- java.lang.Object
-
- org.apache.lucene.util.AttributeSource
-
- org.apache.lucene.analysis.TokenStream
-
- org.apache.lucene.analysis.TokenFilter
-
- com.jalios.jcms.search.analysis.LoggingFilter
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class LoggingFilter extends org.apache.lucene.analysis.TokenFilterTokenFilter used for diagnostics and debugging purpose to log all token in current TokenStream usingTRACElogging level.
-
-
Constructor Summary
Constructors Constructor Description LoggingFilter(org.apache.lucene.analysis.TokenStream in, java.lang.String logPrefix)Creates a new LoggingFilter
-
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
-
-