Fess

Japanese

  • OVERVIEW
  • BASIC
  • DOCUMENTATION
  • TUTORIALS
  • DEVELOPMENT
  • OTHERS
  • ARCHIVES
    • 13.9
      • Fess Installation Guide
      • Fess User Guide
      • Fess Administration Guide
      • JavaDocs
      • XRef
      • I/F Docs
    • 13.8
    • 13.7
    • 13.6
    • 13.5
    • 13.4
    • 13.3
    • 13.2
    • 13.1
    • 13.0
    • 12.7
    • 12.6
    • 12.5
    • 12.4
    • 12.3
    • 12.2
    • 12.1
    • 12.0
    • 11.4
    • 11.3
    • 11.2
    • 11.1
    • 11.0
    • 10.3
    • 10.2
    • 10.1
    • 10.0
    • 9.4
    • 9.3
    • 9.2
    • 9.1
    • 9.0
    • 8.0
    • 7.0
    • 6.0
    • 5.0
    • 4.0
    • 3.0
    • 2.0
Fess
  • Docs »
  • ARCHIVES »
  • Fess User Guide »
  • Range Search
  • Commercial Support

Range Search¶

Range Search¶

Fess supports Range search that specify values between the lower and upper bound by date type or numeric type.

Usage¶

The syntax of Range search is “fieldname:[lower TO upper]”

For example, type to search document contentLength field against 1 k to 10 k bytes is shown below the search form.

To search documents of which size is from 10 bytes to 100 bytes, the query is below.

content_length:[10 TO 100]

Date range search is also supported. The syntax is “last_modified:[fromdate TO todate]. The date format supports ISO 8601 or Date Math syntax.

ISO8601 YYYY-MM-DDThh:mm:ss.sssZ(ex. 2012-12-02T10:45:23.5Z)
Date Math now, y(Year), M(Month), d(Day), h(hour), m(minute)

For example, if you look for documents updated from 30 days prior to now(2/21/2012), it’s as below.

last_modified:[now/d-30d TO now]

or

last_modified:[2012-11-23T00:00:00Z TO 2012-12-21T20:00:00Z]
Next Previous

© Copyright 2020 CodeLibs Project

Discussions Edit on GitHub