Uses of Class
org.apache.lucene.util.CharsRef
-
Packages that use CharsRef Package Description org.apache.lucene.analysis.charfilter Normalization of text before the tokenizer.org.apache.lucene.analysis.hunspell A Java implementation of Hunspell stemming and spell-checking algorithms (Hunspell), and a stemming TokenFilter (HunspellStemFilter) based on it.org.apache.lucene.analysis.ja.completion Utilities forJapaneseCompletionFilterorg.apache.lucene.analysis.synonym Analysis components for Synonyms.org.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.org.apache.lucene.util Some utility classes.org.apache.lucene.util.automaton Finite-state automaton for regular expressions.org.apache.lucene.util.fst Finite state transducers -
-
Uses of CharsRef in org.apache.lucene.analysis.charfilter
Fields in org.apache.lucene.analysis.charfilter declared as CharsRef Modifier and Type Field Description private CharsRefMappingCharFilter. replacementFields in org.apache.lucene.analysis.charfilter with type parameters of type CharsRef Modifier and Type Field Description private java.util.Map<java.lang.Character,FST.Arc<CharsRef>>MappingCharFilter. cachedRootArcs(package private) java.util.Map<java.lang.Character,FST.Arc<CharsRef>>NormalizeCharMap. cachedRootArcsprivate FST<CharsRef>MappingCharFilter. map(package private) FST<CharsRef>NormalizeCharMap. mapprivate Outputs<CharsRef>MappingCharFilter. outputsprivate FST.Arc<CharsRef>MappingCharFilter. scratchArcConstructor parameters in org.apache.lucene.analysis.charfilter with type arguments of type CharsRef Constructor Description NormalizeCharMap(FST<CharsRef> map) -
Uses of CharsRef in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell declared as CharsRef Modifier and Type Field Description (package private) CharsRefHunspell.CompoundPart. tailFields in org.apache.lucene.analysis.hunspell with type parameters of type CharsRef Modifier and Type Field Description private java.util.List<CharsRef>HunspellStemFilter. bufferprivate FST<CharsRef>ConvTable. fst(package private) static java.util.Comparator<CharsRef>HunspellStemFilter. lengthComparator(package private) Root<CharsRef>Hunspell.CompoundPart. rootMethods in org.apache.lucene.analysis.hunspell that return CharsRef Modifier and Type Method Description (package private) CharsRefCheckCompoundPattern. expandReplacement(CharsRef word, int breakPos)private CharsRefStemmer. newStem(CharsRef stem, int morphDataId)Methods in org.apache.lucene.analysis.hunspell that return types with arguments of type CharsRef Modifier and Type Method Description private Root<CharsRef>Hunspell. findStem(char[] wordChars, int offset, int length, WordCase originalCase, WordContext context)java.util.List<CharsRef>Stemmer. stem(char[] word, int length)Find the stem(s) of the provided wordjava.util.List<CharsRef>Stemmer. stem(java.lang.String word)Find the stem(s) of the provided word.java.util.List<CharsRef>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 CharsRef Modifier and Type Method Description private booleanHunspell. acceptCase(WordCase originalCase, int entryId, CharsRef root)private static booleanCheckCompoundPattern. charsMatch(CharsRef word, int offset, java.lang.CharSequence pattern)private booleanHunspell. checkCompoundPatternReplacements(CharsRef word, int pos, WordCase originalCase, Hunspell.CompoundPart prev)private booleanHunspell. checkCompounds(CharsRef word, WordCase originalCase, Hunspell.CompoundPart prev)(package private) CharsRefCheckCompoundPattern. expandReplacement(CharsRef word, int breakPos)private CharsRefStemmer. newStem(CharsRef stem, int morphDataId)(package private) intTrigramAutomaton. ngramScore(CharsRef s2)booleanStemmer.RootProcessor. processRoot(CharsRef stem, int formID, int morphDataId)(package private) booleanCheckCompoundPattern. prohibitsCompounding(CharsRef word, int breakPos, Root<?> rootBefore, Root<?> rootAfter)Method parameters in org.apache.lucene.analysis.hunspell with type arguments of type CharsRef Modifier and Type Method Description (package private) booleanHunspell.CompoundPart. mayCompound(Root<CharsRef> nextRoot, int nextPartLength, WordCase originalCase)(package private) voidWordStorage. processAllWords(int minLength, int maxLength, java.util.function.BiConsumer<CharsRef,IntsRef> processor)Calls the processor for every dictionary entry with length between minLength and maxLength, both ends inclusive.Constructors in org.apache.lucene.analysis.hunspell with parameters of type CharsRef Constructor Description 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 CharsRef Constructor Description 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 CharsRef Modifier and Type Field Description private CharsRef[][]KatakanaRomanizer. keystrokesFields in org.apache.lucene.analysis.ja.completion with type parameters of type CharsRef Modifier and Type Field Description private java.util.Map<CharsRef,java.util.List<CharsRef>>KatakanaRomanizer. romajiMapprivate java.util.Map<CharsRef,java.util.List<CharsRef>>KatakanaRomanizer. romajiMapMethods in org.apache.lucene.analysis.ja.completion that return types with arguments of type CharsRef Modifier and Type Method Description java.util.List<CharsRef>KatakanaRomanizer. romanize(CharsRef input)Translates a sequence of katakana to romaji.Methods in org.apache.lucene.analysis.ja.completion with parameters of type CharsRef Modifier and Type Method Description private KatakanaRomanizer.MatchedKeystrokeKatakanaRomanizer. longestKeystrokeMatch(CharsRef input, int inputOffset)java.util.List<CharsRef>KatakanaRomanizer. romanize(CharsRef input)Translates a sequence of katakana to romaji.Constructors in org.apache.lucene.analysis.ja.completion with parameters of type CharsRef Constructor Description KatakanaRomanizer(CharsRef[][] keystrokes, java.util.Map<CharsRef,java.util.List<CharsRef>> romajiMap)Constructor parameters in org.apache.lucene.analysis.ja.completion with type arguments of type CharsRef Constructor Description KatakanaRomanizer(CharsRef[][] keystrokes, java.util.Map<CharsRef,java.util.List<CharsRef>> romajiMap)KatakanaRomanizer(CharsRef[][] keystrokes, java.util.Map<CharsRef,java.util.List<CharsRef>> romajiMap) -
Uses of CharsRef in org.apache.lucene.analysis.synonym
Fields in org.apache.lucene.analysis.synonym with type parameters of type CharsRef Modifier and Type Field Description private java.util.HashMap<CharsRef,SynonymMap.Builder.MapEntry>SynonymMap.Builder. workingSetMethods in org.apache.lucene.analysis.synonym that return CharsRef Modifier and Type Method Description CharsRefSynonymMap.Parser. analyze(java.lang.String text, CharsRefBuilder reuse)Sugar: analyzes the text with the analyzer and separates bySynonymMap.WORD_SEPARATOR.static CharsRefSynonymMap.Builder. join(java.lang.String[] words, CharsRefBuilder reuse)Sugar: just joins the provided terms withSynonymMap.WORD_SEPARATOR.private CharsRefWordnetSynonymParser. parseSynonym(java.lang.String line, CharsRefBuilder reuse)CharsRefSynonymFilter.PendingOutputs. pullNext()Methods in org.apache.lucene.analysis.synonym with parameters of type CharsRef Modifier and Type Method Description private voidSynonymMap.Builder. add(CharsRef input, int numInputWords, CharsRef output, int numOutputWords, boolean includeOrig)voidSynonymMap.Builder. add(CharsRef input, CharsRef output, boolean includeOrig)Add a phrase->phrase synonym mapping.private voidWordnetSynonymParser. addInternal(CharsRef[] synset, int size)private intSynonymMap.Builder. countWords(CharsRef chars)private booleanSynonymMap.Builder. hasHoles(CharsRef chars)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 Modifier and Type Method Description default booleanCharArrayMatcher. match(CharsRef chars)Returntrueif the passed-in CharsRef matches -
Uses of CharsRef in org.apache.lucene.util
Fields in org.apache.lucene.util declared as CharsRef Modifier and Type Field Description private CharsRefCharsRefBuilder. refFields in org.apache.lucene.util with type parameters of type CharsRef Modifier and Type Field Description private static java.util.Comparator<CharsRef>CharsRef. utf16SortedAsUTF8SortOrderDeprecated.This comparator is only a transition mechanismMethods in org.apache.lucene.util that return CharsRef Modifier and Type Method Description CharsRefCharsRef. 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 fromotherCharsRefCharsRefBuilder. get()Return aCharsRefthat points to the internal content of this builder.CharsRefCharsRefBuilder. toCharsRef()Build a newCharsRefthat has the same content as this builder.Methods in org.apache.lucene.util that return types with arguments of type CharsRef Modifier and Type Method Description static java.util.Comparator<CharsRef>CharsRef. getUTF16SortedAsUTF8Comparator()Deprecated.This comparator is only a transition mechanismMethods in org.apache.lucene.util with parameters of type CharsRef Modifier and Type Method Description booleanCharsRef. charsEquals(CharsRef other)intCharsRef.UTF16SortedAsUTF8Comparator. compare(CharsRef a, CharsRef b)Deprecated.intCharsRef. compareTo(CharsRef other)Signed int order comparisonvoidCharsRefBuilder. copyChars(CharsRef other)Copies 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 CharsRef Modifier and Type Field Description private CharsRefDaciukMihovAutomatonBuilder. previousPrevious sequence added to the automaton inDaciukMihovAutomatonBuilder.add(CharsRef).Fields in org.apache.lucene.util.automaton with type parameters of type CharsRef Modifier and Type Field Description private static java.util.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 CharsRef Modifier and Type Method Description voidDaciukMihovAutomatonBuilder. add(CharsRef current)Add 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 CharsRef Modifier and Type Field Description private static CharsRefCharSequenceOutputs. NO_OUTPUTMethods in org.apache.lucene.util.fst that return CharsRef Modifier and Type Method Description CharsRefCharSequenceOutputs. add(CharsRef prefix, CharsRef output)CharsRefCharSequenceOutputs. common(CharsRef output1, CharsRef output2)CharsRefCharSequenceOutputs. getNoOutput()CharsRefCharSequenceOutputs. read(DataInput in)CharsRefCharSequenceOutputs. subtract(CharsRef output, CharsRef inc)Methods in org.apache.lucene.util.fst with parameters of type CharsRef Modifier and Type Method Description CharsRefCharSequenceOutputs. add(CharsRef prefix, CharsRef output)CharsRefCharSequenceOutputs. common(CharsRef output1, CharsRef output2)java.lang.StringCharSequenceOutputs. outputToString(CharsRef output)longCharSequenceOutputs. ramBytesUsed(CharsRef output)CharsRefCharSequenceOutputs. subtract(CharsRef output, CharsRef inc)voidCharSequenceOutputs. write(CharsRef prefix, DataOutput out)
-