Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.analysis.icu.tokenattributes |
Additional ICU-specific Attributes for text analysis.
|
org.apache.lucene.analysis.ja.tokenattributes |
Additional Kuromoji-specific Attributes for text analysis.
|
org.apache.lucene.analysis.miscellaneous |
Miscellaneous Tokenstreams.
|
org.apache.lucene.analysis.morfologik |
This package provides dictionary-driven lemmatization ("accurate stemming")
filter and analyzer for the Polish Language, driven by the
Morfologik library developed
by Dawid Weiss and Marcin MiĆkowski.
|
org.apache.lucene.analysis.tokenattributes |
General-purpose attributes for text analysis.
|
org.apache.lucene.collation.tokenattributes |
Custom
AttributeImpl for indexing collation keys as index terms. |
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
BaseTokenStreamTestCase.CheckClearAttributesAttribute
Attribute that records if it was cleared or not.
|
Modifier and Type | Class and Description |
---|---|
static class |
BaseTokenStreamTestCase.CheckClearAttributesAttributeImpl
Attribute that records if it was cleared or not.
|
class |
MockUTF16TermAttributeImpl
Extension of
CharTermAttributeImpl that encodes the term
text as UTF-16 bytes instead of as UTF-8 bytes. |
class |
Token
A Token is an occurrence of a term from the text of a field.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ScriptAttribute
This attribute stores the UTR #24 script value for a token of text.
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptAttributeImpl
Implementation of
ScriptAttribute that stores the script
as an integer. |
Modifier and Type | Interface and Description |
---|---|
interface |
BaseFormAttribute
Attribute for
Token.getBaseForm() . |
interface |
InflectionAttribute
Attribute for Kuromoji inflection data.
|
interface |
PartOfSpeechAttribute
Attribute for
Token.getPartOfSpeech() . |
interface |
ReadingAttribute
Attribute for Kuromoji reading data
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFormAttributeImpl
Attribute for
Token.getBaseForm() . |
class |
InflectionAttributeImpl
Attribute for Kuromoji inflection data.
|
class |
PartOfSpeechAttributeImpl
Attribute for
Token.getPartOfSpeech() . |
class |
ReadingAttributeImpl
Attribute for Kuromoji reading data
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ConcatenateGraphFilter.BytesRefBuilderTermAttribute
Attribute providing access to the term builder and UTF-16 conversion
|
Modifier and Type | Class and Description |
---|---|
static class |
ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl
Implementation of
ConcatenateGraphFilter.BytesRefBuilderTermAttribute |
Modifier and Type | Interface and Description |
---|---|
interface |
MorphosyntacticTagsAttribute
Morfologik provides morphosyntactic annotations for
surface forms.
|
Modifier and Type | Class and Description |
---|---|
class |
MorphosyntacticTagsAttributeImpl
Morphosyntactic annotations for surface forms.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BytesTermAttribute
This attribute can be used if you have the raw term bytes to be indexed.
|
interface |
CharTermAttribute
The term text of a Token.
|
interface |
FlagsAttribute
This attribute can be used to pass different flags down the
Tokenizer chain,
e.g. |
interface |
KeywordAttribute
This attribute can be used to mark a token as a keyword.
|
interface |
OffsetAttribute
The start and end character offset of a Token.
|
interface |
PayloadAttribute
The payload of a Token.
|
interface |
PositionIncrementAttribute
Determines the position of this token
relative to the previous Token in a TokenStream, used in phrase
searching.
|
interface |
PositionLengthAttribute
Determines how many positions this
token spans.
|
interface |
TermFrequencyAttribute
Sets the custom term frequency of a term within one document.
|
interface |
TermToBytesRefAttribute
This attribute is requested by TermsHashPerField to index the contents.
|
interface |
TypeAttribute
A Token's lexical type.
|
Modifier and Type | Class and Description |
---|---|
class |
CollatedTermAttributeImpl
Extension of
CharTermAttributeImpl that encodes the term
text as a binary Unicode collation key instead of as UTF-8 bytes. |
class |
ICUCollatedTermAttributeImpl
Extension of
CharTermAttributeImpl that encodes the term
text as a binary Unicode collation key instead of as UTF-8 bytes. |
Modifier and Type | Interface and Description |
---|---|
interface |
BoostAttribute
Add this
Attribute to a TermsEnum returned by MultiTermQuery.getTermsEnum(Terms,AttributeSource)
and update the boost on each returned term. |
static interface |
FuzzyTermsEnum.LevenshteinAutomataAttribute
reuses compiled automata across different segments,
because they are independent of the index
|
interface |
MaxNonCompetitiveBoostAttribute
Add this
Attribute to a fresh AttributeSource before calling
MultiTermQuery.getTermsEnum(Terms,AttributeSource) . |
Modifier and Type | Class and Description |
---|---|
class |
BoostAttributeImpl
Implementation class for
BoostAttribute . |
static class |
FuzzyTermsEnum.LevenshteinAutomataAttributeImpl
Stores compiled automata as a list (indexed by edit distance)
|
class |
MaxNonCompetitiveBoostAttributeImpl
Implementation class for
MaxNonCompetitiveBoostAttribute . |
Modifier and Type | Class and Description |
---|---|
class |
AttributeImpl
Base class for Attributes that can be added to a
AttributeSource . |
Modifier and Type | Method and Description |
---|---|
<T extends Attribute> |
AttributeSource.addAttribute(java.lang.Class<T> attClass)
The caller must pass in a Class<? extends Attribute> value.
|
<T extends Attribute> |
AttributeSource.getAttribute(java.lang.Class<T> attClass)
Returns the instance of the passed in Attribute contained in this AttributeSource
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.Class<? extends Attribute>> |
AttributeSource.getAttributeClassesIterator()
Returns a new iterator that iterates the attribute classes
in the same order they were added in.
|
Modifier and Type | Method and Description |
---|---|
abstract AttributeImpl |
AttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
Returns an
AttributeImpl for the supplied Attribute interface class. |
AttributeImpl |
AttributeFactory.StaticImplementationAttributeFactory.createAttributeInstance(java.lang.Class<? extends Attribute> attClass) |
boolean |
AttributeSource.hasAttribute(java.lang.Class<? extends Attribute> attClass)
The caller must pass in a Class<? extends Attribute> value.
|
void |
AttributeReflector.reflect(java.lang.Class<? extends Attribute> attClass,
java.lang.String key,
java.lang.Object value)
This method gets called for every property in an
AttributeImpl /AttributeSource
passing the class name of the Attribute , a key and the actual value. |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.