| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachingTokenFilter
This class can be used if the token attributes of a TokenStream
are intended to be consumed more than once.
|
class |
NumericTokenStream
Expert: This class provides a
TokenStream
for indexing numeric values that can be used by NumericRangeQuery or NumericRangeFilter. |
class |
TokenFilter
A TokenFilter is a TokenStream whose input is another TokenStream.
|
class |
Tokenizer
A Tokenizer is a TokenStream whose input is a Reader.
|
| Modifier and Type | Field and Description |
|---|---|
protected TokenStream |
TokenFilter.input
The source of tokens for this filter.
|
protected TokenStream |
Analyzer.TokenStreamComponents.sink |
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
Analyzer.TokenStreamComponents.getTokenStream()
Returns the sink
TokenStream |
TokenStream |
Analyzer.tokenStream(String fieldName,
Reader reader)
Creates a TokenStream that is allowed to be re-use from the previous time
that the same thread called this method.
|
| Constructor and Description |
|---|
Analyzer.TokenStreamComponents(Tokenizer source,
TokenStream result)
Creates a new
Analyzer.TokenStreamComponents instance. |
CachingTokenFilter(TokenStream input) |
TokenFilter(TokenStream input)
Construct a token stream filtering the given input.
|
| Modifier and Type | Field and Description |
|---|---|
protected TokenStream |
Field.tokenStream |
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
Field.tokenStream(Analyzer analyzer)
Creates the TokenStream used for indexing this field.
|
TokenStream |
Field.tokenStreamValue()
The TokesStream for this field to be used when indexing, or null.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Field.setTokenStream(TokenStream tokenStream)
Expert: sets the token stream to be used for indexing and causes
isIndexed() and isTokenized() to return true.
|
| Constructor and Description |
|---|
Field(String name,
TokenStream tokenStream)
Deprecated.
Use
TextField instead |
Field(String name,
TokenStream tokenStream,
Field.TermVector termVector)
Deprecated.
Use
TextField instead |
Field(String name,
TokenStream tokenStream,
FieldType type)
Create field with TokenStream value.
|
TextField(String name,
TokenStream stream)
Creates a new un-stored TextField with TokenStream value.
|
| Modifier and Type | Method and Description |
|---|---|
TokenStream |
IndexableField.tokenStream(Analyzer analyzer)
Creates the TokenStream used for indexing this field.
|
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.