Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.util.search
Class DutchStemmingAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by com.jivesoftware.util.search.DutchStemmingAnalyzer
All Implemented Interfaces:
JiveAnalyzer

public final class DutchStemmingAnalyzer
extends org.apache.lucene.analysis.Analyzer
implements JiveAnalyzer

An Dutch analyzer for Lucene based upon the standard analyzer that supports stemming of dutch words.


Field Summary
static java.lang.String[] STOP_WORDS
          An array containing some common Dutch words that are usually not useful for searching.
 
Constructor Summary
DutchStemmingAnalyzer()
          Builds an analyzer.
DutchStemmingAnalyzer(java.lang.String[] stopWords)
          Builds an analyzer with the given stop words.
 
Method Summary
 boolean isStemmingDisabled()
           
 boolean isSynonymsDisabled()
           
 void setDisableStemming(boolean disabled)
           
 void setDisableSynonyms(boolean disabled)
           
 org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName, java.io.Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
getPositionIncrementGap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP_WORDS

public static final java.lang.String[] STOP_WORDS
An array containing some common Dutch words that are usually not useful for searching.

Constructor Detail

DutchStemmingAnalyzer

public DutchStemmingAnalyzer()
Builds an analyzer.


DutchStemmingAnalyzer

public DutchStemmingAnalyzer(java.lang.String[] stopWords)
Builds an analyzer with the given stop words.

Method Detail

tokenStream

public final org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
                                                                java.io.Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

setDisableSynonyms

public void setDisableSynonyms(boolean disabled)
Specified by:
setDisableSynonyms in interface JiveAnalyzer

isSynonymsDisabled

public boolean isSynonymsDisabled()
Specified by:
isSynonymsDisabled in interface JiveAnalyzer

setDisableStemming

public void setDisableStemming(boolean disabled)
Specified by:
setDisableStemming in interface JiveAnalyzer

isStemmingDisabled

public boolean isStemmingDisabled()
Specified by:
isStemmingDisabled in interface JiveAnalyzer

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.