Example usage for org.apache.lucene.util AttributeSource getAttributeFactory

List of usage examples for org.apache.lucene.util AttributeSource getAttributeFactory

Introduction

In this page you can find the example usage for org.apache.lucene.util AttributeSource getAttributeFactory.

Prototype

public final AttributeFactory getAttributeFactory() 

Source Link

Document

returns the used AttributeFactory.

Usage

From source file:org.zenoss.zep.index.impl.lucene.LuceneIpTokenizer.java

License:Open Source License

/**
 * {@inheritDoc}//  w  w  w.  j  a v  a2s  .  c  om
 */
public LuceneIpTokenizer(AttributeSource source, Reader input) {
    super(IndexConstants.LUCENE_VERSION, source.getAttributeFactory(), input);
}