-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY copyright SYSTEM "copyright.xml">
- <!ENTITY % common SYSTEM "common/common.ent">
- %common;
+ <!ENTITY % idcommon SYSTEM "common/common.ent">
+ %idcommon;
]>
-<!-- $Id: session_shared.xml,v 1.7 2007-05-09 21:23:08 adam Exp $ -->
<refentry id="ref-session_shared">
+ <refentryinfo>
+ <productname>Metaproxy</productname>
+ <info><orgname>Index Data</orgname></info>
+ </refentryinfo>
+
<refmeta>
<refentrytitle>session_shared</refentrytitle>
<manvolnum>3mp</manvolnum>
- <refmiscinfo>Metaproxy Module</refmiscinfo>
+ <refmiscinfo class="manual">Metaproxy Module</refmiscinfo>
</refmeta>
<refnamediv>
</para>
</listitem>
</varlistentry>
+ <varlistentry><term>Session max</term>
+ <listitem>
+ <para>
+ Specifiers maximum number of sessions to any particular
+ target. If this number (limit) is reached, the session_shared
+ module will re-use result sets even if TTL is not met.
+ Failing that the session_shared will return a diagnostic.
+ Default value is 100 sessions.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry><term>Result-Set TTL</term>
<listitem>
<para>
When a backend session result-set is not in use for more than this
amount of time, given in seconds, it will be deleted/reused.
- Default value is 10 seconds.
+ Default value is 30 seconds.
</para>
</listitem>
</varlistentry>
</para>
</listitem>
</varlistentry>
+ <varlistentry><term>Result-Set restart</term>
+ <listitem>
+ <para>
+ Boolean which specifies whether session_shared should to try to
+ recover a failed search. If a search results in diagnostic 2:
+ temporary system error, or a negative hit count, the search
+ will be performed once again on another or new Z39.50 session.
+ Default value is true (enabled).
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
+ <refsect1><title>SCHEMA</title>
+ <literallayout><xi:include
+ xi:href="../xml/schema/filter_session_shared.rnc"
+ xi:parse="text"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </literallayout>
+ </refsect1>
+
<refsect1><title>EXAMPLES</title>
<para>
Configuration:
<screen><![CDATA[
<filter type="session_shared">
- <resultset ttl="10" max="3"/>
- <session ttl="30"/>
+ <resultset ttl="10" max="3" restart="true"/>
+ <session ttl="30" max="100"/>
</filter>
]]>
</screen>
<!-- Keep this comment at the end of the file
Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-local-catalogs: nil
-sgml-namecase-general:t
+mode: nxml
+nxml-child-indent: 1
End:
-->