## Uses of Class
org.apache.lucene.analysis.Analyzer

Packages that use Analyzer
org.apache.lucene.analysis: API and code to convert text into indexable/searchable tokens.
org.apache.lucene.analysis.standard: A fast grammar-based tokenizer constructed with JFlex.
org.apache.lucene.index: Code to maintain and access indices.
org.apache.lucene.queryParser: A simple query parser implemented with JavaCC.
org.apache.lucene.search: Code to search indices.

Uses of Analyzer in org.apache.lucene.analysis

Subclasses of Analyzer in org.apache.lucene.analysis
`class` `KeywordAnalyzer` "Tokenizes" the entire stream as a single token.
`class` `PerFieldAnalyzerWrapper` This analyzer is used to facilitate scenarios where different fields require different analysis techniques.
`class` `SimpleAnalyzer` An Analyzer that filters LetterTokenizer with LowerCaseFilter.
`class` `StopAnalyzer` Filters LetterTokenizer with LowerCaseFilter and StopFilter.
`class` `WhitespaceAnalyzer` An Analyzer that uses WhitespaceTokenizer.

Methods in org.apache.lucene.analysis with parameters of type Analyzer
`void` `PerFieldAnalyzerWrapper.addAnalyzer(String fieldName, Analyzer analyzer)` Defines an analyzer to use for the specified field.

Constructors in org.apache.lucene.analysis with parameters of type Analyzer
`PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer)` Constructs with default analyzer.

Uses of Analyzer in org.apache.lucene.analysis.standard

Subclasses of Analyzer in org.apache.lucene.analysis.standard
`class` `StandardAnalyzer` Filters `StandardTokenizer` with `StandardFilter`, `LowerCaseFilter` and `StopFilter`, using a list of English stop words.

Uses of Analyzer in org.apache.lucene.index

Fields in org.apache.lucene.index declared as Analyzer
`protected Analyzer` `IndexModifier.analyzer` Deprecated.

Methods in org.apache.lucene.index that return Analyzer
`Analyzer` `IndexWriter.getAnalyzer()` Returns the analyzer used by this index.

Methods in org.apache.lucene.index with parameters of type Analyzer
`void` `IndexModifier.addDocument(Document doc, Analyzer docAnalyzer)` Deprecated. Adds a document to this index, using the provided analyzer instead of the one specific in the constructor.
`void` `IndexWriter.addDocument(Document doc, Analyzer analyzer)` Adds a document to this index, using the provided analyzer instead of the value of `IndexWriter.getAnalyzer()`.
`protected void` `IndexModifier.init(Directory directory, Analyzer analyzer, boolean create)` Deprecated. Initialize an IndexWriter.
`void` `IndexWriter.updateDocument(Term term, Document doc, Analyzer analyzer)` Updates a document by first deleting the document(s) containing `term` and then adding the new document.

Constructors in org.apache.lucene.index with parameters of type Analyzer
`IndexModifier(Directory directory, Analyzer analyzer, boolean create)` Deprecated. Open an index with write access.
`IndexModifier(File file, Analyzer analyzer, boolean create)` Deprecated. Open an index with write access.
`IndexModifier(String dirName, Analyzer analyzer, boolean create)` Deprecated. Open an index with write access.
`IndexWriter(Directory d, Analyzer a)` Constructs an IndexWriter for the index in `d`, first creating it if it does not already exist.
`IndexWriter(Directory d, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `d`.
`IndexWriter(Directory d, boolean autoCommit, Analyzer a)` Constructs an IndexWriter for the index in `d`, first creating it if it does not already exist.
`IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `d`.
`IndexWriter(Directory d, boolean autoCommit, Analyzer a, boolean create, IndexDeletionPolicy deletionPolicy)` Expert: constructs an IndexWriter with a custom `IndexDeletionPolicy`, for the index in `d`.
`IndexWriter(Directory d, boolean autoCommit, Analyzer a, IndexDeletionPolicy deletionPolicy)` Expert: constructs an IndexWriter with a custom `IndexDeletionPolicy`, for the index in `d`, first creating it if it does not already exist.
`IndexWriter(File path, Analyzer a)` Constructs an IndexWriter for the index in `path`, first creating it if it does not already exist.
`IndexWriter(File path, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `path`.
`IndexWriter(String path, Analyzer a)` Constructs an IndexWriter for the index in `path`, first creating it if it does not already exist.
`IndexWriter(String path, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `path`.

Uses of Analyzer in org.apache.lucene.queryParser

Methods in org.apache.lucene.queryParser that return Analyzer
`Analyzer` `QueryParser.getAnalyzer()`

Methods in org.apache.lucene.queryParser with parameters of type Analyzer
`static Query` `MultiFieldQueryParser.parse(String[] queries, String[] fields, Analyzer analyzer)` Parses a query which searches on the fields specified.
`static Query` `MultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)` Parses a query, searching on the fields specified.
`static Query` `MultiFieldQueryParser.parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)` Parses a query, searching on the fields specified.

Constructors in org.apache.lucene.queryParser with parameters of type Analyzer
`MultiFieldQueryParser(String[] fields, Analyzer analyzer)` Creates a MultiFieldQueryParser.
`MultiFieldQueryParser(String[] fields, Analyzer analyzer, Map boosts)` Creates a MultiFieldQueryParser.
`QueryParser(String f, Analyzer a)` Constructs a query parser.

Uses of Analyzer in org.apache.lucene.search

Constructors in org.apache.lucene.search with parameters of type Analyzer
`QueryTermVector(String queryString, Analyzer analyzer)`

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