Uses of Class
org.apache.lucene.search.PhrasePositions
Packages that use PhrasePositions
-
Uses of PhrasePositions in org.apache.lucene.search
Fields in org.apache.lucene.search declared as PhrasePositionsModifier and TypeFieldDescription(package private) PhrasePositionsPhrasePositions.nextprivate final PhrasePositions[]SloppyPhraseMatcher.phrasePositionsprivate PhrasePositions[][]SloppyPhraseMatcher.rptGroupsprivate PhrasePositions[]SloppyPhraseMatcher.rptStackMethods in org.apache.lucene.search that return PhrasePositionsModifier and TypeMethodDescriptionprivate PhrasePositionsSloppyPhraseMatcher.lesser(PhrasePositions pp, PhrasePositions pp2) compare two pps, but only by position and offsetprivate PhrasePositions[]SloppyPhraseMatcher.repeatingPPs(HashMap<Term, 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 PhrasePositionsModifier and TypeMethodDescriptionprivate ArrayList<ArrayList<PhrasePositions>> SloppyPhraseMatcher.gatherRptGroups(LinkedHashMap<Term, Integer> rptTerms) Detect repetition groups.Methods in org.apache.lucene.search with parameters of type PhrasePositionsModifier and TypeMethodDescriptionprivate booleanSloppyPhraseMatcher.advancePP(PhrasePositions pp) advance a PhrasePosition and update 'end', return false if exhaustedprivate booleanSloppyPhraseMatcher.advanceRpts(PhrasePositions pp) pp was just advanced.private voidSloppyPhraseMatcher.captureLead(PhrasePositions pp) private intSloppyPhraseMatcher.collide(PhrasePositions pp) index of a pp2 colliding with pp, or -1 if noneprivate PhrasePositionsSloppyPhraseMatcher.lesser(PhrasePositions pp, PhrasePositions pp2) compare two pps, but only by position and offsetprotected final booleanPhraseQueue.lessThan(PhrasePositions pp1, PhrasePositions pp2) private ArrayList<FixedBitSet> SloppyPhraseMatcher.ppTermsBitSets(PhrasePositions[] rpp, HashMap<Term, Integer> tord) bit-sets - for each repeating pp, for each of its repeating terms, the term ordinal values is setprivate final intSloppyPhraseMatcher.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 PhrasePositionsModifier and TypeMethodDescriptionprivate voidSloppyPhraseMatcher.sortRptGroups(ArrayList<ArrayList<PhrasePositions>> rgs) sort each repetition group by (query) offset.