Ejemplo n.º 1
0
			internal HeapedScorerDoc(ScorerDocQueue enclosingInstance, Scorer s):this(enclosingInstance, s, s.DocID())
			{
			}
Ejemplo n.º 2
0
			internal HeapedScorerDoc(ScorerDocQueue enclosingInstance, Scorer scorer, int doc)
			{
				InitBlock(enclosingInstance);
				this.scorer = scorer;
				this.doc = doc;
			}
Ejemplo n.º 3
0
			private void  InitBlock(ScorerDocQueue enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Ejemplo n.º 4
0
		/// <summary>Called the first time next() or skipTo() is called to
		/// initialize <c>scorerDocQueue</c>.
		/// </summary>
		private void  InitScorerDocQueue()
		{
			scorerDocQueue = new ScorerDocQueue(nrScorers);
			foreach(Scorer se in subScorers)
			{
				if (se.NextDoc() != NO_MORE_DOCS)
				{
					// doc() method will be used in scorerDocQueue.
					scorerDocQueue.Insert(se);
				}
			}
		}
Ejemplo n.º 5
0
 internal HeapedScorerDoc(ScorerDocQueue enclosingInstance, Scorer scorer, int doc)
 {
     InitBlock(enclosingInstance);
     this.scorer = scorer;
     this.doc    = doc;
 }
Ejemplo n.º 6
0
 internal HeapedScorerDoc(ScorerDocQueue enclosingInstance, Scorer s) : this(enclosingInstance, s, s.DocID())
 {
 }
Ejemplo n.º 7
0
 private void  InitBlock(ScorerDocQueue enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }