19 using System.Collections.Generic;
21 namespace Lucene.Net.Search
31 private IList<PositionInfo> positions;
40 this.docIdSet = docIdSet;
41 this.positions = positions;
48 public virtual IList<PositionInfo> Positions
50 get {
return positions; }
56 get {
return docIdSet; }
62 private IList<StartEnd> positions;
68 positions =
new List<StartEnd>();
71 public virtual void AddPosition(
int start,
int end)
73 positions.Add(
new StartEnd(start, end));
76 public virtual int Doc
83 public virtual IList<StartEnd> Positions
85 get {
return positions; }
103 public virtual int End
110 public virtual int Start
112 get {
return start; }