Menu

Search results for JSON

This page is generated by Machine Translation from Japanese.

Search by the JSON response

Outputs a JSON results of Fess . You must in order to emit JSON enabled keep JSON response in the General Management screen crawl settings.

Request

To get JSON output http://localhost:8080/ |Fess| /JSON? query = search terms Of these sends a request. Request parameters are as follows.

query Search language. Pass the URL encoding.
Start The number of where to start. Starts at 0.
num The number of display. The default is 20. You can display up to 100.
fields.label The label value. Use to specify the label.
callback If you use the JSONP callback name. You do not need to specify if you do not use the JSONP.

Table: Request parameter

Responses to

Returns the following response.

{
    "response": {
        "version": 1,
        "status": 0,
        "query": " |Fess| ",
        "exec_time": 0.59,
        "page_size": 20,
        "page_number": 1,
        "record_count": 101,
        "page_count": 6,
        "result": [
            {
            "created":"2014-05-24T15:13:29.096+0900",
            "docId":"0592263c6cae4141b3a276894e8e326d",
            "title":" |Fess| \u3092\u5229\u7528\u3057\u3066\u3044\u308B\u30B5\u30A4\u30C8",
            "url":"http:\u002F\u002Ffess.codelibs.org\u002Fja\u002Fusers.html",
            "score":0.7036715,
            "site":"fess.codelibs.org\u002Fja\u002Fusers.html",
            "filetype_s":"html",
            "contentDescription":" <em>fess<\u002Fem> \u5168\u822C \u5165\u9580...",
            "digest":" |Fess| \u5168\u822C \u5165\u9580 \u30C9\u30AD\u30E5\u30E1\u30F3 Jav...",
            "host":"fess.codelibs.org",
            "mimetype":"text\u002Fhtml",
            "content_length":22788,
            "boost":1.0,
            "last_modified":"2014-05-22T11:09:07.000+0900",
            "id":"http:\u002F\u002Ffess.codelibs.org\u002Fja\u002Fusers.html",
            "url_link":"http:\u002F\u002Ffess.codelibs.org\u002Fja\u002Fusers.html"
            },
...
        ]
    }
}

Each element is as follows.

Table: Responses to information