idzebra-moved-to-github.git
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.

19 years agoInclude XSLT libs in idzebra-config --libs output.
Adam Dickmeiss [Tue, 3 May 2005 12:31:28 +0000 (12:31 +0000)]
Include XSLT libs in idzebra-config --libs output.

19 years agoExtended the result set system. Added support for filtering/limits.
Adam Dickmeiss [Tue, 3 May 2005 09:11:34 +0000 (09:11 +0000)]
Extended the result set system. Added support for filtering/limits.
on the rsiamb result set class. Re-iactored key control so that
it is administrered by a proper "class".

19 years agoFixed a few printfs
Adam Dickmeiss [Tue, 3 May 2005 09:07:17 +0000 (09:07 +0000)]
Fixed a few printfs

19 years agoAttempt to fix bug #305. More scan tests.
Adam Dickmeiss [Mon, 2 May 2005 09:25:12 +0000 (09:25 +0000)]
Attempt to fix bug #305. More scan tests.

19 years agoAdded scan test.
Adam Dickmeiss [Mon, 2 May 2005 09:05:22 +0000 (09:05 +0000)]
Added scan test.

19 years agoDoxygen stuff: added more about each module.
Adam Dickmeiss [Sun, 1 May 2005 20:43:11 +0000 (20:43 +0000)]
Doxygen stuff: added more about each module.

19 years agoReorder declaration.
Adam Dickmeiss [Sun, 1 May 2005 07:38:51 +0000 (07:38 +0000)]
Reorder declaration.

