idzebra-moved-to-github.git
19 years agoPass staticrank in buffer_extract_record. This is what we did for
Adam Dickmeiss [Fri, 19 Aug 2005 09:45:24 +0000 (09:45 +0000)]
Pass staticrank in buffer_extract_record. This is what we did for
file_extract_record before.

19 years agoExtend the ranking interface so staticrank is passed to calc method.
Adam Dickmeiss [Fri, 19 Aug 2005 09:21:34 +0000 (09:21 +0000)]
Extend the ranking interface so staticrank is passed to calc method.
Added simple staticrank algorithm/example.

19 years agoFix this test so that it works with 'make distcheck'.
Adam Dickmeiss [Fri, 19 Aug 2005 09:20:21 +0000 (09:20 +0000)]
Fix this test so that it works with 'make distcheck'.

19 years agoUpdates for Windows
Adam Dickmeiss [Thu, 18 Aug 2005 19:20:37 +0000 (19:20 +0000)]
Updates for Windows

19 years agoAdded support for static ranking. Bug #174. The staticrank is enabled
Adam Dickmeiss [Thu, 18 Aug 2005 12:50:17 +0000 (12:50 +0000)]
Added support for static ranking. Bug #174. The staticrank is enabled
by specifying staticrank:1 in .cfg. The xslt1 was removed. Filter xslt
can do it all and support specifying split=1. XSLT filter can specify
staticrank using attribute 'z:rank'. Added tests for staticrank and
record ID match in xslt3.c, xslt4.c.

19 years agoAdded test t13 which illustrates the resource API and tests it.
Adam Dickmeiss [Wed, 17 Aug 2005 21:30:31 +0000 (21:30 +0000)]
Added test t13 which illustrates the resource API and tests it.

19 years agoAllow NULL config to be given for zebra_start and zebra_start_res.
Adam Dickmeiss [Wed, 17 Aug 2005 21:29:44 +0000 (21:29 +0000)]
Allow NULL config to be given for zebra_start and zebra_start_res.

19 years agoAdded a utility res_clear which removes/clears all items in a
Adam Dickmeiss [Wed, 17 Aug 2005 21:28:07 +0000 (21:28 +0000)]
Added a utility res_clear which removes/clears all items in a
resource handle.

19 years agoheikki's comments added, but not integrated yet
Marc Cromme [Fri, 12 Aug 2005 13:50:51 +0000 (13:50 +0000)]
heikki's comments added, but not integrated yet

19 years agomake system error corrected
Marc Cromme [Fri, 12 Aug 2005 13:34:10 +0000 (13:34 +0000)]
make system error corrected

19 years agoadded changed entities
Marc Cromme [Fri, 12 Aug 2005 13:19:06 +0000 (13:19 +0000)]
added changed entities

19 years agofinished re-write of chaper 7 and zebrasrv man page, now hopefully much more informat...
Marc Cromme [Fri, 12 Aug 2005 12:44:36 +0000 (12:44 +0000)]
finished re-write of chaper 7 and zebrasrv man page, now hopefully much more informative than before. All relevant YAZ frontend options are mentioned as well as zebra specific options and syntaxes

19 years agoAllow record subsystem to return system numbers (document ID) with a fake
Adam Dickmeiss [Tue, 9 Aug 2005 12:30:46 +0000 (12:30 +0000)]
Allow record subsystem to return system numbers (document ID) with a fake
offset. This is to test that Perl API and other components works properly
with 64-bit integers.

19 years agoRemoved Perl API. It's a separate CVS project idzebra-perl now.
Adam Dickmeiss [Tue, 9 Aug 2005 10:18:00 +0000 (10:18 +0000)]
Removed Perl API. It's a separate CVS project idzebra-perl now.

19 years agoComment zebra_result_set_term_{no,info}.
Adam Dickmeiss [Tue, 9 Aug 2005 10:01:03 +0000 (10:01 +0000)]
Comment zebra_result_set_term_{no,info}.

