Example usage for org.apache.lucene.analysis Analyzer GLOBAL_REUSE_STRATEGY

List of usage examples for org.apache.lucene.analysis Analyzer GLOBAL_REUSE_STRATEGY

Introduction

In this page you can find the example usage for org.apache.lucene.analysis Analyzer GLOBAL_REUSE_STRATEGY.

Prototype

ReuseStrategy GLOBAL_REUSE_STRATEGY

To view the source code for org.apache.lucene.analysis Analyzer GLOBAL_REUSE_STRATEGY.

Click Source Link

Document

A predefined ReuseStrategy that reuses the same components for every field.

Usage

From source file:org.hibernate.search.analyzer.impl.LazyLuceneAnalyzer.java

License:LGPL

public LazyLuceneAnalyzer(String name) {
    super(Analyzer.GLOBAL_REUSE_STRATEGY);
    this.name = name;
}