xml results output
This page is generated by Machine Translation from Japanese.
xml results output
To emit the xml results of Fess . You must in order to emit the xml Management screen crawl settings xml response enabled by you.
Request
To get the output xml http://localhost:8080/ |Fess| /xml? 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. |
Responses to
Returns the following response.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<version>1</version>
<status>0</status>
<query>テスト</query>
<exec-time>0.64</exec-time>
<page-size>20</page-size>
<page-number>1</page-number>
<record-count>101</record-count>
<page-count>6</page-count>
<result>
<doc>
<site>speedtest.goo.ne.jp/</site>
<content-description>goo の提供するスピード<em>テスト</em>ページです</content-description>
<host>speedtest.goo.ne.jp</host>
<last-modified>1284739487873</last-modified>
<cache>龠-->
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<title>
goo スピード<em>テスト</em>
</title>
<meta...">
<meta name="description" content="goo の提供するスピード<em>テスト</em>ページです">
<meta name="keywords" content="ADSL,ブロードバンド,フレ...ッツ,BB,無線LAN,CATV,ISDN,スピード<em>テスト</em>">
<meta name="Copyright" content="Copyright &copy; (C)NTT-X Inc, All...://speedtest.goo.ne.jp/"><img src="/img/h1/h1_76.gif" width="129" height="22" border="0" alt="スピード<em>テスト</em>"><img src..." color="#ffffff">goo スピード<em>テスト</em></font></a></b></td>
<!--/NAME SERVICE-->
</tr>
</table>
</td>
</tr>
<tr>
<td</cache>
<score>4.98744</score>
<digest>goo の提供するスピード<em>テスト</em>ページです</digest>
<tstamp>1284739487887</tstamp>
<url>http://speedtest.goo.ne.jp/</url>
<id>http://speedtest.goo.ne.jp/;type=au,docomo,pc,softbank</id>
<mimetype>text/html</mimetype>
<title>
goo スピードテスト
</title>
<content-title>
goo スピードテスト
</content-title>
<boost>1.0</boost>
<content-length>17810</content-length>
<url-link>http://speedtest.goo.ne.jp/</url-link>
</doc>
...
</result>
</response>
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. |
exec-time | Response time. Unit is seconds. |
page-size | The number of display. |
page-number | Page number. |
record-count | Number of hits for the search term. |
page-count | Page number of the number of hits for the search term. |
result | Parent element of the search results. |
doc | The elements of the search results. |
site | The name of the site. |
content-description | A description of the content. |
host | The name of the host. |
last-modified | 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. |
content-title | The title of the document for viewing. |
content-length | The size of the document. |
URL-link | The URL as the search results. |