Ejemplo n.º 1
0
 /// <param name="queryScorer"><see cref="QueryScorer"/> that was used to score hits</param>
 /// <param name="fragmentSize">size in bytes of each fragment</param>
 public SimpleSpanFragmenter(QueryScorer queryScorer, int fragmentSize)
 {
     this.fragmentSize = fragmentSize;
     this.queryScorer  = queryScorer;
 }
Ejemplo n.º 2
0
 /// <param name="queryScorer"><see cref="QueryScorer"/> that was used to score hits</param>
 public SimpleSpanFragmenter(QueryScorer queryScorer)
     : this(queryScorer, DEFAULT_FRAGMENT_SIZE)
 {
 }