XML search results
This page is generated by Machine Translation from Japanese.
Search through XML response
To emit the XML results of Fess . You need to do this output in 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. |
fields.label | The label value. Use to specify the label. |
Table: Request parameter
Responses to
Returns the following response.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<version>1</version>
<status>0</status>
<query> |Fess| </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>
<created>2014-05-24T15:13:27.692+0900</created>
<doc-id>d55275b552da44999cafe118aa8fed62</doc-id>
<title> |Fess| のイン...</title>
<url>https://fess.codelibs.org/ja/setup.html</url>
<score>0.83177954</score>
<site>fess.codelibs.org/ja/setup.html</site>
<filetype-s>html</filetype-s>
<content-description> <em>fess</em>...</content-description>
<digest>オープンソ...</digest>
<host>fess.codelibs.org</host>
<mimetype>text/html</mimetype>
<content-length>49702</content-length>
<boost>1.0</boost>
<last-modified>2014-05-22T11:09:07.000+0900</last-modified>
<id>https://fess.codelibs.org/ja/setup.html</id>
<url-link>https://fess.codelibs.org/ja/setup.html</url-link>
</doc>
...
</result>
</response>
Each element is as follows.
response | The root element. |
version | Format version. |
status | The status of the response. the status value is 0: normal, 1: search error, 2 or 3: request parameter error, 9: in service, 1: API type of error is. |
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. |
cache | The contents of the content. |
score | Score values of the document. |
Digest | Digest a string of documents. |
created | Document creation date. |
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. |
Table: Responses to information