|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Analyzer | |
---|---|
org.apache.lucene.analysis | API and code to convert text into indexable/searchable tokens. |
org.apache.lucene.document | The logical representation of a Document for indexing and searching. |
org.apache.lucene.index | Code to maintain and access indices. |
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 |
AnalyzerWrapper
Extension to Analyzer suitable for Analyzers which wrap
other Analyzers. |
Methods in org.apache.lucene.analysis that return Analyzer | |
---|---|
protected abstract Analyzer |
AnalyzerWrapper.getWrappedAnalyzer(String fieldName)
Retrieves the wrapped Analyzer appropriate for analyzing the field with the given name |
Uses of Analyzer in org.apache.lucene.document |
---|
Methods in org.apache.lucene.document with parameters of type Analyzer | |
---|---|
TokenStream |
Field.tokenStream(Analyzer analyzer)
|
Uses of Analyzer in org.apache.lucene.index |
---|
Methods in org.apache.lucene.index that return Analyzer | |
---|---|
Analyzer |
IndexWriterConfig.getAnalyzer()
|
Analyzer |
LiveIndexWriterConfig.getAnalyzer()
Returns the default analyzer to use for indexing documents. |
Analyzer |
IndexWriter.getAnalyzer()
Returns the analyzer used by this index. |
Methods in org.apache.lucene.index with parameters of type Analyzer | |
---|---|
void |
IndexWriter.addDocument(Iterable<? extends IndexableField> doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the value of IndexWriter.getAnalyzer() . |
void |
IndexWriter.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. |
TokenStream |
IndexableField.tokenStream(Analyzer analyzer)
Creates the TokenStream used for indexing this field. |
void |
IndexWriter.updateDocument(Term term,
Iterable<? extends IndexableField> doc,
Analyzer analyzer)
Updates a document by first deleting the document(s) containing term and then adding the new
document. |
void |
IndexWriter.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. |
Constructors in org.apache.lucene.index with parameters of type Analyzer | |
---|---|
IndexWriterConfig(Version matchVersion,
Analyzer analyzer)
Creates a new config that with defaults that match the specified Version as well as the default Analyzer . |
Uses of Analyzer in org.apache.lucene.search |
---|
Methods in org.apache.lucene.search with parameters of type Analyzer | |
---|---|
long |
NRTManager.TrackingIndexWriter.addDocument(Iterable<? extends IndexableField> d,
Analyzer a)
|
long |
NRTManager.TrackingIndexWriter.addDocuments(Iterable<? extends Iterable<? extends IndexableField>> docs,
Analyzer a)
|
long |
NRTManager.TrackingIndexWriter.updateDocument(Term t,
Iterable<? extends IndexableField> d,
Analyzer a)
|
long |
NRTManager.TrackingIndexWriter.updateDocuments(Term t,
Iterable<? extends Iterable<? extends IndexableField>> docs,
Analyzer a)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |