Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use Analyzer
org.apache.lucene.analysis | API and code to convert text into indexable tokens.
org.apache.lucene.analysis.de | Support for indexing and searching of German text.
org.apache.lucene.analysis.ru | Support for indexing and searching Russian text.
org.apache.lucene.analysis.standard | A grammar-based tokenizer constructed with JavaCC.
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 | Search over indices.
org.apache.lucene.search.highlight | The highlight package contains classes to provide "keyword in context" features typically used to highlight search terms in the text of results pages.

Uses of Analyzer in org.apache.lucene.analysis

Subclasses of Analyzer in org.apache.lucene.analysis
`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.de

Subclasses of Analyzer in org.apache.lucene.analysis.de
`class` | `GermanAnalyzer` Analyzer for German language.

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

Subclasses of Analyzer in org.apache.lucene.analysis.ru
`class` | `RussianAnalyzer` Analyzer for Russian language.

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`.

Uses of Analyzer in org.apache.lucene.index

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` | `IndexWriter.addDocument(Document doc, Analyzer analyzer)` Adds a document to this index, using the provided analyzer instead of the value of `IndexWriter.getAnalyzer()`.

Constructors in org.apache.lucene.index with parameters of type Analyzer
`IndexWriter(String path, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `path`.
`IndexWriter(File path, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `path`.
`IndexWriter(Directory d, Analyzer a, boolean create)` Constructs an IndexWriter for the index in `d`.

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 query, String[] fields, Analyzer analyzer)` Parses a query which searches on the fields specified.
`static Query` | `MultiFieldQueryParser.parse(String query, String[] fields, int[] flags, Analyzer analyzer)` Parses a query, searching on the fields specified.
`static Query` | `QueryParser.parse(String query, String field, Analyzer analyzer)` Parses a query string, returning a `Query`.
`protected Query` | `QueryParser.getFieldQuery(String field, Analyzer analyzer, String queryText)` Note that parameter analyzer is ignored.
`protected Query` | `QueryParser.getFieldQuery(String field, Analyzer analyzer, String queryText, int slop)` Base implementation delegates to `QueryParser.getFieldQuery(String, Analyzer, String)`.
`protected Query` | `QueryParser.getRangeQuery(String field, Analyzer analyzer, String part1, String part2, boolean inclusive)` Note that parameter analyzer is ignored.

Constructors in org.apache.lucene.queryParser with parameters of type Analyzer
`MultiFieldQueryParser(String f, Analyzer a)`
`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)`

Uses of Analyzer in org.apache.lucene.search.highlight

Methods in org.apache.lucene.search.highlight with parameters of type Analyzer
`static TokenStream` | `TokenSources.getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)` A convenience method that tries a number of approaches to getting a token stream.
`static TokenStream` | `TokenSources.getTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)`
`String` | `Highlighter.getBestFragment(Analyzer analyzer, String fieldName, String text)` Highlights chosen terms in a text, extracting the most relevant section.
`String[]` | `Highlighter.getBestFragments(Analyzer analyzer, String text, int maxNumFragments)` Highlights chosen terms in a text, extracting the most relevant sections.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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