public class JackrabbitAnalyzer
extends org.apache.lucene.analysis.Analyzer
StandardAnalyzer(new String[]{})
,
unless in the <SearchIndex> configuration a global analyzer is defined.
In the indexing configuration, properties can be configured to be
indexed with a specific analyzer. If configured, this analyzer is used to
index the text of the property and to parse searchtext for this property.Constructor and Description |
---|
JackrabbitAnalyzer() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
reusableTokenStream(String fieldName,
Reader reader) |
protected void |
setDefaultAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
protected void |
setIndexingConfig(IndexingConfiguration indexingConfig)
A param indexingConfig the indexing configuration.
|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Creates a TokenStream which tokenizes all the text in the provided
Reader.
|
protected void setIndexingConfig(IndexingConfiguration indexingConfig)
protected void setDefaultAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
analyzer
- the default jackrabbit analyzerpublic final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
tokenStream
in class org.apache.lucene.analysis.Analyzer
public final org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException
reusableTokenStream
in class org.apache.lucene.analysis.Analyzer
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.