Uses of Class
org.apache.lucene.util.CharsRef
Packages that use CharsRef
Package
Description
Normalization of text before the tokenizer.
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell
), and a stemming
TokenFilter (HunspellStemFilter
) based on it.Utilities for
JapaneseCompletionFilter
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.cachedRootArcs
NormalizeCharMap.cachedRootArcs
MappingCharFilter.map
NormalizeCharMap.map
MappingCharFilter.outputs
MappingCharFilter.scratchArc
Constructor 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 declared as CharsRefFields in org.apache.lucene.analysis.hunspell with type parameters of type CharsRefModifier and TypeFieldDescriptionHunspellStemFilter.buffer
ConvTable.fst
(package private) static final Comparator<CharsRef>
HunspellStemFilter.lengthComparator
Hunspell.CompoundPart.root
Methods in org.apache.lucene.analysis.hunspell that return CharsRefModifier and TypeMethodDescription(package private) CharsRef
CheckCompoundPattern.expandReplacement
(CharsRef word, int breakPos) private CharsRef
Methods in org.apache.lucene.analysis.hunspell that return types with arguments of type CharsRefModifier and TypeMethodDescriptionHunspell.findStem
(char[] wordChars, int offset, int length, WordCase originalCase, WordContext context) Stemmer.stem
(char[] word, int length) Find the stem(s) of the provided wordFind the stem(s) of the provided word.Stemmer.uniqueStems
(char[] word, int length) Find the unique stem(s) of the provided wordMethods in org.apache.lucene.analysis.hunspell with parameters of type CharsRefModifier and TypeMethodDescriptionprivate boolean
Hunspell.acceptCase
(WordCase originalCase, int entryId, CharsRef root) private static boolean
CheckCompoundPattern.charsMatch
(CharsRef word, int offset, CharSequence pattern) private boolean
Hunspell.checkCompoundPatternReplacements
(CharsRef word, int pos, WordCase originalCase, Hunspell.CompoundPart prev) private boolean
Hunspell.checkCompounds
(CharsRef word, WordCase originalCase, Hunspell.CompoundPart prev) (package private) CharsRef
CheckCompoundPattern.expandReplacement
(CharsRef word, int breakPos) private CharsRef
(package private) int
TrigramAutomaton.ngramScore
(CharsRef s2) boolean
Stemmer.RootProcessor.processRoot
(CharsRef stem, int formID, int morphDataId, int outerPrefix, int innerPrefix, int outerSuffix, int innerSuffix) (package private) boolean
CheckCompoundPattern.prohibitsCompounding
(CharsRef word, int breakPos, Root<?> rootBefore, Root<?> rootAfter) Method parameters in org.apache.lucene.analysis.hunspell with type arguments of type CharsRefModifier and TypeMethodDescription(package private) boolean
Hunspell.CompoundPart.mayCompound
(Root<CharsRef> nextRoot, int nextPartLength, WordCase originalCase) (package private) void
WordStorage.processAllWords
(int minLength, int maxLength, boolean suggestibleOnly, BiConsumer<CharsRef, Supplier<IntsRef>> processor) private void
GeneratingSuggester.processSuggestibleWords
(int minLength, int maxLength, BiConsumer<CharsRef, Supplier<IntsRef>> processor) (package private) void
SuggestibleEntryCache.processSuggestibleWords
(int minLength, int maxLength, BiConsumer<CharsRef, Supplier<IntsRef>> processor) (package private) void
WordStorage.processSuggestibleWords
(int minLength, int maxLength, BiConsumer<CharsRef, Supplier<IntsRef>> processor) Calls the processor for every dictionary entry with length between minLength and maxLength, both ends inclusive, and at least one suggestible alternative (without NOSUGGEST, FORBIDDENWORD or ONLYINCOMPOUND flags).Constructors in org.apache.lucene.analysis.hunspell with parameters of type CharsRefModifierConstructorDescription(package private)
CompoundPart
(Hunspell.CompoundPart prev, CharsRef tail, int length, Root<CharsRef> root, CheckCompoundPattern enabler) Constructor parameters in org.apache.lucene.analysis.hunspell with type arguments of type CharsRefModifierConstructorDescription(package private)
CompoundPart
(Hunspell.CompoundPart prev, CharsRef tail, int length, Root<CharsRef> root, CheckCompoundPattern enabler) -
Uses of CharsRef in org.apache.lucene.analysis.ja.completion
Fields in org.apache.lucene.analysis.ja.completion declared as CharsRefFields in org.apache.lucene.analysis.ja.completion with type parameters of type CharsRefMethods in org.apache.lucene.analysis.ja.completion that return types with arguments of type CharsRefModifier and TypeMethodDescriptionTranslates a sequence of katakana to romaji.Methods in org.apache.lucene.analysis.ja.completion with parameters of type CharsRefModifier and TypeMethodDescriptionKatakanaRomanizer.longestKeystrokeMatch
(CharsRef input, int inputOffset) Translates a sequence of katakana to romaji.Constructors in org.apache.lucene.analysis.ja.completion with parameters of type CharsRefModifierConstructorDescriptionprivate
Constructor parameters in org.apache.lucene.analysis.ja.completion with type arguments of type CharsRef -
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.workingSet
Methods 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 CharsRef
SynonymMap.Builder.join
(String[] words, CharsRefBuilder reuse) Sugar: just joins the provided terms withSynonymMap.WORD_SEPARATOR
.private CharsRef
WordnetSynonymParser.parseSynonym
(String line, CharsRefBuilder reuse) SynonymFilter.PendingOutputs.pullNext()
Methods in org.apache.lucene.analysis.synonym with parameters of type CharsRefModifier and TypeMethodDescriptionprivate void
SynonymMap.Builder.add
(CharsRef input, int numInputWords, CharsRef output, int numOutputWords, boolean includeOrig) void
Add a phrase->phrase synonym mapping.private void
WordnetSynonymParser.addInternal
(CharsRef[] synset, int size) private int
SynonymMap.Builder.countWords
(CharsRef chars) private boolean
only 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.utf16SortedAsUTF8SortOrder
Deprecated.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 CharsRef
CharsRef.deepCopyOf
(CharsRef other) Creates a new CharsRef that points to a copy of the chars fromother
CharsRefBuilder.get()
Return aCharsRef
that points to the internal content of this builder.CharsRefBuilder.toCharsRef()
Build a newCharsRef
that 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 TypeMethodDescriptionboolean
CharsRef.charsEquals
(CharsRef other) int
Deprecated.int
Signed int order comparisonvoid
Copies the givenCharsRef
referenced content into this instance.static CharsRef
CharsRef.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 CharsRef
DaciukMihovAutomatonBuilder.previous
Previous 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.comparator
A comparator used for enforcing sorted UTF8 order, used in assertions only.Methods in org.apache.lucene.util.automaton with parameters of type CharsRefModifier and TypeMethodDescriptionvoid
Add another character sequence to this automaton.private boolean
DaciukMihovAutomatonBuilder.setPrevious
(CharsRef current) Copycurrent
into 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) long
CharSequenceOutputs.ramBytesUsed
(CharsRef output) void
CharSequenceOutputs.write
(CharsRef prefix, DataOutput out)