概述 | 软件包 | 类 | 使用 | 树 | 已过时 | 索引 | 帮助
上一个类 下一个类 | 框架 无框架
摘要： 嵌套 | 字段 | 构造函数 | 方法 | 详细信息： 字段 | 构造函数 | 方法

## tot.search.filter
类 IntegerFilter

    java.lang.Object
      org.apache.lucene.search.Filter
          tot.search.filter.IntegerFilter

所有已实现的接口：
  java.io.Serializable

    public class IntegerFilter

extends org.apache.lucene.search.Filter

A Filter that restricts search results to a range of integer.

For this to work, documents must have been indexed with a

另请参见：
  序列化表格

构造函数摘要
`IntegerFilter(java.lang.String field, java.lang.Integer from, java.lang.Integer to)` Constructs a filter for field `f` matching Integers between `from` and `to` inclusively.
`IntegerFilter(java.lang.String field, int from, int to)` Constructs a filter for field `f` matching Integers between `from` and `to` inclusively.

方法摘要
`java.util.BitSet` | `bits(org.apache.lucene.index.IndexReader reader)` Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
`static IntegerFilter` | `greaterThan(java.lang.String field, int i)` Constructs a filter for field `f` matching Integers on or more than `Integer`.
`static IntegerFilter` | `greaterThan(java.lang.String field, java.lang.Integer i)` Constructs a filter for field `f` matching Integers on or more than `Integer`.
`static java.lang.String` | `intToString(int i)`
`static IntegerFilter` | `lessThan(java.lang.String field, int i)` Constructs a filter for field `f` matching Integers on or more than `Integer`.
`static IntegerFilter` | `lessThan(java.lang.String field, java.lang.Integer i)` Constructs a filter for field `f` matching integers on or less than `Integer`.
`static int` | `stringToInt(java.lang.String i)`
`java.lang.String` | `toString()`

从类 java.lang.Object 继承的方法
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

构造函数详细信息

### IntegerFilter

    public IntegerFilter(java.lang.String field,
                         int from,
                         int to)

  Constructs a filter for field `f` matching Integers between `from` and `to` inclusively.

### IntegerFilter

    public IntegerFilter(java.lang.String field,
                         java.lang.Integer from,
                         java.lang.Integer to)

  Constructs a filter for field `f` matching Integers between `from` and `to` inclusively.

方法详细信息

### greaterThan

    public static IntegerFilter greaterThan(java.lang.String field,
                                            java.lang.Integer i)

  Constructs a filter for field `f` matching Integers on or more than `Integer`.

### greaterThan

    public static IntegerFilter greaterThan(java.lang.String field,
                                            int i)

  Constructs a filter for field `f` matching Integers on or more than `Integer`.

### lessThan

    public static IntegerFilter lessThan(java.lang.String field,
                                         java.lang.Integer i)

  Constructs a filter for field `f` matching integers on or less than `Integer`.

### lessThan

    public static IntegerFilter lessThan(java.lang.String field,
                                         int i)

  Constructs a filter for field `f` matching Integers on or more than `Integer`.

### intToString

    public static java.lang.String intToString(int i)

### stringToInt

    public static int stringToInt(java.lang.String i)

### bits

    public java.util.BitSet bits(org.apache.lucene.index.IndexReader reader)
                          throws java.io.IOException

  Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.

  指定者：
    类 `org.apache.lucene.search.Filter` 中的 `bits`
  抛出：
    `java.io.IOException`

### toString

    public java.lang.String toString()

  覆盖：
    类 `java.lang.Object` 中的 `toString`

概述 | 软件包 | 类 | 使用 | 树 | 已过时 | 索引 | 帮助
上一个类 下一个类 | 框架 无框架
摘要： 嵌套 | 字段 | 构造函数 | 方法 | 详细信息： 字段 | 构造函数 | 方法