Uses of Class
org.apache.lucene.util.AttributeFactory
-
Packages that use AttributeFactory Package Description org.apache.lucene.analysis Text analysis.org.apache.lucene.analysis.cn.smart Analyzer for Simplified Chinese, which indexes words.org.apache.lucene.analysis.core Basic, general-purpose analysis components.org.apache.lucene.analysis.icu.segmentation Tokenizer that breaks text into words with the Unicode Text Segmentation algorithm.org.apache.lucene.analysis.ja Analyzer for Japanese.org.apache.lucene.analysis.ko Analyzer for Korean.org.apache.lucene.analysis.ngram Character n-gram tokenizers and filters.org.apache.lucene.analysis.path Analysis components for path-like strings such as filenames.org.apache.lucene.analysis.pattern Set of components for pattern-based (regex) analysis.org.apache.lucene.analysis.standard Fast, general-purpose grammar-based tokenizerStandardTokenizerimplements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.org.apache.lucene.analysis.th Analyzer for Thai.org.apache.lucene.analysis.util Utility functions for text analysis.org.apache.lucene.analysis.wikipedia Tokenizer that is aware of Wikipedia syntax.org.apache.lucene.collation Unicode collation support.org.apache.lucene.util Some utility classes. -
-
Uses of AttributeFactory in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as AttributeFactory Modifier and Type Field Description static AttributeFactoryTokenStream. DEFAULT_TOKEN_ATTRIBUTE_FACTORYDefaultAttributeFactoryinstance that should be used for TokenStreams.Methods in org.apache.lucene.analysis that return AttributeFactory Modifier and Type Method Description protected AttributeFactoryAnalyzer. attributeFactory(java.lang.String fieldName)protected AttributeFactoryAnalyzerWrapper. attributeFactory(java.lang.String fieldName)Constructors in org.apache.lucene.analysis with parameters of type AttributeFactory Constructor Description StringTokenStream(AttributeFactory attributeFactory, java.lang.String value, int length)Tokenizer(AttributeFactory factory)Construct a tokenizer with no input, awaiting a call toTokenizer.setReader(java.io.Reader)to provide input.TokenStream(AttributeFactory factory)A TokenStream using the supplied AttributeFactory for creating newAttributeinstances. -
Uses of AttributeFactory in org.apache.lucene.analysis.cn.smart
Methods in org.apache.lucene.analysis.cn.smart with parameters of type AttributeFactory Modifier and Type Method Description TokenizerHMMChineseTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.cn.smart with parameters of type AttributeFactory Constructor Description HMMChineseTokenizer(AttributeFactory factory)Creates a new HMMChineseTokenizer, supplying the AttributeFactory -
Uses of AttributeFactory in org.apache.lucene.analysis.core
Methods in org.apache.lucene.analysis.core with parameters of type AttributeFactory Modifier and Type Method Description KeywordTokenizerKeywordTokenizerFactory. create(AttributeFactory factory)LetterTokenizerLetterTokenizerFactory. create(AttributeFactory factory)TokenizerWhitespaceTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.core with parameters of type AttributeFactory Constructor Description KeywordTokenizer(AttributeFactory factory, int bufferSize)LetterTokenizer(AttributeFactory factory)Construct a new LetterTokenizer using a givenAttributeFactory.LetterTokenizer(AttributeFactory factory, int maxTokenLen)Construct a new LetterTokenizer using a givenAttributeFactory.UnicodeWhitespaceTokenizer(AttributeFactory factory)Construct a new UnicodeWhitespaceTokenizer using a givenAttributeFactory.UnicodeWhitespaceTokenizer(AttributeFactory factory, int maxTokenLen)Construct a new UnicodeWhitespaceTokenizer using a givenAttributeFactory.WhitespaceTokenizer(AttributeFactory factory)Construct a new WhitespaceTokenizer using a givenAttributeFactory.WhitespaceTokenizer(AttributeFactory factory, int maxTokenLen)Construct a new WhitespaceTokenizer using a givenAttributeFactory. -
Uses of AttributeFactory in org.apache.lucene.analysis.icu.segmentation
Methods in org.apache.lucene.analysis.icu.segmentation with parameters of type AttributeFactory Modifier and Type Method Description ICUTokenizerICUTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.icu.segmentation with parameters of type AttributeFactory Constructor Description ICUTokenizer(AttributeFactory factory, ICUTokenizerConfig config)Construct a new ICUTokenizer that breaks text into words from the given Reader, using a tailored BreakIterator configuration. -
Uses of AttributeFactory in org.apache.lucene.analysis.ja
Methods in org.apache.lucene.analysis.ja with parameters of type AttributeFactory Modifier and Type Method Description JapaneseTokenizerJapaneseTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.ja with parameters of type AttributeFactory Constructor Description JapaneseTokenizer(AttributeFactory factory, TokenInfoDictionary systemDictionary, UnknownDictionary unkDictionary, ConnectionCosts connectionCosts, UserDictionary userDictionary, boolean discardPunctuation, boolean discardCompoundToken, JapaneseTokenizer.Mode mode)Create a new JapaneseTokenizer, supplying a custom system dictionary and unknown dictionary.JapaneseTokenizer(AttributeFactory factory, UserDictionary userDictionary, boolean discardPunctuation, boolean discardCompoundToken, JapaneseTokenizer.Mode mode)Create a new JapaneseTokenizer using the system and unknown dictionaries shipped with Lucene.JapaneseTokenizer(AttributeFactory factory, UserDictionary userDictionary, boolean discardPunctuation, JapaneseTokenizer.Mode mode)Create a new JapaneseTokenizer using the system and unknown dictionaries shipped with Lucene. -
Uses of AttributeFactory in org.apache.lucene.analysis.ko
Methods in org.apache.lucene.analysis.ko with parameters of type AttributeFactory Modifier and Type Method Description KoreanTokenizerKoreanTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.ko with parameters of type AttributeFactory Constructor Description KoreanTokenizer(AttributeFactory factory, TokenInfoDictionary systemDictionary, UnknownDictionary unkDictionary, ConnectionCosts connectionCosts, UserDictionary userDictionary, KoreanTokenizer.DecompoundMode mode, boolean outputUnknownUnigrams, boolean discardPunctuation)Create a new KoreanTokenizer supplying a custom system dictionary and unknown dictionary.KoreanTokenizer(AttributeFactory factory, UserDictionary userDictionary, KoreanTokenizer.DecompoundMode mode, boolean outputUnknownUnigrams)Create a new KoreanTokenizer using the system and unknown dictionaries shipped with Lucene.KoreanTokenizer(AttributeFactory factory, UserDictionary userDictionary, KoreanTokenizer.DecompoundMode mode, boolean outputUnknownUnigrams, boolean discardPunctuation)Create a new KoreanTokenizer using the system and unknown dictionaries shipped with Lucene. -
Uses of AttributeFactory in org.apache.lucene.analysis.ngram
Methods in org.apache.lucene.analysis.ngram with parameters of type AttributeFactory Modifier and Type Method Description TokenizerEdgeNGramTokenizerFactory. create(AttributeFactory factory)TokenizerNGramTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.ngram with parameters of type AttributeFactory Constructor Description EdgeNGramTokenizer(AttributeFactory factory, int minGram, int maxGram)Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given rangeNGramTokenizer(AttributeFactory factory, int minGram, int maxGram)Creates NGramTokenizer with given min and max n-grams.NGramTokenizer(AttributeFactory factory, int minGram, int maxGram, boolean edgesOnly) -
Uses of AttributeFactory in org.apache.lucene.analysis.path
Methods in org.apache.lucene.analysis.path with parameters of type AttributeFactory Modifier and Type Method Description TokenizerPathHierarchyTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.path with parameters of type AttributeFactory Constructor Description PathHierarchyTokenizer(AttributeFactory factory, char delimiter, char replacement, int skip)PathHierarchyTokenizer(AttributeFactory factory, int bufferSize, char delimiter, char replacement, int skip)ReversePathHierarchyTokenizer(AttributeFactory factory, char delimiter, char replacement, int skip)ReversePathHierarchyTokenizer(AttributeFactory factory, int bufferSize, char delimiter, char replacement, int skip) -
Uses of AttributeFactory in org.apache.lucene.analysis.pattern
Methods in org.apache.lucene.analysis.pattern with parameters of type AttributeFactory Modifier and Type Method Description PatternTokenizerPatternTokenizerFactory. create(AttributeFactory factory)Split the input using configured patternSimplePatternSplitTokenizerSimplePatternSplitTokenizerFactory. create(AttributeFactory factory)SimplePatternTokenizerSimplePatternTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.pattern with parameters of type AttributeFactory Constructor Description PatternTokenizer(AttributeFactory factory, java.util.regex.Pattern pattern, int group)creates a new PatternTokenizer returning tokens from group (-1 for split functionality)SimplePatternSplitTokenizer(AttributeFactory factory, java.lang.String regexp, int maxDeterminizedStates)SeeRegExpfor the accepted syntax.SimplePatternSplitTokenizer(AttributeFactory factory, Automaton dfa)Runs a pre-built automaton.SimplePatternTokenizer(AttributeFactory factory, java.lang.String regexp, int maxDeterminizedStates)SeeRegExpfor the accepted syntax.SimplePatternTokenizer(AttributeFactory factory, Automaton dfa)Runs a pre-built automaton. -
Uses of AttributeFactory in org.apache.lucene.analysis.standard
Methods in org.apache.lucene.analysis.standard with parameters of type AttributeFactory Modifier and Type Method Description ClassicTokenizerClassicTokenizerFactory. create(AttributeFactory factory)StandardTokenizerStandardTokenizerFactory. create(AttributeFactory factory)UAX29URLEmailTokenizerUAX29URLEmailTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.standard with parameters of type AttributeFactory Constructor Description ClassicTokenizer(AttributeFactory factory)Creates a new ClassicTokenizer with a givenAttributeFactoryStandardTokenizer(AttributeFactory factory)Creates a new StandardTokenizer with a givenAttributeFactoryUAX29URLEmailTokenizer(AttributeFactory factory)Creates a new UAX29URLEmailTokenizer with a givenAttributeFactory -
Uses of AttributeFactory in org.apache.lucene.analysis.th
Methods in org.apache.lucene.analysis.th with parameters of type AttributeFactory Modifier and Type Method Description TokenizerThaiTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.th with parameters of type AttributeFactory Constructor Description ThaiTokenizer(AttributeFactory factory)Creates a new ThaiTokenizer, supplying the AttributeFactory -
Uses of AttributeFactory in org.apache.lucene.analysis.util
Methods in org.apache.lucene.analysis.util with parameters of type AttributeFactory Modifier and Type Method Description abstract TokenizerTokenizerFactory. create(AttributeFactory factory)Creates a TokenStream of the specified input using the given AttributeFactorystatic CharTokenizerCharTokenizer. fromSeparatorCharPredicate(AttributeFactory factory, java.util.function.IntPredicate separatorCharPredicate)Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.static CharTokenizerCharTokenizer. fromTokenCharPredicate(AttributeFactory factory, java.util.function.IntPredicate tokenCharPredicate)Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.Constructors in org.apache.lucene.analysis.util with parameters of type AttributeFactory Constructor Description CharTokenizer(AttributeFactory factory)Creates a newCharTokenizerinstanceCharTokenizer(AttributeFactory factory, int maxTokenLen)Creates a newCharTokenizerinstanceSegmentingTokenizerBase(AttributeFactory factory, java.text.BreakIterator iterator)Construct a new SegmenterBase, also supplying the AttributeFactory -
Uses of AttributeFactory in org.apache.lucene.analysis.wikipedia
Methods in org.apache.lucene.analysis.wikipedia with parameters of type AttributeFactory Modifier and Type Method Description WikipediaTokenizerWikipediaTokenizerFactory. create(AttributeFactory factory)Constructors in org.apache.lucene.analysis.wikipedia with parameters of type AttributeFactory Constructor Description WikipediaTokenizer(AttributeFactory factory, int tokenOutput, java.util.Set<java.lang.String> untokenizedTypes)Creates a new instance of theWikipediaTokenizer. -
Uses of AttributeFactory in org.apache.lucene.collation
Subclasses of AttributeFactory in org.apache.lucene.collation Modifier and Type Class Description classCollationAttributeFactoryConverts each token into itsCollationKey, and then encodes the bytes as an index term.classICUCollationAttributeFactoryConverts each token into itsCollationKey, and then encodes bytes as an index term.Methods in org.apache.lucene.collation that return AttributeFactory Modifier and Type Method Description protected AttributeFactoryCollationKeyAnalyzer. attributeFactory(java.lang.String fieldName)Constructors in org.apache.lucene.collation with parameters of type AttributeFactory Constructor Description CollationAttributeFactory(AttributeFactory delegate, java.text.Collator collator)Create a CollationAttributeFactory, using the supplied Attribute Factory as the factory for all other attributes.ICUCollationAttributeFactory(AttributeFactory delegate, com.ibm.icu.text.Collator collator)Create an ICUCollationAttributeFactory, using the supplied Attribute Factory as the factory for all other attributes. -
Uses of AttributeFactory in org.apache.lucene.util
Subclasses of AttributeFactory in org.apache.lucene.util Modifier and Type Class Description private static classAttributeFactory.DefaultAttributeFactorystatic classAttributeFactory.StaticImplementationAttributeFactory<A extends AttributeImpl>Expert: AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Fields in org.apache.lucene.util declared as AttributeFactory Modifier and Type Field Description static AttributeFactoryAttributeFactory. DEFAULT_ATTRIBUTE_FACTORYThis is the default factory that createsAttributeImpls using the class name of the suppliedAttributeinterface class by appendingImplto it.private AttributeFactoryAttributeFactory.StaticImplementationAttributeFactory. delegateprivate AttributeFactoryAttributeSource. factoryMethods in org.apache.lucene.util that return AttributeFactory Modifier and Type Method Description AttributeFactoryAttributeSource. getAttributeFactory()returns the used AttributeFactory.static <A extends AttributeImpl>
AttributeFactoryAttributeFactory. getStaticImplementation(AttributeFactory delegate, java.lang.Class<A> clazz)Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Methods in org.apache.lucene.util with parameters of type AttributeFactory Modifier and Type Method Description static <A extends AttributeImpl>
AttributeFactoryAttributeFactory. getStaticImplementation(AttributeFactory delegate, java.lang.Class<A> clazz)Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Constructors in org.apache.lucene.util with parameters of type AttributeFactory Constructor Description AttributeSource(AttributeFactory factory)An AttributeSource using the suppliedAttributeFactoryfor creating newAttributeinstances.StaticImplementationAttributeFactory(AttributeFactory delegate, java.lang.Class<A> clazz)Expert: Creates an AttributeFactory returningclazzas instance for the attributes it implements and for all other attributes calls the given delegate factory.
-