Example #1
0
 /// <summary>
 /// Construct a <see cref="SpanFirstQuery"/> matching spans in <paramref name="match"/> whose end
 /// position is less than or equal to <paramref name="end"/>.
 /// </summary>
 public SpanFirstQuery(SpanQuery match, int end)
     : base(match, 0, end)
 {
 }
Example #2
0
 public FieldMaskingSpanQuery(SpanQuery maskedQuery, string maskedField)
 {
     this.maskedQuery = maskedQuery;
     this.field       = maskedField;
 }