C# (CSharp) Lucene.Net.Analysis.El Namespace

Classes

Name Description
GreekAnalyzer Analyzer for the Greek language.

Supports an external list of stopwords (words that will not be indexed at all). A default set of stopwords is used unless an alternative list is specified.

You must specify the required Version compatibility when creating GreekAnalyzer:

  • As of 3.1, StandardFilter and GreekStemmer are used by default.
  • As of 2.9, StopFilter preserves position increments

NOTE: This class uses the same Version dependent settings as StandardAnalyzer.

GreekAnalyzer.DefaultSetHolder
GreekAnalyzer.SavedStreams
GreekAnalyzerTest A unit test class for verifying the correct operation of the GreekAnalyzer.
GreekLowerCaseFilter
GreekLowerCaseFilterFactory Factory for GreekLowerCaseFilter.
 <fieldType name="text_glc" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.GreekLowerCaseFilterFactory"/> </analyzer> </fieldType>
GreekStemFilter A TokenFilter that applies GreekStemmer to stem Greek words.

To prevent terms from being stemmed use an instance of SetKeywordMarkerFilter or a custom TokenFilter that sets the KeywordAttribute before this TokenStream.

NOTE: Input is expected to be casefolded for Greek (including folding of final sigma to sigma), and with diacritics removed. This can be achieved by using either GreekLowerCaseFilter or ICUFoldingFilter before GreekStemFilter. @lucene.experimental

GreekStemFilterFactory Factory for GreekStemFilter.
 <fieldType name="text_gstem" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.GreekLowerCaseFilterFactory"/> <filter class="solr.GreekStemFilterFactory"/> </analyzer> </fieldType>
GreekStemmer A stemmer for Greek words, according to: Development of a Stemmer for the Greek Language. Georgios Ntais

NOTE: Input is expected to be casefolded for Greek (including folding of final sigma to sigma), and with diacritics removed. This can be achieved with either GreekLowerCaseFilter or ICUFoldingFilter. @lucene.experimental

TestGreekLowerCaseFilterFactory Simple tests to ensure the Greek lowercase filter factory is working.
TestGreekStemFilterFactory Simple tests to ensure the Greek stem filter factory is working.