19 years agoMake two xslt filters, "xslt" which does not split (reads whole
Adam Dickmeiss [Sun, 1 May 2005 07:17:46 +0000 (07:17 +0000)]
Make two xslt filters, "xslt" which does not split (reads whole
XML doc) and does not depend on xmlreader. "xslt1" which splits on
top-level and depend on xmlreader. xmlreader is unavailable in
Debian woody (stable).

19 years agoDoxygen fixes. Template for mainpage
Adam Dickmeiss [Fri, 29 Apr 2005 23:09:57 +0000 (23:09 +0000)]
Doxygen fixes. Template for mainpage

19 years agoWS + reformat updates
Adam Dickmeiss [Fri, 29 Apr 2005 23:09:30 +0000 (23:09 +0000)]
WS + reformat updates

19 years agoignores more files
Adam Dickmeiss [Fri, 29 Apr 2005 21:48:02 +0000 (21:48 +0000)]
ignores more files

19 years agoAdded this.
Adam Dickmeiss [Fri, 29 Apr 2005 21:46:14 +0000 (21:46 +0000)]
Added this.

19 years agoFixed bug #304: Fuzzy search = regExpr-2.
Adam Dickmeiss [Fri, 29 Apr 2005 18:56:22 +0000 (18:56 +0000)]
Fixed bug #304: Fuzzy search = regExpr-2.

19 years agoAllow -vdebuglevel to be specified in scan test
Adam Dickmeiss [Fri, 29 Apr 2005 18:43:30 +0000 (18:43 +0000)]
Allow -vdebuglevel to be specified in scan test

19 years agoFixed bug #305: Scan with preferredPositionInResponse <= -2 crashes.
Adam Dickmeiss [Fri, 29 Apr 2005 18:38:50 +0000 (18:38 +0000)]
Fixed bug #305: Scan with preferredPositionInResponse <= -2 crashes.

19 years agoReturn diagnostic "Scan: unsupported value of position-in-response"
Adam Dickmeiss [Fri, 29 Apr 2005 10:54:45 +0000 (10:54 +0000)]
Return diagnostic "Scan: unsupported value of position-in-response"
also if position > num.

19 years agoFix log message added in previus commit.
Adam Dickmeiss [Fri, 29 Apr 2005 10:37:12 +0000 (10:37 +0000)]
Fix log message added in previus commit.

19 years agoReturn diagnostic "Scan: unsupported value of position-in-response"
Adam Dickmeiss [Fri, 29 Apr 2005 10:36:13 +0000 (10:36 +0000)]
Return diagnostic "Scan: unsupported value of position-in-response"
if position is < 1. The rpn_scan could be modified to support any position
since dict_scan can handle it.

19 years agoRemove a few YLOG_LOGs
Adam Dickmeiss [Fri, 29 Apr 2005 10:33:53 +0000 (10:33 +0000)]
Remove a few YLOG_LOGs

19 years agoAbort configure if invalid --enable-mod value is given
Adam Dickmeiss [Thu, 28 Apr 2005 18:56:13 +0000 (18:56 +0000)]
Abort configure if invalid --enable-mod value is given

19 years agoOops forgot this
Adam Dickmeiss [Thu, 28 Apr 2005 14:58:24 +0000 (14:58 +0000)]
Oops forgot this

19 years agoNo longer used (renamed to invalid.mbx).
Adam Dickmeiss [Thu, 28 Apr 2005 14:58:12 +0000 (14:58 +0000)]
No longer used (renamed to invalid.mbx).

19 years agoUse mode to switch between presentation format brief and indexing.
Adam Dickmeiss [Thu, 28 Apr 2005 13:34:05 +0000 (13:34 +0000)]
Use mode to switch between presentation format brief and indexing.

19 years agoFixed set_param_int (did not append properly)
Adam Dickmeiss [Thu, 28 Apr 2005 13:33:20 +0000 (13:33 +0000)]
Fixed set_param_int (did not append properly)

19 years agoAdded test for adding XML content as buffer - not file.
Adam Dickmeiss [Thu, 28 Apr 2005 12:34:45 +0000 (12:34 +0000)]
Added test for adding XML content as buffer - not file.

19 years agoPass the following args to XSLT during retrieval: schema, filename,
Adam Dickmeiss [Thu, 28 Apr 2005 12:34:21 +0000 (12:34 +0000)]
Pass the following args to XSLT during retrieval: schema, filename,
score, size. Allow pass-thru option (without XSLT) using reserved
Zebra NS (i.e. original XML is returned).

19 years agoAdded utility function init_extractCtrl to initialize sequence
Adam Dickmeiss [Thu, 28 Apr 2005 12:13:04 +0000 (12:13 +0000)]
Added utility function init_extractCtrl to initialize sequence
numbers for indexing. Reworked end-of-file signaling for indexing
so that return code from file_extract_record really signals
if end-of-stream has been reached.

19 years agoGet rid of global log_level. WS updates
Adam Dickmeiss [Thu, 28 Apr 2005 11:25:24 +0000 (11:25 +0000)]
Get rid of global log_level. WS updates

19 years agoRemove unused members from file_read struct (sdr_..).
Adam Dickmeiss [Thu, 28 Apr 2005 09:32:09 +0000 (09:32 +0000)]
Remove unused members from file_read struct (sdr_..).

19 years agoMake the mailbox test as a program.
Adam Dickmeiss [Thu, 28 Apr 2005 09:18:20 +0000 (09:18 +0000)]
Make the mailbox test as a program.

19 years agoAdded new fundamental filter 'xslt'. This filter reads XML records
Adam Dickmeiss [Thu, 28 Apr 2005 08:20:39 +0000 (08:20 +0000)]
Added new fundamental filter 'xslt'. This filter reads XML records
and uses LibXSLT for both indexing (extract) and retrieval (present).
During indexing the filter generates a Zebra indexing record via XSLT
which describes how Zebra is to index the record. Because the driver is
XSLT driven it can use any X-Path plus logic behind the scenes and is thus
more powerful than xelm/elm in .abs. The XSLT can accept parameters from
Zebra. For example, if a date is received the filter could make a date
index. The filter also uses allows splitting of XML records during
indexing, so that MARC collections can be indexed directly (but it
is quite limited and takes place before XSLT is invoked: XSLT requires
a DOM structure in memory). Refer ot example test case in in test/xslt.

19 years agoRemove unused var
Adam Dickmeiss [Thu, 28 Apr 2005 08:12:28 +0000 (08:12 +0000)]
Remove unused var

19 years agoRemove the obsolete rset public control variables. WS updates.
Adam Dickmeiss [Tue, 26 Apr 2005 10:09:38 +0000 (10:09 +0000)]
Remove the obsolete rset public control variables. WS updates.

19 years agoUse Bib1-attribute defines. Minor WS-updates.
Adam Dickmeiss [Tue, 26 Apr 2005 08:11:22 +0000 (08:11 +0000)]
Use Bib1-attribute defines. Minor WS-updates.

19 years agoRefactoring. Let more search utilities return ZEBRA_RES rather than
Adam Dickmeiss [Mon, 25 Apr 2005 21:40:34 +0000 (21:40 +0000)]
Refactoring. Let more search utilities return ZEBRA_RES rather than
RSET. WS updates.

19 years agoOptimize multiple binary ANDs + OPs to multi ANDs, ORs.
Adam Dickmeiss [Mon, 25 Apr 2005 11:54:08 +0000 (11:54 +0000)]
Optimize multiple binary ANDs + OPs to multi ANDs, ORs.

19 years agoRemove unused var
Adam Dickmeiss [Mon, 25 Apr 2005 10:45:28 +0000 (10:45 +0000)]
Remove unused var

19 years agoRemove assert: if end-of-stream PP may not be leaf
Adam Dickmeiss [Mon, 25 Apr 2005 10:42:08 +0000 (10:42 +0000)]
Remove assert: if end-of-stream PP may not be leaf

19 years agoFixed bug #282: xml tag named 'var'. Also made the grs.sgml filter
Adam Dickmeiss [Sat, 23 Apr 2005 16:30:58 +0000 (16:30 +0000)]
Fixed bug #282: xml tag named 'var'. Also made the grs.sgml filter
ignore <?.. ?> sections so they are not treated as regular elements.

19 years agoRemove fprintf
Adam Dickmeiss [Wed, 20 Apr 2005 10:21:29 +0000 (10:21 +0000)]
Remove fprintf

19 years agoThis test checks for bug #281 as well.
Adam Dickmeiss [Wed, 20 Apr 2005 10:20:32 +0000 (10:20 +0000)]
This test checks for bug #281 as well.

19 years agoAllow do_query(_x) to accept exphits of -1, which means any number
Adam Dickmeiss [Wed, 20 Apr 2005 10:18:19 +0000 (10:18 +0000)]
Allow do_query(_x) to accept exphits of -1, which means any number
of hits but OK.

19 years agoWS updates
Adam Dickmeiss [Wed, 20 Apr 2005 10:17:14 +0000 (10:17 +0000)]
WS updates

19 years agoRemoved a few log entries
Adam Dickmeiss [Wed, 20 Apr 2005 10:16:29 +0000 (10:16 +0000)]
Removed a few log entries