Example usage for org.apache.lucene.analysis.charfilter BaseCharFilter subclass-usage

List of usage examples for org.apache.lucene.analysis.charfilter BaseCharFilter subclass-usage

Introduction

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

Usage

From source file lux.index.analysis.OffsetCharFilter.java

/** exposes the offset map so it can be set externally. 
 * It seems as if it would be better to be able to reset() and reuse this?
 * But we have to make a new BaseCharFilter for every text node.
 * */

public class OffsetCharFilter extends BaseCharFilter {

From source file org.apache.solr.analysis.LegacyHTMLStripCharFilter.java

/**
 * <p>
 * This class is <b>NOT</b> recommended for new users and should be
 * considered <b>UNSUPPORTED</b>.
 * </p>
 * <p>

From source file org.musicbrainz.search.analysis.PatternReplaceCharFilter.java

/**
 * CharFilter that uses a regular expression for the target of replace string.
 * The pattern match will be done in each "block" in char stream.
 * 
 * <p>
 * ex1) source="aa&nbsp;&nbsp;bb&nbsp;aa&nbsp;bb", pattern="(aa)\\s+(bb)" replacement="$1#$2"<br/>

From source file org.voyanttools.trombone.lucene.analysis.HTMLCharFilter.java

/**
 * An HTMLCharFilter that strips out all HTML tags and translates XML entities,
 * while preserving offsets.
 */
public class HTMLCharFilter extends BaseCharFilter {

From source file uk.co.flax.htmlcharfilter.HTMLCharFilter.java

/**
 * An HTMLCharFilter that strips out all HTML tags and translates XML entities,
 * while preserving offsets.
 */
public class HTMLCharFilter extends BaseCharFilter {