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.


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"?>
  <query> |Fess| </query>
      <title> |Fess| &#12398;&#12452;&#12531;...</title>
      <content-description> &lt;em&gt;fess&lt;/em&gt;...</content-description>

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