Example usage for org.apache.lucene.analysis.charfilter HTMLStripCharFilter HTMLStripCharFilter

List of usage examples for org.apache.lucene.analysis.charfilter HTMLStripCharFilter HTMLStripCharFilter

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.charfilter HTMLStripCharFilter HTMLStripCharFilter.

Prototype

public HTMLStripCharFilter(Reader in, Set<String> escapedTags) 

Source Link

Document

Creates a new HTMLStripCharFilter over the provided Reader with the specified start and end tags.

Usage

From source file:org.elasticsearch.analysis.common.HtmlStripCharFilterFactory.java

License:Apache License

@Override
public Reader create(Reader tokenStream) {
    return new HTMLStripCharFilter(tokenStream, escapedTags);
}