JsonAnalyzer
instead@Deprecated public class TupleAnalyzer extends org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Constructor and Description |
---|
TupleAnalyzer(org.apache.lucene.util.Version version,
org.apache.lucene.analysis.Analyzer stringAnalyzer,
org.apache.lucene.analysis.Analyzer anyURIAnalyzer)
Deprecated.
Create a
TupleAnalyzer with the default Analyzer for Literals and URIs. |
Modifier and Type | Method and Description |
---|---|
void |
clearDatatypes()
Deprecated.
Remove all registered Datatype
Analyzer s. |
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader)
Deprecated.
|
void |
registerDatatype(char[] datatype,
org.apache.lucene.analysis.Analyzer a)
Deprecated.
Assign an
Analyzer to be used with that key. |
void |
setAnyURIAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
Deprecated.
|
void |
setLiteralAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
Deprecated.
|
public TupleAnalyzer(org.apache.lucene.util.Version version, org.apache.lucene.analysis.Analyzer stringAnalyzer, org.apache.lucene.analysis.Analyzer anyURIAnalyzer)
TupleAnalyzer
with the default Analyzer
for Literals and URIs.version
- stringAnalyzer
- default Literal Analyzer
anyURIAnalyzer
- default URI Analyzer
public void setLiteralAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
public void setAnyURIAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
public void registerDatatype(char[] datatype, org.apache.lucene.analysis.Analyzer a)
Analyzer
to be used with that key. That analyzer is used
to process tokens outputed from the TupleTokenizer
.datatype
- the Datatypea
- the associated Analyzer
public void clearDatatypes()
Analyzer
s.Copyright © 2014. All rights reserved.