19 years agoAdded extra parameter setname for zebra scan functions. This allows
Adam Dickmeiss [Tue, 9 Aug 2005 09:35:25 +0000 (09:35 +0000)]
Added extra parameter setname for zebra scan functions. This allows
a scan to be limited by a result set (NULL for no limit). If no
result set is given for scan functions, attribute 8 is inspected.
If present, value of attribute 8 is used as limit.

19 years agoAdded modules location to be returned.
Adam Dickmeiss [Tue, 9 Aug 2005 08:58:18 +0000 (08:58 +0000)]
Added modules location to be returned.

19 years agoRemove YLOG_LOG msg
Adam Dickmeiss [Mon, 8 Aug 2005 12:04:02 +0000 (12:04 +0000)]
Remove YLOG_LOG msg

19 years agoRemove comment which issues automake warning
Adam Dickmeiss [Mon, 8 Aug 2005 11:08:52 +0000 (11:08 +0000)]
Remove comment which issues automake warning

19 years agoupdated the zebrasrv man page by copying relevant files over from yaz documentation...
Marc Cromme [Fri, 5 Aug 2005 14:39:12 +0000 (14:39 +0000)]
updated the zebrasrv man page by copying relevant files over from yaz documentation. Still miss to write a nice description, and also updating of the same info in the zebra manual is needed

19 years agoFixed bug #400: Generic record IDs doesn't match.
Adam Dickmeiss [Fri, 5 Aug 2005 10:40:13 +0000 (10:40 +0000)]
Fixed bug #400: Generic record IDs doesn't match.

19 years agoAdded include stdlib.h
Adam Dickmeiss [Fri, 5 Aug 2005 10:33:05 +0000 (10:33 +0000)]
Added include stdlib.h

19 years agoGet rid of a few YLOG_LOGs
Adam Dickmeiss [Wed, 3 Aug 2005 07:44:27 +0000 (07:44 +0000)]
Get rid of a few YLOG_LOGs

19 years agoReduce memory considerably during bug merges (heap-recursive ones).
Adam Dickmeiss [Thu, 21 Jul 2005 13:05:16 +0000 (13:05 +0000)]
Reduce memory considerably during bug merges (heap-recursive ones).

19 years agomade extra check for presence of config.sub and config.guess to aviod break of build...
Marc Cromme [Mon, 18 Jul 2005 10:05:21 +0000 (10:05 +0000)]
made extra check for presence of config.sub and config.guess to aviod break of build if newer autotools did install these as symlinks

19 years agoFixed bug #317: xelm only indexes cdata at matching node (not children).
Adam Dickmeiss [Wed, 29 Jun 2005 16:52:26 +0000 (16:52 +0000)]
Fixed bug #317: xelm only indexes cdata at matching node (not children).

19 years agoinclude id in snipet xsl
Adam Dickmeiss [Wed, 29 Jun 2005 16:50:08 +0000 (16:50 +0000)]
include id in snipet xsl

19 years agoFixed a bug in ISAMB splitting. A new block was attempted to be read
Adam Dickmeiss [Wed, 29 Jun 2005 12:31:46 +0000 (12:31 +0000)]
Fixed a bug in ISAMB splitting. A new block was attempted to be read
while it was not yet flushed to disc. Should now be fixed.

19 years agoTruncate extremly long safari record lines.
Adam Dickmeiss [Tue, 28 Jun 2005 12:18:32 +0000 (12:18 +0000)]
Truncate extremly long safari record lines.

19 years agoXSLT filter reads z:record construct which may define record ID
Adam Dickmeiss [Fri, 24 Jun 2005 13:45:54 +0000 (13:45 +0000)]
XSLT filter reads z:record construct which may define record ID
for tree/record.

19 years agoRegister type (w,p) + set-use/string attriute combined in register
Adam Dickmeiss [Thu, 23 Jun 2005 06:45:46 +0000 (06:45 +0000)]
Register type (w,p) + set-use/string attriute combined in register
id and stored in dictionary. Experimental (NATTR=1) support for plain
string attributes everywhere. That doesn't pass tests yet, since there
is no mapping in search phase.

