X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fbook.xml;h=e1988c212e0142d51376c763d7bd553630c76948;hb=a5e46feb0d0a3e44c8c3ee8bebf9994195e9e82f;hp=a737c75c33e9aa67ccdb13167fe3e0858cdeeb0f;hpb=74783cfd34e855445de582d7f0a1d795615bcfe8;p=yaz-moved-to-github.git diff --git a/doc/book.xml b/doc/book.xml index a737c75..e1988c2 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -702,9 +702,24 @@ for result-set caching for ZOOM. The prefix can not be given. Note that YAZ will only search for libMemcached if Libgcrypt is also enabled. + Note that 0.40 of libmemcached is required. + + + --with-redis + + + &yaz; will be linked with the hiredis C library + to allow for result-set caching for ZOOM on a + redis server. + The prefix can not be given. Note that YAZ will only search + for hiredis if Libgcrypt is also enabled. + + + + @@ -1527,21 +1542,35 @@ If given and non-empty, libMemcached will be configured for the connection. - This option is inspected by ZOOM when a connection is established. + This option is inspected by ZOOM when a connection is established. If the memcached option is given and YAZ is compiled without libMemcached support, an internal diagnostic (10018) will be thrown. libMemcached support is available for YAZ 5.0.13 or later. If this option is supplied for an earlier version of YAZ, it is ignored. - The value of this option is a string passed verbatim to - the memcached function part of libMemcached. - Refer to man page - memcached(3). - Earlier versions of libMemcached - do not offer this function. In this case only the option - --server=host may - be given (YAZ emulates that part of libMemcached). + The value of this option is a list options - each is of the + form --name=value. + Option --server=host[:port] specifies a memcached + server. It may be repeated for multiple memcached servers. + Option --expire=seconds sets expiry time in seconds + for how long result sets are to be cached. + none + + redis + If given and non-empty, + a redis context will be created + for the connection. + This option is inspected by ZOOM when a connection is established. + If the redis option is given + and YAZ is compiled without redis support, an internal + diagnostic (10018) will be thrown. + redis support is available for YAZ 5.2.0 or later. If this + option is supplied for an earlier version of YAZ, it is + ignored. + The value of this option is a set options, similar to that + of the memcached setting. At this stage only --server=host[:port] + and --expire=seconds is supported. none