public DoubleFieldSource(string field, FieldCache.IDoubleParser parser) : base(field) { this.m_parser = parser; }
/// <summary> /// Creates a numeric range filter using <see cref="IFieldCache.GetDoubles(Index.AtomicReader,string,FieldCache.IDoubleParser,bool)"/>. This works with all /// <see cref="double"/> fields containing exactly one numeric term in the field. The range can be half-open by setting one /// of the values to <c>null</c>. /// </summary> public static FieldCacheRangeFilter <double?> NewDoubleRange(string field, FieldCache.IDoubleParser parser, double?lowerVal, double?upperVal, bool includeLower, bool includeUpper) { return(new AnonymousDoubleFieldCacheRangeFilter(field, parser, lowerVal, upperVal, includeLower, includeUpper)); }
public DoubleFieldSource(string field, FieldCache.IDoubleParser parser) : base(field) { this.parser = parser; }