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

Uses in package org.apache.lucene.analysis.th

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for Thai language.

Uses in package org.apache.lucene.analysis.cjk

Classes derived from org.apache.lucene.analysis.Analyzer

class
Filters CJKTokenizer with StopFilter.

Uses in package org.apache.lucene.analysis.fr

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for French language.

Uses in package org.apache.lucene.search

Constructors with parameter type org.apache.lucene.analysis.Analyzer

QueryTermVector.QueryTermVector(String queryString, Analyzer analyzer)

Uses in package org.apache.lucene.wordnet

Methods with parameter type org.apache.lucene.analysis.Analyzer

Query
SynExpand.expand(String query, Searcher syns, Analyzer a, String field, float boost)
Perform synonym expansion on a query.
Query
SynLookup.expand(String query, Searcher syns, Analyzer a, String field, float boost)
Perform synonym expansion on a query.

Uses in package org.apache.lucene.analysis.de

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for German language.

Uses in package org.apache.lucene.analysis.ru

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for Russian language.

Uses in package org.apache.lucene.queryParser

Constructors with parameter type org.apache.lucene.analysis.Analyzer

Creates a MultiFieldQueryParser.
MultiFieldQueryParser.MultiFieldQueryParser(String[] fields, Analyzer analyzer, Map boosts)
Creates a MultiFieldQueryParser.
Constructs a query parser.

Methods with parameter type org.apache.lucene.analysis.Analyzer

Query
MultiFieldQueryParser.parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.
Query
MultiFieldQueryParser.parse(String[] queries, String[] fields, Analyzer analyzer)
Parses a query which searches on the fields specified.
Query
MultiFieldQueryParser.parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer

Uses in package org.apache.lucene.analysis.cn

Classes derived from org.apache.lucene.analysis.Analyzer

class
Title: ChineseAnalyzer Description: Subclass of org.apache.lucene.analysis.Analyzer build from a ChineseTokenizer, filtered with ChineseFilter.

Uses in package org.apache.lucene.queryParser.analyzing

Constructors with parameter type org.apache.lucene.analysis.Analyzer

Constructs a query parser.

Uses in package org.apache.lucene.benchmark.standard

Methods with parameter type org.apache.lucene.analysis.Analyzer

Query[]
Parse the strings containing Lucene queries.

Uses in package org.apache.lucene.search.highlight

Methods with parameter type org.apache.lucene.analysis.Analyzer

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.
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 fieldName, String text, int maxNumFragments)
Highlights chosen terms in a text, extracting the most relevant sections.
String[]
Highlighter.getBestFragments(Analyzer analyzer, String text, int maxNumFragments)
Highlights chosen terms in a text, extracting the most relevant sections.
TokenStream
TokenSources.getTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer)

Uses in package org.apache.lucene.analysis.br

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for Brazilian language.

Uses in package org.apache.lucene.analysis.el

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for the Greek language.

Uses in package org.apache.lucene.queryParser.precedence

Constructors with parameter type org.apache.lucene.analysis.Analyzer

Constructs a query parser.

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer

Uses in package org.apache.lucene.benchmark.byTask

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer

Uses in package org.apache.lucene.analysis

Classes derived from org.apache.lucene.analysis.Analyzer

class
"Tokenizes" the entire stream as a single token.
class
This analyzer is used to facilitate scenarios where different fields require different analysis techniques.
class
An Analyzer that filters LetterTokenizer with LowerCaseFilter.
class
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
class
An Analyzer that uses WhitespaceTokenizer.

Constructors with parameter type org.apache.lucene.analysis.Analyzer

Constructs with default analyzer.

Methods with parameter type org.apache.lucene.analysis.Analyzer

void
PerFieldAnalyzerWrapper.addAnalyzer(String fieldName, Analyzer analyzer)
Defines an analyzer to use for the specified field.

Uses in package org.apache.lucene.benchmark.stats

Methods with parameter type org.apache.lucene.analysis.Analyzer

TestData[]
TestData.getAll(File[] sources, Analyzer[] analyzers)
Prepare a list of benchmark data, using all possible combinations of benchmark parameters.
TestData[]
Similar to getAll(java.io.File[], org.apache.lucene.analysis.Analyzer[]) but only uses maxBufferedDocs of 10 and 100 and same for mergeFactor, thus reducing the number of permutations significantly.
void

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer

Uses in package org.apache.lucene.analysis.standard

Classes derived from org.apache.lucene.analysis.Analyzer

class
Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words.

Uses in package org.apache.lucene.analysis.snowball

Classes derived from org.apache.lucene.analysis.Analyzer

class

Uses in package org.apache.lucene.analysis.cz

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for Czech language.

Uses in package org.apache.lucene.analysis.nl

Classes derived from org.apache.lucene.analysis.Analyzer

class
Analyzer for Dutch language.

Uses in package org.apache.lucene.index.memory

Classes derived from org.apache.lucene.analysis.Analyzer

class
Efficient Lucene analyzer/tokenizer that preferably operates on a String rather than a Reader, that can flexibly separate text into terms via a regular expression Pattern (with behaviour identical to String.split(String)), and that combines the functionality of LetterTokenizer, LowerCaseTokenizer, WhitespaceTokenizer, StopFilter into a single efficient multi-purpose class.

