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.ForwardIndexBPIndexReorderer.PerThreadState.forwardIndexMethods in org.apache.lucene.misc.index that return BPIndexReorderer.ForwardIndexModifier and TypeMethodDescriptionprivate BPIndexReorderer.ForwardIndexBPIndexReorderer.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 voidBPIndexReorderer.IndexReorderingTask.computeDocFreqs(IntsRef docs, BPIndexReorderer.ForwardIndex forwardIndex, int[] docFreqs) private floatBPIndexReorderer.ComputeGainsTask.computeGain(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 booleanBPIndexReorderer.IndexReorderingTask.shuffle(BPIndexReorderer.ForwardIndex forwardIndex, IntsRef left, IntsRef right, int[] leftDocFreqs, int[] rightDocFreqs, float[] gains, int iter) Shuffle doc IDs across both partitions so that each partition has lower gaps between consecutive postings.private voidBPIndexReorderer.IndexReorderingTask.swap(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)