22 namespace Lucene.Net.Search
38 protected internal byte[] norms;
39 protected internal float value_Renamed;
41 private bool firstTime =
true;
42 private bool more =
true;
52 this.value_Renamed = weight.
Value;
59 for (
int i = 0; i < tps.Length; i++)
78 public override int DocID()
83 public override int NextDoc()
96 first.doc = NO_MORE_DOCS;
102 private bool DoNext()
106 while (more && first.doc < last.doc)
109 more = first.SkipTo(last.doc);
128 public override float Score()
135 public override int Advance(
int target)
140 more = pp.SkipTo(target);
148 first.doc = NO_MORE_DOCS;
157 public float CurrentFreq()
169 protected internal abstract float PhraseFreq();
186 for (PhrasePositions pp = first; pp != null; pp = pp.next)
193 protected internal void PqToList()
196 while (pq.Top() != null)
198 PhrasePositions pp = pq.Pop();
211 protected internal void FirstToLast()
219 public override System.String ToString()
221 return "scorer(" + weight +
")";