Uses of Class
org.apache.lucene.util.CharsRef
Packages that use CharsRef
Package
Description
Normalization of text before the tokenizer.
Stemming TokenFilter using a Java implementation of the
Hunspell stemming algorithm.
Analysis components for Synonyms.
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
Some utility classes.
Finite-state automaton for regular expressions.
Finite state transducers
-
Uses of CharsRef in org.apache.lucene.analysis.charfilter
Fields in org.apache.lucene.analysis.charfilter declared as CharsRefFields in org.apache.lucene.analysis.charfilter with type parameters of type CharsRefModifier and TypeFieldDescriptionMappingCharFilter.cachedRootArcsNormalizeCharMap.cachedRootArcsMappingCharFilter.mapNormalizeCharMap.mapMappingCharFilter.outputsMappingCharFilter.scratchArcConstructor parameters in org.apache.lucene.analysis.charfilter with type arguments of type CharsRef -
Uses of CharsRef in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell with type parameters of type CharsRefModifier and TypeFieldDescriptionHunspellStemFilter.bufferDictionary.iconv(package private) static final Comparator<CharsRef> HunspellStemFilter.lengthComparatorDictionary.oconvMethods in org.apache.lucene.analysis.hunspell that return CharsRefMethods in org.apache.lucene.analysis.hunspell that return types with arguments of type CharsRefModifier and TypeMethodDescriptionStemmer.applyAffix(char[] strippedWord, int length, int affix, int prefixFlag, int recursionDepth, boolean prefix, boolean circumfix, boolean caseVariant) Applies the affix rule to the given word, producing a list of stems if any are foundStemmer.doStem(char[] word, int length, boolean caseVariant) Dictionary.parseConversions(LineNumberReader reader, int num) Stemmer.stem(char[] word, int length) Find the stem(s) of the provided wordStemmer.stem(char[] word, int length, int previous, int prevFlag, int prefixFlag, int recursionDepth, boolean doPrefix, boolean doSuffix, boolean previousWasPrefix, boolean circumfix, boolean caseVariant) Generates a list of stems for the provided wordFind the stem(s) of the provided word.Stemmer.uniqueStems(char[] word, int length) Find the unique stem(s) of the provided wordMethod parameters in org.apache.lucene.analysis.hunspell with type arguments of type CharsRefModifier and TypeMethodDescription(package private) static voidDictionary.applyMappings(FST<CharsRef> fst, StringBuilder sb) -
Uses of CharsRef in org.apache.lucene.analysis.synonym
Fields in org.apache.lucene.analysis.synonym with type parameters of type CharsRefModifier and TypeFieldDescriptionprivate final HashMap<CharsRef, SynonymMap.Builder.MapEntry> SynonymMap.Builder.workingSetMethods in org.apache.lucene.analysis.synonym that return CharsRefModifier and TypeMethodDescriptionSynonymMap.Parser.analyze(String text, CharsRefBuilder reuse) Sugar: analyzes the text with the analyzer and separates bySynonymMap.WORD_SEPARATOR.static CharsRefSynonymMap.Builder.join(String[] words, CharsRefBuilder reuse) Sugar: just joins the provided terms withSynonymMap.WORD_SEPARATOR.private CharsRefWordnetSynonymParser.parseSynonym(String line, CharsRefBuilder reuse) SynonymFilter.PendingOutputs.pullNext()Methods in org.apache.lucene.analysis.synonym with parameters of type CharsRefModifier and TypeMethodDescriptionprivate voidSynonymMap.Builder.add(CharsRef input, int numInputWords, CharsRef output, int numOutputWords, boolean includeOrig) voidAdd a phrase->phrase synonym mapping.private voidWordnetSynonymParser.addInternal(CharsRef[] synset, int size) private intSynonymMap.Builder.countWords(CharsRef chars) private booleanonly used for asserting! -
Uses of CharsRef in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight with parameters of type CharsRef -
Uses of CharsRef in org.apache.lucene.util
Fields in org.apache.lucene.util declared as CharsRefFields in org.apache.lucene.util with type parameters of type CharsRefModifier and TypeFieldDescriptionprivate static final Comparator<CharsRef> CharsRef.utf16SortedAsUTF8SortOrderDeprecated.This comparator is only a transition mechanismMethods in org.apache.lucene.util that return CharsRefModifier and TypeMethodDescriptionCharsRef.clone()Returns a shallow clone of this instance (the underlying characters are not copied and will be shared by both the returned object and this object.static CharsRefCharsRef.deepCopyOf(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromotherCharsRefBuilder.get()Return aCharsRefthat points to the internal content of this builder.CharsRefBuilder.toCharsRef()Build a newCharsRefthat has the same content as this builder.Methods in org.apache.lucene.util that return types with arguments of type CharsRefModifier and TypeMethodDescriptionstatic Comparator<CharsRef> CharsRef.getUTF16SortedAsUTF8Comparator()Deprecated.This comparator is only a transition mechanismMethods in org.apache.lucene.util with parameters of type CharsRefModifier and TypeMethodDescriptionbooleanCharsRef.charsEquals(CharsRef other) intDeprecated.intSigned int order comparisonvoidCopies the givenCharsRefreferenced content into this instance.static CharsRefCharsRef.deepCopyOf(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromother -
Uses of CharsRef in org.apache.lucene.util.automaton
Fields in org.apache.lucene.util.automaton declared as CharsRefModifier and TypeFieldDescriptionprivate CharsRefDaciukMihovAutomatonBuilder.previousPrevious sequence added to the automaton inDaciukMihovAutomatonBuilder.add(CharsRef).Fields in org.apache.lucene.util.automaton with type parameters of type CharsRefModifier and TypeFieldDescriptionprivate static final Comparator<CharsRef> DaciukMihovAutomatonBuilder.comparatorA comparator used for enforcing sorted UTF8 order, used in assertions only.Methods in org.apache.lucene.util.automaton with parameters of type CharsRefModifier and TypeMethodDescriptionvoidAdd another character sequence to this automaton.private booleanDaciukMihovAutomatonBuilder.setPrevious(CharsRef current) Copycurrentinto an internal buffer. -
Uses of CharsRef in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as CharsRefMethods in org.apache.lucene.util.fst that return CharsRefMethods in org.apache.lucene.util.fst with parameters of type CharsRefModifier and TypeMethodDescriptionCharSequenceOutputs.outputToString(CharsRef output) longCharSequenceOutputs.ramBytesUsed(CharsRef output) voidCharSequenceOutputs.write(CharsRef prefix, DataOutput out)