org.alfresco.repo.search.impl.lucene.analysis
Class AlfrescoStandardFilter

java.lang.Object
  extended by org.apache.lucene.analysis.TokenStream
      extended by org.apache.lucene.analysis.TokenFilter
          extended by org.alfresco.repo.search.impl.lucene.analysis.AlfrescoStandardFilter

public class AlfrescoStandardFilter
extends org.apache.lucene.analysis.TokenFilter


Field Summary
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
AlfrescoStandardFilter(org.apache.lucene.analysis.TokenStream in)
          Construct filtering in.
 
Method Summary
 org.apache.lucene.analysis.Token next()
          Returns the next token in the stream, or null at EOS.
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close, reset
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoStandardFilter

public AlfrescoStandardFilter(org.apache.lucene.analysis.TokenStream in)
Construct filtering in.

Method Detail

next

public final org.apache.lucene.analysis.Token next()
                                            throws java.io.IOException
Returns the next token in the stream, or null at EOS.

Removes 's from the end of words.

Removes dots from acronyms.

Splits host names ...

Overrides:
next in class org.apache.lucene.analysis.TokenStream
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.