Uses of Class
org.apache.lucene.search.PhrasePositions
-
Packages that use PhrasePositions Package Description org.apache.lucene.search Code to search indices. -
-
Uses of PhrasePositions in org.apache.lucene.search
Fields in org.apache.lucene.search declared as PhrasePositions Modifier and Type Field Description (package private) PhrasePositions
PhrasePositions. next
private PhrasePositions[]
SloppyPhraseMatcher. phrasePositions
private PhrasePositions[][]
SloppyPhraseMatcher. rptGroups
private PhrasePositions[]
SloppyPhraseMatcher. rptStack
Methods in org.apache.lucene.search that return PhrasePositions Modifier and Type Method Description private PhrasePositions
SloppyPhraseMatcher. lesser(PhrasePositions pp, PhrasePositions pp2)
compare two pps, but only by position and offsetprivate PhrasePositions[]
SloppyPhraseMatcher. repeatingPPs(java.util.HashMap<Term,java.lang.Integer> rptTerms)
find repeating pps, and for each, if has multi-terms, update this.hasMultiTermRptsMethods in org.apache.lucene.search that return types with arguments of type PhrasePositions Modifier and Type Method Description private java.util.ArrayList<java.util.ArrayList<PhrasePositions>>
SloppyPhraseMatcher. gatherRptGroups(java.util.LinkedHashMap<Term,java.lang.Integer> rptTerms)
Detect repetition groups.Methods in org.apache.lucene.search with parameters of type PhrasePositions Modifier and Type Method Description private boolean
SloppyPhraseMatcher. advancePP(PhrasePositions pp)
advance a PhrasePosition and update 'end', return false if exhaustedprivate boolean
SloppyPhraseMatcher. advanceRpts(PhrasePositions pp)
pp was just advanced.private void
SloppyPhraseMatcher. captureLead(PhrasePositions pp)
private int
SloppyPhraseMatcher. collide(PhrasePositions pp)
index of a pp2 colliding with pp, or -1 if noneprivate PhrasePositions
SloppyPhraseMatcher. lesser(PhrasePositions pp, PhrasePositions pp2)
compare two pps, but only by position and offsetprotected boolean
PhraseQueue. lessThan(PhrasePositions pp1, PhrasePositions pp2)
private java.util.ArrayList<FixedBitSet>
SloppyPhraseMatcher. ppTermsBitSets(PhrasePositions[] rpp, java.util.HashMap<Term,java.lang.Integer> tord)
bit-sets - for each repeating pp, for each of its repeating terms, the term ordinal values is setprivate int
SloppyPhraseMatcher. tpPos(PhrasePositions pp)
Actual position in doc of a PhrasePosition, relies on that position = tpPos - offset)Method parameters in org.apache.lucene.search with type arguments of type PhrasePositions Modifier and Type Method Description private void
SloppyPhraseMatcher. sortRptGroups(java.util.ArrayList<java.util.ArrayList<PhrasePositions>> rgs)
sort each repetition group by (query) offset.
-