19 years agoAdded support for term references (queryIDs) for searchResult.
Adam Dickmeiss [Wed, 22 Jun 2005 19:42:37 +0000 (19:42 +0000)]
Added support for term references (queryIDs) for searchResult.

19 years agoIgnoer zebrasrv.pid
Mike Taylor [Mon, 20 Jun 2005 14:17:50 +0000 (14:17 +0000)]
Ignoer zebrasrv.pid

19 years agoFor RPM spec, use License: rather than Copyright: (obsolete)
Adam Dickmeiss [Thu, 16 Jun 2005 09:08:53 +0000 (09:08 +0000)]
For RPM spec, use License: rather than Copyright: (obsolete)

19 years agoRemoved map_only arg from chrmaptab_create. Added skeleton for proper
Adam Dickmeiss [Wed, 15 Jun 2005 21:31:45 +0000 (21:31 +0000)]
Removed map_only arg from chrmaptab_create. Added skeleton for proper
charmap test.

19 years agoRemove prototype for removed function zebra_prim
Adam Dickmeiss [Wed, 15 Jun 2005 18:52:49 +0000 (18:52 +0000)]
Remove prototype for removed function zebra_prim

19 years agoRename xslt filter attribute 'field' to 'name'.
Adam Dickmeiss [Wed, 15 Jun 2005 15:30:05 +0000 (15:30 +0000)]
Rename xslt filter attribute 'field' to 'name'.

19 years agoUse HAVE_UNISTD_H when including unistd.h.
Adam Dickmeiss [Tue, 14 Jun 2005 20:28:53 +0000 (20:28 +0000)]
Use HAVE_UNISTD_H when including unistd.h.

19 years agoAdd check for sys/resource.h
Adam Dickmeiss [Tue, 14 Jun 2005 20:28:05 +0000 (20:28 +0000)]
Add check for sys/resource.h

19 years agoRemove YLOG_LOG msg.
Adam Dickmeiss [Tue, 14 Jun 2005 20:27:33 +0000 (20:27 +0000)]
Remove YLOG_LOG msg.

19 years agoAdded new test/filter directory with filter tests.
Adam Dickmeiss [Tue, 14 Jun 2005 20:03:01 +0000 (20:03 +0000)]
Added new test/filter directory with filter tests.

19 years agoThe start_up routine sets an upper-limit on CPU seconds so that
Adam Dickmeiss [Tue, 14 Jun 2005 20:02:30 +0000 (20:02 +0000)]
The start_up routine sets an upper-limit on CPU seconds so that
tests with bad indefinite loops stop at some point.

19 years agoMake this test faster.
Adam Dickmeiss [Tue, 14 Jun 2005 20:01:21 +0000 (20:01 +0000)]
Make this test faster.

19 years agoFixed bug #382: filter text never stops. Also added facility for
Adam Dickmeiss [Tue, 14 Jun 2005 18:28:21 +0000 (18:28 +0000)]
Fixed bug #382: filter text never stops. Also added facility for
text filter separator.

19 years agoFixed bug #381: grs.xml produces warning.
Adam Dickmeiss [Tue, 14 Jun 2005 18:27:23 +0000 (18:27 +0000)]
Fixed bug #381: grs.xml produces warning.

19 years agoRemoved replace_tokens code that has not been used for quite some
Adam Dickmeiss [Tue, 14 Jun 2005 12:42:48 +0000 (12:42 +0000)]
Removed replace_tokens code that has not been used for quite some
time.

