@Deprecated public class LegacyHTMLStripCharFilter extends BaseCharFilter
This class is NOT recommended for new users and should be considered UNSUPPORTED.
In Solr version 3.5 and earlier, HTMLStripCharFilter(Factory) had known bugs in the offsets it provided, triggering e.g. exceptions in highlighting.
This class is provided as possible alternative for people who depend on the "broken" behavior of HTMLStripCharFilter in Solr version 3.5 and earlier, and/or who don't like the changes introduced by the Solr 3.6+ version of HTMLStripCharFilterFactory. (See the 3.6.0 release section of solr/CHANGES.txt for a list of differences in behavior.)
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_READ_AHEAD
Deprecated.
|
input
Constructor and Description |
---|
LegacyHTMLStripCharFilter(Reader source)
Deprecated.
|
LegacyHTMLStripCharFilter(Reader source,
Set<String> escapedTags)
Deprecated.
|
LegacyHTMLStripCharFilter(Reader source,
Set<String> escapedTags,
int readAheadLimit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getReadAheadLimit()
Deprecated.
|
static void |
main(String[] args)
Deprecated.
|
int |
read()
Deprecated.
|
int |
read(char[] cbuf,
int off,
int len)
Deprecated.
|
addOffCorrectMap, correct, getLastCumulativeDiff
close, correctOffset
public static final int DEFAULT_READ_AHEAD
public LegacyHTMLStripCharFilter(Reader source)
public LegacyHTMLStripCharFilter(Reader source, Set<String> escapedTags)
public static void main(String[] args) throws IOException
IOException
public int getReadAheadLimit()
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.