• Type Parameters

    • InType extends string | number | Date
    • OutType extends string | number = [InType] extends [number]
          ? number
          : string

    Parameters

    • field: string
    • limits: {
          gt?: InType;
          gte?: InType;
          lt?: InType;
          lte?: InType;
      } = {}
    • Optionalboost: number
    • Optionaltype: DslQueryType

    Returns QueryExpressionRange<OutType>