19 years agoAdded test for search on \\{.
Adam Dickmeiss [Tue, 14 Jun 2005 12:42:19 +0000 (12:42 +0000)]
Added test for search on \\{.

19 years agoAdded more charset tests
Adam Dickmeiss [Tue, 14 Jun 2005 10:33:31 +0000 (10:33 +0000)]
Added more charset tests

19 years agoRecognize resource estimatehits again. Allow server to omit records
Adam Dickmeiss [Mon, 13 Jun 2005 10:29:20 +0000 (10:29 +0000)]
Recognize resource estimatehits again. Allow server to omit records
for bend_fetch in the case of estimate/approximate hits in effect.
Requires YAZ 2.1.9.

19 years agoAdded routine res_get_int which returns resource value as int.
Adam Dickmeiss [Mon, 13 Jun 2005 10:27:52 +0000 (10:27 +0000)]
Added routine res_get_int which returns resource value as int.

19 years agoFor approx_limit == 0, use unlimited hit count
Adam Dickmeiss [Fri, 10 Jun 2005 10:55:18 +0000 (10:55 +0000)]
For approx_limit == 0, use unlimited hit count

19 years agoFixes for hit estimates. Added zebra_set_approx_limit.
Adam Dickmeiss [Thu, 9 Jun 2005 10:39:52 +0000 (10:39 +0000)]
Fixes for hit estimates. Added zebra_set_approx_limit.

19 years agoAvoid mixed stmt / var declare
Adam Dickmeiss [Tue, 7 Jun 2005 15:12:39 +0000 (15:12 +0000)]
Avoid mixed stmt / var declare

19 years agoSave register type for TERMIDs and snippets.
Adam Dickmeiss [Tue, 7 Jun 2005 14:53:38 +0000 (14:53 +0000)]
Save register type for TERMIDs and snippets.

19 years agoChange xslt NS to http://indexdata.dk/zebra/xslt/1. Add snippet area snippet.version.1
Adam Dickmeiss [Tue, 7 Jun 2005 13:10:52 +0000 (13:10 +0000)]
Change xslt NS to indexdata.dk/zebra/xslt/1. Add snippet area
for root document if snippet attribute is defined.

19 years agoAdded snippet stylesheet test.
Adam Dickmeiss [Tue, 7 Jun 2005 11:38:16 +0000 (11:38 +0000)]
Added snippet stylesheet test.

19 years agoAdded snippet utilities and snippet window implementation.
Adam Dickmeiss [Tue, 7 Jun 2005 11:36:38 +0000 (11:36 +0000)]
Added snippet utilities and snippet window implementation.
XSLT filter gets snippet as simple string for now.

19 years agoMake a copy of ord(inals) in rset_term_create.
Adam Dickmeiss [Tue, 7 Jun 2005 07:41:04 +0000 (07:41 +0000)]
Make a copy of ord(inals) in rset_term_create.

19 years agoSave ord(inal) indexes IDs so we can make snippets properly.
Adam Dickmeiss [Mon, 6 Jun 2005 21:31:08 +0000 (21:31 +0000)]
Save ord(inal) indexes IDs so we can make snippets properly.

19 years agoFixed and added a few Doxygen comments. Got rid of redundant function
Adam Dickmeiss [Thu, 2 Jun 2005 11:59:53 +0000 (11:59 +0000)]
Fixed and added a few Doxygen comments. Got rid of redundant function
rset_get_no_terms.

19 years agoProcess all source with doyxgen
Adam Dickmeiss [Thu, 2 Jun 2005 11:58:12 +0000 (11:58 +0000)]
Process all source with doyxgen

19 years agoEnsure correct fname marcschema.xml is part of dist
Adam Dickmeiss [Wed, 1 Jun 2005 14:42:29 +0000 (14:42 +0000)]
Ensure correct fname marcschema.xml is part of dist

19 years agoAllow split path/level to be specified in XSLT conf.
Adam Dickmeiss [Wed, 1 Jun 2005 07:32:46 +0000 (07:32 +0000)]
Allow split path/level to be specified in XSLT conf.

19 years agoXSLT filter uses XML config for to list each supported recordSchema.
Adam Dickmeiss [Tue, 31 May 2005 17:36:16 +0000 (17:36 +0000)]
XSLT filter uses XML config for to list each supported recordSchema.

19 years agoMake passwd_-vars local. Make zebra_start log Zebra version
Adam Dickmeiss [Tue, 31 May 2005 17:10:06 +0000 (17:10 +0000)]
Make passwd_-vars local. Make zebra_start log Zebra version

19 years agoXSLT filter uses XML config for to list each supported recordSchema.
Adam Dickmeiss [Tue, 31 May 2005 14:18:17 +0000 (14:18 +0000)]
XSLT filter uses XML config for to list each supported recordSchema.

19 years agoTowards snippets/high-light of matched terms in records. Added
Adam Dickmeiss [Tue, 31 May 2005 13:01:36 +0000 (13:01 +0000)]
Towards snippets/high-light of matched terms in records. Added
zebra_get_hit_vector that gets hit terms for record with given
ID in a result set. Added print_rec_keys which dumps indexed terms.

19 years agoFor loglevel=searchhits print terms+search keys
Adam Dickmeiss [Tue, 31 May 2005 07:29:10 +0000 (07:29 +0000)]
For loglevel=searchhits print terms+search keys

19 years agoAvoid duplicate level print for test api
Adam Dickmeiss [Tue, 31 May 2005 07:22:20 +0000 (07:22 +0000)]
Avoid duplicate level print for test api

19 years agoImplemented zebra.cfg directive 'passwd.c' which specifies user accounts
Adam Dickmeiss [Mon, 30 May 2005 13:27:08 +0000 (13:27 +0000)]
Implemented zebra.cfg directive 'passwd.c' which specifies user accounts
file with encrypted passwords. The directive 'passwd' specifies user
accounts file with clear-text passwords. The previous version of Zebra
used plain/clear text depending on configuration automatically. That
caused upgrade trouble. Bug #356.

19 years agoDocument directives passwd,passwd.c,perm
Adam Dickmeiss [Mon, 30 May 2005 13:22:11 +0000 (13:22 +0000)]
Document directives passwd,passwd.c,perm

19 years agoAvoid mix vardecl/stmt.
Adam Dickmeiss [Tue, 24 May 2005 20:40:15 +0000 (20:40 +0000)]
Avoid mix vardecl/stmt.

19 years agoFix spelling
Adam Dickmeiss [Tue, 24 May 2005 20:39:02 +0000 (20:39 +0000)]
Fix spelling

19 years agofix link
Adam Dickmeiss [Tue, 24 May 2005 12:36:26 +0000 (12:36 +0000)]
fix link

19 years agoAdded support for temr hit counts. This was not in place for earlier
Adam Dickmeiss [Tue, 24 May 2005 11:35:41 +0000 (11:35 +0000)]
Added support for temr hit counts. This was not in place for earlier
1.4 versions, but is present in the 1.3 series. Bug #124.

19 years agoAllow loglevel string to be specified for tests as first arg
Adam Dickmeiss [Tue, 24 May 2005 11:27:48 +0000 (11:27 +0000)]
Allow loglevel string to be specified for tests as first arg

19 years agoWS updates
Adam Dickmeiss [Tue, 24 May 2005 11:27:19 +0000 (11:27 +0000)]
WS updates

19 years agoFixed bug #342: estimate hit not in effect for multi-ands.
Adam Dickmeiss [Wed, 18 May 2005 11:47:50 +0000 (11:47 +0000)]
Fixed bug #342: estimate hit not in effect for multi-ands.

19 years agoMake bf_cache return ZEBRA_RES so we can check if shadow was properly
Adam Dickmeiss [Tue, 17 May 2005 08:50:48 +0000 (08:50 +0000)]
Make bf_cache return ZEBRA_RES so we can check if shadow was properly
enabled. Fixed leak that could occur if zebra_begin_trans failed.

19 years agoAdded new source to WIN32 makefile
Adam Dickmeiss [Fri, 13 May 2005 09:41:59 +0000 (09:41 +0000)]
Added new source to WIN32 makefile

19 years agoFixed crash that could occur if ES update transaction failed.
Adam Dickmeiss [Thu, 12 May 2005 10:17:07 +0000 (10:17 +0000)]
Fixed crash that could occur if ES update transaction failed.

19 years agoAdded sample directive for permissions
Adam Dickmeiss [Thu, 12 May 2005 10:16:26 +0000 (10:16 +0000)]
Added sample directive for permissions

19 years agoAdded configure check for crypt.
Adam Dickmeiss [Thu, 12 May 2005 10:10:32 +0000 (10:10 +0000)]
Added configure check for crypt.

19 years agoAlign Zebra API more so that ZEBRA_RES is used to signal error/OK.
Adam Dickmeiss [Wed, 11 May 2005 12:39:36 +0000 (12:39 +0000)]
Align Zebra API more so that ZEBRA_RES is used to signal error/OK.
Error code should only be checked when ZEBRA_FAIL is returned.
Updated sort test t4.c to really do sorting!

19 years agoWS updates
Adam Dickmeiss [Wed, 11 May 2005 12:36:45 +0000 (12:36 +0000)]
WS updates

19 years agoAdded a few files to be ignored
Adam Dickmeiss [Mon, 9 May 2005 21:55:11 +0000 (21:55 +0000)]
Added a few files to be ignored

19 years agoFixed bug #108: File updates sometimes produce duplicates.
Adam Dickmeiss [Mon, 9 May 2005 19:57:35 +0000 (19:57 +0000)]
Fixed bug #108: File updates sometimes produce duplicates.

19 years agoFix leak that occurred whtn diagnostic was issued
Adam Dickmeiss [Mon, 9 May 2005 13:24:09 +0000 (13:24 +0000)]
Fix leak that occurred whtn diagnostic was issued

19 years agoAdded check which creates many databases.
Adam Dickmeiss [Mon, 9 May 2005 13:22:44 +0000 (13:22 +0000)]
Added check which creates many databases.

19 years agoAvoid mix vardecl/stmt
Adam Dickmeiss [Mon, 9 May 2005 12:03:59 +0000 (12:03 +0000)]
Avoid mix vardecl/stmt

19 years agoOnly enable xslt filter if libxslt 1.1.12 or newer is present. This
Adam Dickmeiss [Mon, 9 May 2005 11:39:57 +0000 (11:39 +0000)]
Only enable xslt filter if libxslt 1.1.12 or newer is present. This
corresponds to libxml2 version 2.6.15 or later and should ensure
a recent xmlreader API is available.

19 years agoFixes for limits - introduced in previos commit
Adam Dickmeiss [Mon, 9 May 2005 10:28:09 +0000 (10:28 +0000)]
Fixes for limits - introduced in previos commit

19 years agoChanged semantics of zebra_set_limit. First parameter 'exclude' renamed
Adam Dickmeiss [Mon, 9 May 2005 10:16:12 +0000 (10:16 +0000)]
Changed semantics of zebra_set_limit. First parameter 'exclude' renamed
to 'complement'.

19 years agoOmit return stmt from void func
Adam Dickmeiss [Mon, 9 May 2005 10:04:30 +0000 (10:04 +0000)]
Omit return stmt from void func

19 years agoFixed bug #321: zebra segvs if lock dir does not exist.
Adam Dickmeiss [Fri, 6 May 2005 18:59:35 +0000 (18:59 +0000)]
Fixed bug #321: zebra segvs if lock dir does not exist.

19 years agoMake test for bug #317
Adam Dickmeiss [Wed, 4 May 2005 12:53:05 +0000 (12:53 +0000)]
Make test for bug #317

19 years agoUsing zint for testlib hits. Extended sort test to test for bug #316.
Adam Dickmeiss [Wed, 4 May 2005 10:50:09 +0000 (10:50 +0000)]
Using zint for testlib hits. Extended sort test to test for bug #316.

19 years agoFixed bug #316: Numerical sort does not work for search.
Adam Dickmeiss [Wed, 4 May 2005 10:48:39 +0000 (10:48 +0000)]
Fixed bug #316: Numerical sort does not work for search.
We copy all attributes for attribute+term to sort attributes.

19 years agoMake equivalent work with trunc=104, 105. Added test for it.
Adam Dickmeiss [Tue, 3 May 2005 14:04:31 +0000 (14:04 +0000)]
Make equivalent work with trunc=104, 105. Added test for it.

19 years agoFixed broken trunc=103, due to missing break stmt in switch.
Adam Dickmeiss [Tue, 3 May 2005 13:57:44 +0000 (13:57 +0000)]
Fixed broken trunc=103, due to missing break stmt in switch.