19 using System.Collections.Generic;
22 using WeightedFragInfo = Lucene.Net.Search.Vectorhighlight.FieldFragList.WeightedFragInfo;
24 namespace Lucene.Net.Search.Vectorhighlight
52 public override List<WeightedFragInfo> GetWeightedFragInfoList(List<WeightedFragInfo> src)
63 if (o1.totalBoost > o2.totalBoost)
return -1;
64 else if (o1.totalBoost < o2.totalBoost)
return 1;
68 if (o1.startOffset < o2.startOffset)
return -1;
69 else if (o1.startOffset > o2.startOffset)
return 1;