This is a cache of https://fess.codelibs.org/4.0/user/xml-response.html. It is a snapshot of the page at 2024-09-29T00:16:31.719+0000.
XML results output

Menu

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 の提供するスピード&lt;em&gt;テスト&lt;/em&gt;ページです</content-description>
      <host>speedtest.goo.ne.jp</host>
      <last-modified>1284739487873</last-modified>
      <cache>龠--&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=EUC-JP"&gt;
&lt;title&gt;
goo スピード&lt;em&gt;テスト&lt;/em&gt;
&lt;/title&gt;
&lt;meta..."&gt;

&lt;meta name="description" content="goo の提供するスピード&lt;em&gt;テスト&lt;/em&gt;ページです"&gt;
&lt;meta name="keywords" content="ADSL,ブロードバンド,フレ...ッツ,BB,無線LAN,CATV,ISDN,スピード&lt;em&gt;テスト&lt;/em&gt;"&gt;
&lt;meta name="Copyright" content="Copyright &amp;copy; (C)NTT-X Inc, All...://speedtest.goo.ne.jp/"&gt;&lt;img src="/img/h1/h1_76.gif" width="129" height="22" border="0" alt="スピード&lt;em&gt;テスト&lt;/em&gt;"&gt;&lt;img src..." color="#ffffff"&gt;goo スピード&lt;em&gt;テスト&lt;/em&gt;&lt;/font&gt;&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;
&lt;!--/NAME SERVICE--&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td</cache>
      <score>4.98744</score>
      <digest>goo の提供するスピード&lt;em&gt;テスト&lt;/em&gt;ページです</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.