Uses of Class
org.apache.lucene.misc.index.BPIndexReorderer.ForwardIndex
Packages that use BPIndexReorderer.ForwardIndex
-
Uses of BPIndexReorderer.ForwardIndex in org.apache.lucene.misc.index
Fields in org.apache.lucene.misc.index declared as BPIndexReorderer.ForwardIndexModifier and TypeFieldDescription(package private) final BPIndexReorderer.ForwardIndex
BPIndexReorderer.PerThreadState.forwardIndex
Methods in org.apache.lucene.misc.index that return BPIndexReorderer.ForwardIndexModifier and TypeMethodDescriptionprivate BPIndexReorderer.ForwardIndex
BPIndexReorderer.buildForwardIndex
(Directory tempDir, String postingsFileName, int maxDoc, int maxTerm) BPIndexReorderer.ForwardIndex.clone()
Methods in org.apache.lucene.misc.index with parameters of type BPIndexReorderer.ForwardIndexModifier and TypeMethodDescriptionprivate static float
BPIndexReorderer.ComputeBiasTask.computeBias
(int docID, BPIndexReorderer.ForwardIndex forwardIndex, int[] fromDocFreqs, int[] toDocFreqs) Compute a float that is negative when a document is attracted to the left and positive otherwise.private 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 void
BPIndexReorderer.IndexReorderingTask.swapDocsAndFreqs
(int[] docs, int left, int right, BPIndexReorderer.ForwardIndex forwardIndex, int[] leftDocFreqs, int[] rightDocFreqs) Constructors in org.apache.lucene.misc.index with parameters of type BPIndexReorderer.ForwardIndexModifierConstructorDescription(package private)
PerThreadState
(int numTerms, BPIndexReorderer.ForwardIndex forwardIndex)