Methods with parameter type org.apache.lucene.analysis.Analyzer

void
MemoryIndex.addField(String fieldName, String text, Analyzer analyzer)
Convenience method; Tokenizes the given field text and adds the resulting terms to the index; Equivalent to adding an indexed non-keyword Lucene Field that is tokenized, not stored, termVectorStored with positions (or termVectorStored with positions and offsets),
Analyzer
AnalyzerUtil.getLoggingAnalyzer(Analyzer child, PrintStream log, String logName)
Returns a simple analyzer wrapper that logs all tokens produced by the underlying child analyzer to the given log stream (typically System.err); Otherwise behaves exactly like the child analyzer, delivering the very same tokens; useful for debugging purposes on custom indexing and/or querying.
Analyzer
AnalyzerUtil.getMaxTokenAnalyzer(Analyzer child, int maxTokens)
Returns an analyzer wrapper that returns at most the first maxTokens tokens from the underlying child analyzer, ignoring all remaining tokens.
String[]
AnalyzerUtil.getMostFrequentTerms(Analyzer analyzer, String text, int limit)
Returns (frequency:term) pairs for the top N distinct terms (aka words), sorted descending by frequency (and ascending by term, if tied).
Analyzer
Returns an English stemming analyzer that stems tokens from the underlying child analyzer according to the Porter stemming algorithm.
Analyzer
AnalyzerUtil.getSynonymAnalyzer(Analyzer child, SynonymMap synonyms, int maxSynonyms)
Returns an analyzer wrapper that wraps the underlying child analyzer's token stream into a SynonymTokenFilter.
Analyzer
Returns an analyzer wrapper that caches all tokens generated by the underlying child analyzer's token streams, and delivers those cached tokens on subsequent calls to tokenStream(String fieldName, Reader reader) if the fieldName has been seen before, altogether ignoring the Reader parameter on cache lookup.

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer
AnalyzerUtil.getLoggingAnalyzer(Analyzer child, PrintStream log, String logName)
Returns a simple analyzer wrapper that logs all tokens produced by the underlying child analyzer to the given log stream (typically System.err); Otherwise behaves exactly like the child analyzer, delivering the very same tokens; useful for debugging purposes on custom indexing and/or querying.
Analyzer
AnalyzerUtil.getMaxTokenAnalyzer(Analyzer child, int maxTokens)
Returns an analyzer wrapper that returns at most the first maxTokens tokens from the underlying child analyzer, ignoring all remaining tokens.
Analyzer
Returns an English stemming analyzer that stems tokens from the underlying child analyzer according to the Porter stemming algorithm.
Analyzer
AnalyzerUtil.getSynonymAnalyzer(Analyzer child, SynonymMap synonyms, int maxSynonyms)
Returns an analyzer wrapper that wraps the underlying child analyzer's token stream into a SynonymTokenFilter.
Analyzer
Returns an analyzer wrapper that caches all tokens generated by the underlying child analyzer's token streams, and delivers those cached tokens on subsequent calls to tokenStream(String fieldName, Reader reader) if the fieldName has been seen before, altogether ignoring the Reader parameter on cache lookup.

Uses in package org.apache.lucene.index

Constructors with parameter type org.apache.lucene.analysis.Analyzer

IndexModifier.IndexModifier(File file, Analyzer analyzer, boolean create)
Open an index with write access.
IndexModifier.IndexModifier(String dirName, Analyzer analyzer, boolean create)
Open an index with write access.
IndexModifier.IndexModifier(Directory directory, Analyzer analyzer, boolean create)
Open an index with write access.
Constructs an IndexWriter for the index in path, creating it first if it does not already exist, otherwise appending to the existing index.
IndexWriter.IndexWriter(File path, Analyzer a, boolean create)
Constructs an IndexWriter for the index in path.
IndexWriter.IndexWriter(String path, Analyzer a)
Constructs an IndexWriter for the index in path, creating it first if it does not already exist, otherwise appending to the existing index.
IndexWriter.IndexWriter(String path, Analyzer a, boolean create)
Constructs an IndexWriter for the index in path.
Constructs an IndexWriter for the index in d, creating it first if it does not already exist, otherwise appending to the existing index.
IndexWriter.IndexWriter(Directory d, Analyzer a, boolean create)
Constructs an IndexWriter for the index in d.

Fields of type org.apache.lucene.analysis.Analyzer

Analyzer

Methods with parameter type org.apache.lucene.analysis.Analyzer

void
Adds a document to this index, using the provided analyzer instead of the one specific in the constructor.
void
Adds a document to this index, using the provided analyzer instead of the value of getAnalyzer().
void
IndexModifier.init(Directory directory, Analyzer analyzer, boolean create)
Initialize an IndexWriter.
void
Updates a document by first deleting the document(s) containing term and then adding the new document.

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer
Returns the analyzer used by this index.

Uses in package org.apache.lucene.swing.models

Methods with parameter type org.apache.lucene.analysis.Analyzer

void
void

Methods with return type org.apache.lucene.analysis.Analyzer

Analyzer
Analyzer

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