<chapter id="architecture">
- <!-- $Id: architecture.xml,v 1.23 2007-08-21 11:06:46 adam Exp $ -->
<title>Overview of &zebra; Architecture</title>
<section id="architecture-representation">
<para>
In addition to &acro.z3950; requests, the &yaz; server frontend acts
as HTTP server, honoring
- <ulink url="&url.srw;">&acro.sru; &acro.soap;</ulink>
+ <ulink url="&url.sru;">&acro.sru; &acro.soap;</ulink>
requests, and
- <ulink url="&url.sru;">&acro.sru; &acro.rest;</ulink>
+ &acro.sru; &acro.rest;
requests. Moreover, it can
translate incoming
<ulink url="&url.cql;">&acro.cql;</ulink>
<literal>zebra::snippet</literal>
</entry>
<entry>
- Get snippet for record.
+ Get snippet for record for one or more indexes (f1,f2,..).
+ This includes a phrase from the original
+ record at the point where a match occurs (for a query). By default
+ give terms before - and after are included in the snippet. The
+ matching terms are enclosed within element
+ <literal><s></literal>. The snippet facility requires
+ Zebra 2.0.16 or later.
+ </entry>
+ <entry>&acro.xml; and &acro.sutrs;</entry>
+ </row>
+ <row>
+ <entry>
+ <literal>zebra::facet::</literal><replaceable>f1</replaceable>:<replaceable>t1</replaceable>,<replaceable>f2</replaceable>:<replaceable>t2</replaceable>,..
+ </entry>
+ <entry>
+ Get facet of a result set. The facet result is returned
+ as if it was a normal record, while in reality is a
+ recap of most "important" terms in a result set for the fields
+ given.
+ The facet facility first appeared in Zebra 2.0.20.
</entry>
<entry>&acro.xml;</entry>
</row>