Uses of Class
org.apache.lucene.util.IntsRef
Packages that use IntsRef
Package
Description
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell), and a stemming
TokenFilter (HunspellStemFilter) based on it.Analyzer for Japanese.
Kuromoji dictionary implementation.
Analyzer for Korean.
Korean dictionary implementation.
Same postings format as Lucene50, except the terms dictionary also supports ords, i.e.
Code to maintain and access indices.
Misc index tools and index support.
Suggest alternate spellings for words.
Support for document suggestion
Some utility classes.
Finite-state automaton for regular expressions.
Block KD-tree, implementing the generic spatial data structure described in this paper.
Finite state transducers
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 declared as IntsRefFields in org.apache.lucene.analysis.hunspell with type parameters of type IntsRefMethods in org.apache.lucene.analysis.hunspell that return IntsRefModifier and TypeMethodDescriptionWordStorage.LazyFormReader.get()private IntsRef(package private) IntsRefDictionary.lookupPrefix(char[] word) (package private) IntsRefDictionary.lookupSuffix(char[] word) (package private) IntsRefDictionary.lookupWord(char[] word, int offset, int length) Looks up Hunspell word forms from the dictionary(package private) IntsRefWordStorage.lookupWord(char[] word, int offset, int length) (package private) static IntsRefDictionary.nextArc(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) Methods in org.apache.lucene.analysis.hunspell that return types with arguments of type IntsRefMethods in org.apache.lucene.analysis.hunspell with parameters of type IntsRefModifier and TypeMethodDescription(package private) booleanprivate intStemmer.morphDataId(IntsRef forms, int i) (package private) static IntsRefDictionary.nextArc(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) private voidGeneratingSuggester.processAffixIds(int affixLength, IntsRef affixIds, GeneratingSuggester.AffixProcessor processor) private voidWordStorage.readForms(IntsRef forms, ByteArrayDataInput in, int length) private StringMethod parameters in org.apache.lucene.analysis.hunspell with type arguments of type IntsRefModifier and TypeMethodDescriptionprivate booleanHunspell.checkCompoundRules(char[] wordChars, int offset, int length, List<IntsRef> words) private booleanHunspell.checkLastCompoundPart(char[] wordChars, int start, int length, List<IntsRef> words) private voidWordFormGenerator.fillAffixMap(FST<IntsRef> fst, AffixKind kind) (package private) booleanCompoundRule.fullyMatches(List<IntsRef> words) private IntsRefprivate booleanprivate booleanHunspell.mayHaveCompoundRule(List<IntsRef> words) (package private) boolean(package private) static IntsRefDictionary.nextArc(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) (package private) static IntsRefDictionary.nextArc(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) (package private) voidWordStorage.processAllWords(int minLength, int maxLength, boolean suggestibleOnly, BiConsumer<CharsRef, Supplier<IntsRef>> processor) private voidGeneratingSuggester.processSuggestibleWords(int minLength, int maxLength, BiConsumer<CharsRef, Supplier<IntsRef>> processor) (package private) voidSuggestibleEntryCache.processSuggestibleWords(int minLength, int maxLength, BiConsumer<CharsRef, Supplier<IntsRef>> processor) (package private) voidWordStorage.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). -
Uses of IntsRef in org.apache.lucene.analysis.ja
Fields in org.apache.lucene.analysis.ja declared as IntsRef -
Uses of IntsRef in org.apache.lucene.analysis.ja.dict
Methods in org.apache.lucene.analysis.ja.dict with parameters of type IntsRef -
Uses of IntsRef in org.apache.lucene.analysis.ko
Fields in org.apache.lucene.analysis.ko declared as IntsRef -
Uses of IntsRef in org.apache.lucene.analysis.ko.dict
Methods in org.apache.lucene.analysis.ko.dict with parameters of type IntsRef -
Uses of IntsRef in org.apache.lucene.codecs.blocktreeords
Fields in org.apache.lucene.codecs.blocktreeords declared as IntsRef -
Uses of IntsRef in org.apache.lucene.index
Methods in org.apache.lucene.index with parameters of type IntsRefModifier and TypeMethodDescriptiondefault voidSimilar toPointValues.IntersectVisitor.visit(int), but a bulk visit and implements may have their optimizations. -
Uses of IntsRef in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as IntsRefModifier and TypeFieldDescriptionprivate final IntsRefBPIndexReorderer.ForwardIndex.bufferRefprivate final IntsRefBPIndexReorderer.IndexReorderingTask.docIDsMethods in org.apache.lucene.misc.index that return IntsRefModifier and TypeMethodDescription(package private) IntsRefBPIndexReorderer.ForwardIndex.nextTerms()Methods in org.apache.lucene.misc.index with parameters of type IntsRefModifier and TypeMethodDescriptionprivate voidBPIndexReorderer.IndexReorderingTask.computeDocFreqs(IntsRef docs, BPIndexReorderer.ForwardIndex forwardIndex, int[] docFreqs) private booleanBPIndexReorderer.IndexReorderingTask.shuffle(BPIndexReorderer.ForwardIndex forwardIndex, IntsRef docIDs, int midPoint, int[] leftDocFreqs, int[] rightDocFreqs, float[] biases, BitSet parents, int iter) Shuffle doc IDs across both partitions so that each partition has lower gaps between consecutive postings.private static booleanReturns true if, and only if, the givenIntsRefis sorted.Constructors in org.apache.lucene.misc.index with parameters of type IntsRefModifierConstructorDescription(package private)IndexReorderingTask(IntsRef docIDs, float[] biases, CloseableThreadLocal<BPIndexReorderer.PerThreadState> threadLocal, BitSet parents, int depth) -
Uses of IntsRef in org.apache.lucene.search.spell
Methods in org.apache.lucene.search.spell that return IntsRef -
Uses of IntsRef in org.apache.lucene.search.suggest.document
Fields in org.apache.lucene.search.suggest.document with type parameters of type IntsRefModifier and TypeFieldDescriptionContextQuery.ContextCompletionWeight.contextMapprivate Map<IntsRef, ContextQuery.ContextMetaData> ContextQuery.contextsFuzzyCompletionQuery.FuzzyCompletionWeight.refsMethods in org.apache.lucene.search.suggest.document with parameters of type IntsRefModifier and TypeMethodDescriptionprivate 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 IntsRefModifier and TypeMethodDescriptionprivate static AutomatonContextQuery.toContextAutomaton(Map<IntsRef, ContextQuery.ContextMetaData> contexts, boolean matchAllContexts) private AutomatonFuzzyCompletionQuery.toLevenshteinAutomata(Automaton automaton, Set<IntsRef> refs) Constructor parameters in org.apache.lucene.search.suggest.document with type arguments of type IntsRefModifierConstructorDescriptionContextCompletionWeight(CompletionQuery query, Automaton automaton, CompletionWeight innerWeight, Map<IntsRef, Float> contextMap, int[] contextLengths) FuzzyCompletionWeight(CompletionQuery query, Automaton automaton, Set<IntsRef> refs) -
Uses of IntsRef in org.apache.lucene.util
Fields in org.apache.lucene.util declared as IntsRefMethods in org.apache.lucene.util that return IntsRefModifier and TypeMethodDescriptionIntsRef.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 fromotherIntsRefBuilder.get()Return aIntsRefthat points to the internal content of this builder.IntsRefBuilder.toIntsRef()Build a newCharsRefthat has the same content as this builder.Methods in org.apache.lucene.util with parameters of type IntsRefModifier and TypeMethodDescriptionintSigned int order comparisonvoidCopies 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 IntsRefModifier and TypeFieldDescriptionprivate static final IntsRefFiniteStringsIterator.EMPTYEmpty string.Methods in org.apache.lucene.util.automaton that return IntsRefModifier and TypeMethodDescriptionstatic IntsRefOperations.getSingleton(Automaton a) If this automaton accepts a single input, return it.FiniteStringsIterator.next()Generate next finite string.LimitedFiniteStringsIterator.next()Methods in org.apache.lucene.util.automaton with parameters of type IntsRef -
Uses of IntsRef in org.apache.lucene.util.bkd
Fields in org.apache.lucene.util.bkd declared as IntsRefModifier and TypeFieldDescriptionprivate final IntsRefDocIdsWriter.scratchIntsRefIntsRef to be used to iterate over the scratch buffer. -
Uses of IntsRef in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IntsRefModifier and TypeFieldDescriptionprivate final IntsRefIntsRefFSTEnum.currentIntsRefFSTEnum.InputOutput.inputfinal IntsRefUtil.Result.inputprivate static final IntsRefIntSequenceOutputs.NO_OUTPUTprivate IntsRefIntsRefFSTEnum.targetMethods in org.apache.lucene.util.fst that return IntsRefModifier and TypeMethodDescriptionIntSequenceOutputs.getNoOutput()static IntsRefUtil.toIntsRef(BytesRef input, IntsRefBuilder scratch) Just takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRefUtil.toUTF16(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(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 IntsRefModifier and TypeMethodDescriptionprotected booleanUtil.TopNSearcher.acceptResult(IntsRef input, T output) voidAdd the next input/output pair.static <T> TLooks up the output for this input, or null if the input is not accepted.IntSequenceOutputs.outputToString(IntsRef output) longIntSequenceOutputs.ramBytesUsed(IntsRef output) Seeks to smallest term that's >= target.Seeks to exactly this term, returning null if the term doesn't exist.Seeks to biggest term that's <= target.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 -
Uses of IntsRef in org.apache.lucene.util.graph
Fields in org.apache.lucene.util.graph declared as IntsRefModifier and TypeFieldDescriptionprivate final IntsRefGraphTokenStreamFiniteStrings.FiniteStringsTokenStream.idsConstructors in org.apache.lucene.util.graph with parameters of type IntsRef