Example usage for org.apache.lucene.analysis.tokenattributes CharTermAttribute interface-usage

List of usage examples for org.apache.lucene.analysis.tokenattributes CharTermAttribute interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.tokenattributes CharTermAttribute interface-usage.

Usage

From source file de.catma.indexer.ReadOnlyCharTermAttribute.java

public class ReadOnlyCharTermAttribute implements CharTermAttribute {

    private String term;

    public ReadOnlyCharTermAttribute(CharTermAttribute toCopy) {
        this.term = toCopy.toString();