public class JiraAnalyzer
extends org.apache.lucene.analysis.Analyzer
Modifier and Type | Class and Description |
---|---|
static class |
JiraAnalyzer.Stemming |
static class |
JiraAnalyzer.StopWordRemoval |
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.analysis.Analyzer |
ANALYZER_FOR_EXACT_SEARCHING |
static org.apache.lucene.analysis.Analyzer |
ANALYZER_FOR_INDEXING |
static org.apache.lucene.analysis.Analyzer |
ANALYZER_FOR_SEARCHING |
Constructor and Description |
---|
JiraAnalyzer(boolean indexing,
JiraAnalyzer.Stemming stemming,
JiraAnalyzer.StopWordRemoval stopWordRemoval) |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.jira.issue.index.JiraAnalyzer.PerFieldIndexingAnalyzer |
createAnalyzerForIndexing()
DELTA-537: Helper method for creating consistently configured analyzers for indexing.
|
protected static org.apache.lucene.analysis.Analyzer |
createAnalyzerForSearching()
DELTA-537: Helper method for creating consistently configured analyzers for search.
|
org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
protected org.apache.lucene.analysis.TokenStream |
normalize(String fieldName,
org.apache.lucene.analysis.TokenStream in) |
public static final org.apache.lucene.analysis.Analyzer ANALYZER_FOR_INDEXING
public static final org.apache.lucene.analysis.Analyzer ANALYZER_FOR_SEARCHING
public static final org.apache.lucene.analysis.Analyzer ANALYZER_FOR_EXACT_SEARCHING
public JiraAnalyzer(boolean indexing, JiraAnalyzer.Stemming stemming, JiraAnalyzer.StopWordRemoval stopWordRemoval)
public final org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class org.apache.lucene.analysis.Analyzer
protected org.apache.lucene.analysis.TokenStream normalize(String fieldName, org.apache.lucene.analysis.TokenStream in)
normalize
in class org.apache.lucene.analysis.Analyzer
public static final com.atlassian.jira.issue.index.JiraAnalyzer.PerFieldIndexingAnalyzer createAnalyzerForIndexing()
createAnalyzerForSearching()
protected static final org.apache.lucene.analysis.Analyzer createAnalyzerForSearching()
Copyright © 2002-2024 Atlassian. All Rights Reserved.