/// <summary> /// Creates a numeric range filter using <see cref="IFieldCache.GetInt64s(Index.AtomicReader,string,FieldCache.IInt64Parser,bool)"/>. This works with all /// <see cref="long"/> 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>. /// <para/> /// NOTE: this was newLongRange() in Lucene /// </summary> public static FieldCacheRangeFilter <long?> NewInt64Range(string field, FieldCache.IInt64Parser parser, long?lowerVal, long?upperVal, bool includeLower, bool includeUpper) { return(new AnonymousInt64FieldCacheRangeFilter(field, parser, lowerVal, upperVal, includeLower, includeUpper)); }
public Int64FieldSource(string field, FieldCache.IInt64Parser parser) : base(field) { this.m_parser = parser; }