Menu

Search results for JSON output

This page is generated by Machine Translation from Japanese.

Search results for JSON output

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.
labelTypeValue 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.

Responses to

Returns the following response.

{
    "response": {
        "version": 1,
        "status": 0,
        "query": "\u30C6\u30B9\u30C8",
        "execTime": 0.59,
        "pageSize": 20,
        "pageNumber": 1,
        "recordCount": 101,
        "pageCount": 6,
        "result": [
            {
                "site": "speedtest.goo.ne.jp\u002F",
                "contentDescription": "goo \u306E\u63D0\u4F9B\u3059\u308B\u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\u30DA\u30FC\u30B8\u3067\u3059",
                "host": "speedtest.goo.ne.jp",
                "lastModified": "1284739487873",
                "cache": "\u9FA0-->\n<meta http-equiv=\u0022Content-Type\u0022 content=\u0022text\u002Fhtml; charset=EUC-JP\u0022>\n<title>\ngoo \u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\n<\u002Ftitle>\n<meta...\u0022>\n\n<meta name=\u0022description\u0022 content=\u0022goo \u306E\u63D0\u4F9B\u3059\u308B\u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\u30DA\u30FC\u30B8\u3067\u3059\u0022>\n<meta name=\u0022keywords\u0022 content=\u0022ADSL,\u30D6\u30ED\u30FC\u30C9\u30D0\u30F3\u30C9,\u30D5\u30EC...\u30C3\u30C4,BB,\u7121\u7DDALAN,CATV,ISDN,\u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\u0022>\n<meta name=\u0022Copyright\u0022 content=\u0022Copyright &copy; (C)NTT-X Inc, All...:\u002F\u002Fspeedtest.goo.ne.jp\u002F\u0022><img src=\u0022\u002Fimg\u002Fh1\u002Fh1_76.gif\u0022 width=\u0022129\u0022 height=\u002222\u0022 border=\u00220\u0022 alt=\u0022\u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\u0022><img src...\u0022 color=\u0022#ffffff\u0022>goo \u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem><\u002Ffont><\u002Fa><\u002Fb><\u002Ftd>\n<!--\u002FNAME SERVICE-->\n<\u002Ftr>\n<\u002Ftable>\n<\u002Ftd>\n<\u002Ftr>\n<tr>\n<td",
                "score": "4.98744",
                "digest": "goo \u306E\u63D0\u4F9B\u3059\u308B\u30B9\u30D4\u30FC\u30C9<em>\u30C6\u30B9\u30C8<\u002Fem>\u30DA\u30FC\u30B8\u3067\u3059",
                "tstamp": "1284739487887",
                "url": "http:\u002F\u002Fspeedtest.goo.ne.jp\u002F",
                "id": "http:\u002F\u002Fspeedtest.goo.ne.jp\u002F;type=au,docomo,pc,softbank",
                "mimetype": "text\u002Fhtml",
                "title": "\ngoo \u30B9\u30D4\u30FC\u30C9\u30C6\u30B9\u30C8\n",
                "contentTitle": "\ngoo \u30B9\u30D4\u30FC\u30C9\u30C6\u30B9\u30C8\n",
                "boost": "1.0",
                "contentLength": "17810",
                "urlLink": "http:\u002F\u002Fspeedtest.goo.ne.jp\u002F"
            },
...
        ]
    }
}

Each element is as follows.

response The root element.
version Format version.
status The status of the response. 0, the normal response.
query Search language.
execTime Response time. Unit is seconds.
pageSize The number of display.
pageNumber Page number.
recordCount Number of hits for the search term.
pageCount Page number of the number of hits for the search term.
result Parent element of the search results.
site The name of the site.
contentDescription A description of the content.
host The name of the host.
lastModified Last update date. 1970 / 01 / 01 milliseconds starting at 00: 00: 00.
cache The contents of the content.
score Score values of the document.
Digest Digest a string of documents.
Tstamp Document creation date. 1970 / 01 / 01 milliseconds starting at 00: 00: 00.
URL The URL of the document.
ID The ID of the document.
mimetype The MIME type.
title The title of the document.
contentTitle The title of the document for viewing.
contentLength The size of the document.
urlLink The URL as the search results.