Class GreekAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
com.atlassian.jira.issue.index.analyzer.TextAnalyzer
com.atlassian.jira.issue.index.analyzer.GreekAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated(since="10.4", forRemoval=true) public class GreekAnalyzer extends TextAnalyzer
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4.
Extends the functionality of the Standard (language) Analyser provided by Lucene by using the ClassicAnalyser and adding the SubtokenFilter.

Note: checked for Lucene 3.2 compatibility.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer

    org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
  • Field Summary

    Fields inherited from class org.apache.lucene.analysis.Analyzer

    GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
  • Constructor Summary

    Constructors
    Constructor
    Description
    GreekAnalyzer(boolean indexing, com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stemmingFilter, com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stopWordFilter)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a TokenStream which tokenizes all the text in the provided Reader.

    Methods inherited from class com.atlassian.jira.issue.index.analyzer.TextAnalyzer

    isIndexing, wrapStreamForIndexing, wrapStreamForWilcardSearchSupport

    Methods inherited from class org.apache.lucene.analysis.Analyzer

    attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, normalize, setVersion, tokenStream, tokenStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GreekAnalyzer

      public GreekAnalyzer(boolean indexing, com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stemmingFilter, com.google.common.base.Function<org.apache.lucene.analysis.TokenStream,org.apache.lucene.analysis.TokenStream> stopWordFilter)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createComponents

      public final org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a TokenStream which tokenizes all the text in the provided Reader.
      Specified by:
      createComponents in class TextAnalyzer
      Returns:
      A TokenStream build from a StandardTokenizer filtered with StandardFilter, LowerCaseFilter, StopFilter, GermanStemFilter