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
Analyzers. |
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 AnalyzeranyURIAnalyzer - default URI Analyzerpublic 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 Analyzerpublic void clearDatatypes()
Analyzers.Copyright © 2014. All rights reserved.