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

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

Introduction

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

Prototype

public final void copyTo(AttributeSource target) 

Source Link

Document

Copies the contents of this AttributeSource to the given target AttributeSource .

Usage

From source file:org.apache.solr.analysis.SlowSynonymFilter.java

License:Apache License

private void copy(AttributeSource target, AttributeSource source) {
    if (target != source)
        source.copyTo(target);
}