Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.analysis.standard
Class StandardAnalyzer

    java.lang.Object
      org.apache.lucene.analysis.Analyzer
          org.apache.lucene.analysis.standard.StandardAnalyzer

public class StandardAnalyzer
extends Analyzer

Filters `StandardTokenizer` with `StandardFilter`, `LowerCaseFilter` and `StopFilter`.

Version:
  $Id: StandardAnalyzer.java,v 1.8 2004/03/29 22:48:01 cutting Exp $

Field Summary
`static String[]` | `STOP_WORDS` An array containing some common English words that are usually not useful for searching.

Constructor Summary
`StandardAnalyzer()` Builds an analyzer.
`StandardAnalyzer(String[] stopWords)` Builds an analyzer with the given stop words.

Method Summary
`TokenStream` | `tokenStream(String fieldName, Reader reader)` Constructs a `StandardTokenizer` filtered by a `StandardFilter`, a `LowerCaseFilter` and a `StopFilter`.

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

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 String[] STOP_WORDS

  An array containing some common English words that are usually not useful for searching.

Constructor Detail

### StandardAnalyzer

    public StandardAnalyzer()

  Builds an analyzer.

### StandardAnalyzer

    public StandardAnalyzer(String[] stopWords)

  Builds an analyzer with the given stop words.

Method Detail

### tokenStream

    public TokenStream tokenStream(String fieldName,
                                   Reader reader)

  Constructs a `StandardTokenizer` filtered by a `StandardFilter`, a `LowerCaseFilter` and a `StopFilter`.

  Overrides:
    `tokenStream` in class `Analyzer`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.