Uses of Class
org.apache.lucene.util.IntsRef
-
Packages that use IntsRef Package Description org.apache.lucene.analysis.hunspell Stemming TokenFilter using a Java implementation of the Hunspell stemming algorithm.org.apache.lucene.analysis.ja Analyzer for Japanese.org.apache.lucene.analysis.ja.dict Kuromoji dictionary implementation.org.apache.lucene.analysis.ko Analyzer for Korean.org.apache.lucene.analysis.ko.dict Korean dictionary implementation.org.apache.lucene.codecs.blocktreeords Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.org.apache.lucene.search.spell Suggest alternate spellings for words.org.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.util Some utility classes.org.apache.lucene.util.automaton Finite-state automaton for regular expressions.org.apache.lucene.util.fst Finite state transducersorg.apache.lucene.util.graph Utility classes for working with token streams as graphs. -
-
Uses of IntsRef in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell with type parameters of type IntsRef Modifier and Type Field Description (package private) FST<IntsRef>Dictionary. prefixes(package private) FST<IntsRef>Dictionary. suffixes(package private) FST<IntsRef>Dictionary. wordsMethods in org.apache.lucene.analysis.hunspell that return IntsRef Modifier and Type Method Description (package private) IntsRefDictionary. lookup(FST<IntsRef> fst, char[] word, int offset, int length)(package private) IntsRefDictionary. lookupPrefix(char[] word, int offset, int length)(package private) IntsRefDictionary. lookupSuffix(char[] word, int offset, int length)(package private) IntsRefDictionary. lookupWord(char[] word, int offset, int length)Looks up Hunspell word forms from the dictionaryMethods in org.apache.lucene.analysis.hunspell that return types with arguments of type IntsRef Modifier and Type Method Description private FST<IntsRef>Dictionary. affixFST(java.util.TreeMap<java.lang.String,java.util.List<java.lang.Integer>> affixes)Methods in org.apache.lucene.analysis.hunspell with parameters of type IntsRef Modifier and Type Method Description private CharsRefStemmer. newStem(char[] buffer, int length, IntsRef forms, int formID)Method parameters in org.apache.lucene.analysis.hunspell with type arguments of type IntsRef Modifier and Type Method Description (package private) IntsRefDictionary. lookup(FST<IntsRef> fst, char[] word, int offset, int length)private voidDictionary. readDictionaryFiles(Directory tempDir, java.lang.String tempFileNamePrefix, java.util.List<java.io.InputStream> dictionaries, java.nio.charset.CharsetDecoder decoder, Builder<IntsRef> words)Reads the dictionary file through the provided InputStreams, building up the words map -
Uses of IntsRef in org.apache.lucene.analysis.ja
Fields in org.apache.lucene.analysis.ja declared as IntsRef Modifier and Type Field Description private IntsRefJapaneseTokenizer. wordIdRef -
Uses of IntsRef in org.apache.lucene.analysis.ja.dict
Methods in org.apache.lucene.analysis.ja.dict with parameters of type IntsRef Modifier and Type Method Description voidBinaryDictionary. lookupWordIds(int sourceId, IntsRef ref) -
Uses of IntsRef in org.apache.lucene.analysis.ko
Fields in org.apache.lucene.analysis.ko declared as IntsRef Modifier and Type Field Description private IntsRefKoreanTokenizer. wordIdRef -
Uses of IntsRef in org.apache.lucene.analysis.ko.dict
Methods in org.apache.lucene.analysis.ko.dict with parameters of type IntsRef Modifier and Type Method Description voidBinaryDictionary. lookupWordIds(int sourceId, IntsRef ref) -
Uses of IntsRef in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as IntsRef Modifier and Type Field Description IntsRefOrdsSegmentTermsEnum.InputOutput. input -
Uses of IntsRef in org.apache.lucene.search.spell
Methods in org.apache.lucene.search.spell that return IntsRef Modifier and Type Method Description private static IntsRefLuceneLevenshteinDistance. toIntsRef(java.lang.String s) -
Uses of IntsRef in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document with type parameters of type IntsRef Modifier and Type Field Description private java.util.Map<IntsRef,java.lang.Float>ContextQuery.ContextCompletionWeight. contextMapprivate java.util.Map<IntsRef,ContextQuery.ContextMetaData>ContextQuery. contextsprivate java.util.Set<IntsRef>FuzzyCompletionQuery.FuzzyCompletionWeight. refsMethods in org.apache.lucene.search.suggest.document with parameters of type IntsRef Modifier and Type Method Description private voidContextQuery.ContextCompletionWeight. setInnerWeight(IntsRef ref, int offset)protected voidCompletionWeight. setNextMatch(IntsRef pathPrefix)Set for every partial path in the index that matched the query automaton.protected voidContextQuery.ContextCompletionWeight. setNextMatch(IntsRef pathPrefix)protected voidFuzzyCompletionQuery.FuzzyCompletionWeight. setNextMatch(IntsRef pathPrefix)Method parameters in org.apache.lucene.search.suggest.document with type arguments of type IntsRef Modifier and Type Method Description private static AutomatonContextQuery. toContextAutomaton(java.util.Map<IntsRef,ContextQuery.ContextMetaData> contexts, boolean matchAllContexts)private AutomatonFuzzyCompletionQuery. toLevenshteinAutomata(Automaton automaton, java.util.Set<IntsRef> refs)Constructor parameters in org.apache.lucene.search.suggest.document with type arguments of type IntsRef Constructor Description ContextCompletionWeight(CompletionQuery query, Automaton automaton, CompletionWeight innerWeight, java.util.Map<IntsRef,java.lang.Float> contextMap, int[] contextLengths)FuzzyCompletionWeight(CompletionQuery query, Automaton automaton, java.util.Set<IntsRef> refs) -
Uses of IntsRef in org.apache.lucene.util
Fields in org.apache.lucene.util declared as IntsRef Modifier and Type Field Description private IntsRefIntsRefBuilder. refMethods in org.apache.lucene.util that return IntsRef Modifier and Type Method Description IntsRefIntsRef. clone()Returns a shallow clone of this instance (the underlying ints are not copied and will be shared by both the returned object and this object.static IntsRefIntsRef. deepCopyOf(IntsRef other)Creates a new IntsRef that points to a copy of the ints fromotherIntsRefIntsRefBuilder. get()Return aIntsRefthat points to the internal content of this builder.IntsRefIntsRefBuilder. toIntsRef()Build a newCharsRefthat has the same content as this builder.Methods in org.apache.lucene.util with parameters of type IntsRef Modifier and Type Method Description intIntsRef. compareTo(IntsRef other)Signed int order comparisonvoidIntsRefBuilder. copyInts(IntsRef ints)Copies the given array into this instance.static IntsRefIntsRef. deepCopyOf(IntsRef other)Creates a new IntsRef that points to a copy of the ints fromotherbooleanIntsRef. intsEquals(IntsRef other)static BytesRefStringHelper. intsRefToBytesRef(IntsRef ints) -
Uses of IntsRef in org.apache.lucene.util.automaton
Fields in org.apache.lucene.util.automaton declared as IntsRef Modifier and Type Field Description private static IntsRefFiniteStringsIterator. EMPTYEmpty string.Methods in org.apache.lucene.util.automaton that return IntsRef Modifier and Type Method Description static IntsRefOperations. getSingleton(Automaton a)If this automaton accepts a single input, return it.IntsRefFiniteStringsIterator. next()Generate next finite string.IntsRefLimitedFiniteStringsIterator. next()Methods in org.apache.lucene.util.automaton with parameters of type IntsRef Modifier and Type Method Description static booleanOperations. run(Automaton a, IntsRef s)Returns true if the given string (expressed as unicode codepoints) is accepted by the automaton. -
Uses of IntsRef in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IntsRef Modifier and Type Field Description private IntsRefIntsRefFSTEnum. currentIntsRefIntsRefFSTEnum.InputOutput. inputIntsRefUtil.Result. inputprivate static IntsRefIntSequenceOutputs. NO_OUTPUTprivate IntsRefIntsRefFSTEnum. targetMethods in org.apache.lucene.util.fst that return IntsRef Modifier and Type Method Description IntsRefIntSequenceOutputs. add(IntsRef prefix, IntsRef output)IntsRefIntSequenceOutputs. common(IntsRef output1, IntsRef output2)static IntsRefUtil. getByOutput(FST<java.lang.Long> fst, long targetOutput)Deprecated.static IntsRefUtil. getByOutput(FST<java.lang.Long> fst, long targetOutput, FST.BytesReader in, FST.Arc<java.lang.Long> arc, FST.Arc<java.lang.Long> scratchArc, IntsRefBuilder result)Deprecated.IntsRefIntSequenceOutputs. getNoOutput()IntsRefIntSequenceOutputs. read(DataInput in)IntsRefIntSequenceOutputs. subtract(IntsRef output, IntsRef inc)static IntsRefUtil. toIntsRef(BytesRef input, IntsRefBuilder scratch)Just takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRefUtil. toUTF16(java.lang.CharSequence s, IntsRefBuilder scratch)Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRefUtil. toUTF32(char[] s, int offset, int length, IntsRefBuilder scratch)Decodes the Unicode codepoints from the provided char[] and places them in the provided scratch IntsRef, which must not be null, returning it.static IntsRefUtil. toUTF32(java.lang.CharSequence s, IntsRefBuilder scratch)Decodes the Unicode codepoints from the provided CharSequence and places them in the provided scratch IntsRef, which must not be null, returning it.Methods in org.apache.lucene.util.fst with parameters of type IntsRef Modifier and Type Method Description protected booleanUtil.TopNSearcher. acceptResult(IntsRef input, T output)voidBuilder. add(IntsRef input, T output)Add the next input/output pair.IntsRefIntSequenceOutputs. add(IntsRef prefix, IntsRef output)IntsRefIntSequenceOutputs. common(IntsRef output1, IntsRef output2)static <T> TUtil. get(FST<T> fst, IntsRef input)Looks up the output for this input, or null if the input is not accepted.java.lang.StringIntSequenceOutputs. outputToString(IntsRef output)longIntSequenceOutputs. ramBytesUsed(IntsRef output)IntsRefFSTEnum.InputOutput<T>IntsRefFSTEnum. seekCeil(IntsRef target)Seeks to smallest term that's >= target.IntsRefFSTEnum.InputOutput<T>IntsRefFSTEnum. seekExact(IntsRef target)Seeks to exactly this term, returning null if the term doesn't exist.IntsRefFSTEnum.InputOutput<T>IntsRefFSTEnum. seekFloor(IntsRef target)Seeks to biggest term that's <= target.IntsRefIntSequenceOutputs. subtract(IntsRef output, IntsRef inc)static BytesRefUtil. toBytesRef(IntsRef input, BytesRefBuilder scratch)Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.voidIntSequenceOutputs. write(IntsRef prefix, DataOutput out)Constructors in org.apache.lucene.util.fst with parameters of type IntsRef Constructor Description Result(IntsRef input, T output) -
Uses of IntsRef in org.apache.lucene.util.graph
Fields in org.apache.lucene.util.graph declared as IntsRef Modifier and Type Field Description private IntsRefGraphTokenStreamFiniteStrings.FiniteStringsTokenStream. idsConstructors in org.apache.lucene.util.graph with parameters of type IntsRef Constructor Description FiniteStringsTokenStream(IntsRef ids)
-