Uses of Class
org.apache.lucene.analysis.Analyzer
-
Packages that use Analyzer Package Description org.apache.lucene.analysis API and code to convert text into indexable/searchable tokens.org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.util Some utility classes. -
-
Uses of Analyzer in org.apache.lucene.analysis
Subclasses of Analyzer in org.apache.lucene.analysis Modifier and Type Class Description classAnalyzerWrapperExtension toAnalyzersuitable for Analyzers which wrap other Analyzers.Methods in org.apache.lucene.analysis that return Analyzer Modifier and Type Method Description protected abstract AnalyzerAnalyzerWrapper. getWrappedAnalyzer(String fieldName)Retrieves the wrapped Analyzer appropriate for analyzing the field with the given nameMethods in org.apache.lucene.analysis with parameters of type Analyzer Modifier and Type Method Description Analyzer.TokenStreamComponentsAnalyzer.GlobalReuseStrategy. getReusableComponents(Analyzer analyzer, String fieldName)Deprecated.Analyzer.TokenStreamComponentsAnalyzer.PerFieldReuseStrategy. getReusableComponents(Analyzer analyzer, String fieldName)Deprecated.abstract Analyzer.TokenStreamComponentsAnalyzer.ReuseStrategy. getReusableComponents(Analyzer analyzer, String fieldName)Gets the reusable TokenStreamComponents for the field with the given name.protected ObjectAnalyzer.ReuseStrategy. getStoredValue(Analyzer analyzer)Returns the currently stored value.voidAnalyzer.GlobalReuseStrategy. setReusableComponents(Analyzer analyzer, String fieldName, Analyzer.TokenStreamComponents components)Deprecated.voidAnalyzer.PerFieldReuseStrategy. setReusableComponents(Analyzer analyzer, String fieldName, Analyzer.TokenStreamComponents components)Deprecated.abstract voidAnalyzer.ReuseStrategy. setReusableComponents(Analyzer analyzer, String fieldName, Analyzer.TokenStreamComponents components)Stores the given TokenStreamComponents as the reusable components for the field with the give name.protected voidAnalyzer.ReuseStrategy. setStoredValue(Analyzer analyzer, Object storedValue)Sets the stored value. -
Uses of Analyzer in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type Analyzer Modifier and Type Method Description TokenStreamField. tokenStream(Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.index
Methods in org.apache.lucene.index that return Analyzer Modifier and Type Method Description AnalyzerIndexWriter. getAnalyzer()Returns the analyzer used by this index.AnalyzerIndexWriterConfig. getAnalyzer()AnalyzerLiveIndexWriterConfig. getAnalyzer()Returns the default analyzer to use for indexing documents.Methods in org.apache.lucene.index with parameters of type Analyzer Modifier and Type Method Description voidIndexWriter. addDocument(Iterable<? extends IndexableField> doc, Analyzer analyzer)Adds a document to this index, using the provided analyzer instead of the value ofIndexWriter.getAnalyzer().longTrackingIndexWriter. addDocument(Iterable<? extends IndexableField> d, Analyzer a)CallsIndexWriter.addDocument(Iterable,Analyzer)and returns the generation that reflects this change.voidIndexWriter. addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer)Atomically adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.longTrackingIndexWriter. addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a)CallsIndexWriter.addDocuments(Iterable,Analyzer)and returns the generation that reflects this change.TokenStreamIndexableField. tokenStream(Analyzer analyzer)Creates the TokenStream used for indexing this field.voidIndexWriter. updateDocument(Term term, Iterable<? extends IndexableField> doc, Analyzer analyzer)Updates a document by first deleting the document(s) containingtermand then adding the new document.longTrackingIndexWriter. updateDocument(Term t, Iterable<? extends IndexableField> d, Analyzer a)CallsIndexWriter.updateDocument(Term,Iterable,Analyzer)and returns the generation that reflects this change.voidIndexWriter. updateDocuments(Term delTerm, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer)Atomically deletes documents matching the provided delTerm and adds a block of documents, analyzed using the provided analyzer, with sequentially assigned document IDs, such that an external reader will see all or none of the documents.longTrackingIndexWriter. updateDocuments(Term t, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer a)CallsIndexWriter.updateDocuments(Term,Iterable,Analyzer)and returns the generation that reflects this change.Constructors in org.apache.lucene.index with parameters of type Analyzer Constructor Description IndexWriterConfig(Version matchVersion, Analyzer analyzer) -
Uses of Analyzer in org.apache.lucene.util
Methods in org.apache.lucene.util that return Analyzer Modifier and Type Method Description AnalyzerQueryBuilder. getAnalyzer()Returns the analyzer.Methods in org.apache.lucene.util with parameters of type Analyzer Modifier and Type Method Description protected QueryQueryBuilder. createFieldQuery(Analyzer analyzer, BooleanClause.Occur operator, String field, String queryText, boolean quoted, int phraseSlop)Creates a query from the analysis chain.voidQueryBuilder. setAnalyzer(Analyzer analyzer)Sets the analyzer used to tokenize text.Constructors in org.apache.lucene.util with parameters of type Analyzer Constructor Description QueryBuilder(Analyzer analyzer)Creates a new QueryBuilder using the given analyzer.
-