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.Abstract classes for morphological analyzers.
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 TypeMethodDescription(package private) abstract IntsRef
FlyweightEntry.forms()
(package private) IntsRef
WordStorage.MyFlyweightEntry.forms()
private IntsRef
(package private) IntsRef
Dictionary.lookupPrefix
(char[] word) (package private) IntsRef
Dictionary.lookupSuffix
(char[] word) (package private) IntsRef
Dictionary.lookupWord
(char[] word, int offset, int length) Looks up Hunspell word forms from the dictionary(package private) IntsRef
WordStorage.lookupWord
(char[] word, int offset, int length) (package private) static IntsRef
Dictionary.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) boolean
private int
Stemmer.morphDataId
(IntsRef forms, int i) (package private) static IntsRef
Dictionary.nextArc
(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) private void
GeneratingSuggester.processAffixIds
(int affixLength, IntsRef affixIds, GeneratingSuggester.AffixProcessor processor) private void
WordStorage.readForms
(IntsRef forms, ByteArrayDataInput in, int length) private String
Method parameters in org.apache.lucene.analysis.hunspell with type arguments of type IntsRefModifier and TypeMethodDescriptionprivate boolean
Hunspell.checkCompoundRules
(char[] wordChars, int offset, int length, List<IntsRef> words) private boolean
Hunspell.checkLastCompoundPart
(char[] wordChars, int start, int length, List<IntsRef> words) private void
WordFormGenerator.fillAffixMap
(FST<IntsRef> fst, AffixKind kind) (package private) boolean
CompoundRule.fullyMatches
(List<IntsRef> words) private IntsRef
private boolean
private boolean
Hunspell.mayHaveCompoundRule
(List<IntsRef> words) (package private) boolean
(package private) static IntsRef
Dictionary.nextArc
(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) (package private) static IntsRef
Dictionary.nextArc
(FST<IntsRef> fst, FST.Arc<IntsRef> arc, FST.BytesReader reader, IntsRef output, int ch) -
Uses of IntsRef in org.apache.lucene.analysis.morph
Fields in org.apache.lucene.analysis.morph declared as IntsRefMethods in org.apache.lucene.analysis.morph 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 void
Similar 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 IntsRef
BPIndexReorderer.ForwardIndex.bufferRef
private final IntsRef
BPIndexReorderer.IndexReorderingTask.docIDs
Methods in org.apache.lucene.misc.index that return IntsRefModifier and TypeMethodDescription(package private) IntsRef
BPIndexReorderer.ForwardIndex.nextTerms()
Methods in org.apache.lucene.misc.index with parameters of type IntsRefModifier and TypeMethodDescriptionprivate static void
BPIndexReorderer.IndexReorderingTask.computeDocFreqs
(IntsRef docs, BPIndexReorderer.ForwardIndex forwardIndex, int[] docFreqs) private boolean
BPIndexReorderer.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 boolean
Returns true if, and only if, the givenIntsRef
is 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, TaskExecutor executor, 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.contextMap
private Map
<IntsRef, ContextQuery.ContextMetaData> ContextQuery.contexts
FuzzyCompletionQuery.FuzzyCompletionWeight.refs
Methods in org.apache.lucene.search.suggest.document with parameters of type IntsRefModifier and TypeMethodDescriptionprivate void
ContextQuery.ContextCompletionWeight.setInnerWeight
(IntsRef ref, int offset) protected void
CompletionWeight.setNextMatch
(IntsRef pathPrefix) Set for every partial path in the index that matched the query automaton.protected void
ContextQuery.ContextCompletionWeight.setNextMatch
(IntsRef pathPrefix) protected void
FuzzyCompletionQuery.FuzzyCompletionWeight.setNextMatch
(IntsRef pathPrefix) Method parameters in org.apache.lucene.search.suggest.document with type arguments of type IntsRefModifier and TypeMethodDescriptionprivate static Automaton
ContextQuery.toContextAutomaton
(Map<IntsRef, ContextQuery.ContextMetaData> contexts, boolean matchAllContexts) private Automaton
FuzzyCompletionQuery.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 IntsRef
IntsRef.deepCopyOf
(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromother
IntsRefBuilder.get()
Return aIntsRef
that points to the internal content of this builder.IntsRefBuilder.toIntsRef()
Build a newCharsRef
that has the same content as this builder.Methods in org.apache.lucene.util with parameters of type IntsRefModifier and TypeMethodDescriptionint
Signed int order comparisonvoid
Copies the given array into this instance.static IntsRef
IntsRef.deepCopyOf
(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromother
boolean
IntsRef.intsEquals
(IntsRef other) static BytesRef
StringHelper.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 IntsRef
FiniteStringsIterator.EMPTY
Empty string.Methods in org.apache.lucene.util.automaton that return IntsRefModifier and TypeMethodDescriptionstatic IntsRef
Operations.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 IntsRef
DocIdsWriter.scratchIntsRef
IntsRef 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 IntsRef
IntsRefFSTEnum.current
IntsRefFSTEnum.InputOutput.input
private final IntsRef
Util.Result.input
The field for theinput
record component.private static final IntsRef
IntSequenceOutputs.NO_OUTPUT
private IntsRef
IntsRefFSTEnum.target
Methods in org.apache.lucene.util.fst that return IntsRefModifier and TypeMethodDescriptionIntSequenceOutputs.getNoOutput()
Util.Result.input()
Returns the value of theinput
record component.static IntsRef
Util.toIntsRef
(BytesRef input, IntsRefBuilder scratch) Just takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRef
Util.toUTF16
(CharSequence s, IntsRefBuilder scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRef
Util.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 IntsRef
Util.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 boolean
Util.TopNSearcher.acceptResult
(IntsRef input, T output) void
Add the next input/output pair.static <T> T
Looks up the output for this input, or null if the input is not accepted.IntSequenceOutputs.outputToString
(IntsRef output) long
IntSequenceOutputs.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 BytesRef
Util.toBytesRef
(IntsRef input, BytesRefBuilder scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.void
IntSequenceOutputs.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 IntsRef
GraphTokenStreamFiniteStrings.FiniteStringsTokenStream.ids
Constructors in org.apache.lucene.util.graph with parameters of type IntsRef