idzebra-moved-to-github.git
18 years agoFix for bug 460
Adam Dickmeiss [Mon, 6 Feb 2006 23:22:28 +0000 (23:22 +0000)]
Fix for bug 460

18 years agoAdded test for bug #460
Adam Dickmeiss [Mon, 6 Feb 2006 23:21:49 +0000 (23:21 +0000)]
Added test for bug #460

18 years agoDont index attributes. Bug #460
Adam Dickmeiss [Mon, 6 Feb 2006 13:34:13 +0000 (13:34 +0000)]
Dont index attributes. Bug #460

18 years agoFix non-init member sortSpec (introduced by previous commit)
Adam Dickmeiss [Thu, 26 Jan 2006 22:17:16 +0000 (22:17 +0000)]
Fix non-init member sortSpec (introduced by previous commit)

18 years agoRemoved zebra.xml from XMLFILES (was added in 1.30). If it is present
Adam Dickmeiss [Mon, 23 Jan 2006 13:59:48 +0000 (13:59 +0000)]
Removed zebra.xml from XMLFILES (was added in 1.30). If it is present
documentation will have to be build on distribution dists (and we
don't want to require people to have jade installed).

18 years agoRemove unused html files
Adam Dickmeiss [Mon, 23 Jan 2006 07:04:34 +0000 (07:04 +0000)]
Remove unused html files

18 years agoFixed 'make dist' by including all HTML files in HTMLFILES.
Adam Dickmeiss [Sun, 22 Jan 2006 00:24:10 +0000 (00:24 +0000)]
Fixed 'make dist' by including all HTML files in HTMLFILES.

18 years agoFixed bug #451: Sorted result set disappears .. NEW BEHAVIOR
Adam Dickmeiss [Thu, 19 Jan 2006 13:31:08 +0000 (13:31 +0000)]
Fixed bug #451: Sorted result set disappears .. NEW BEHAVIOR

18 years agoRemoved unneded initializer
Adam Dickmeiss [Thu, 19 Jan 2006 13:30:02 +0000 (13:30 +0000)]
Removed unneded initializer

18 years agocorrected build error by including changes in zenra.xml.in, not in zebra.xml file
Marc Cromme [Thu, 19 Jan 2006 09:26:59 +0000 (09:26 +0000)]
corrected build error by including changes in zenra.xml.in, not in zebra.xml file

18 years agostarted re-modelling documentation to be less Z39.50- centric, GRS-centric and BIB1...
Marc Cromme [Wed, 18 Jan 2006 14:00:54 +0000 (14:00 +0000)]
started re-modelling documentation to be less Z39.50- centric, GRS-centric and BIB1-centric
added general chapter on architecture, describing different record models (TEXT, GRS, ALVIS XML/DOM), which is not finished at all.

18 years agocorrected bug in disthook rule which always wrote "zebraidx.html not found in HTMLFI...
Marc Cromme [Tue, 17 Jan 2006 21:26:43 +0000 (21:26 +0000)]
corrected bug in disthook rule which always wrote "zebraidx.html  not found in HTMLFILES", even if other files where missing. Added new installation.debian.html to HTMLFILES to prevent make dist fail.

18 years agoadded sentence on sever side CQL parsing
Marc Cromme [Tue, 17 Jan 2006 13:03:34 +0000 (13:03 +0000)]
added sentence on sever side CQL parsing

18 years agoall URL's checked, and updated our commented when no active URL was found.
Marc Cromme [Tue, 17 Jan 2006 13:00:02 +0000 (13:00 +0000)]
all URL's checked, and updated our commented when no active URL was found.
Added paragraph on SRW/SRU and ALVIX XSLT filter

18 years agotaken dead Redhat 7.X URL package links out
Marc Cromme [Tue, 17 Jan 2006 12:16:12 +0000 (12:16 +0000)]
taken dead Redhat 7.X URL package links out

18 years agoadded section on GNU/Debian Linux installation
Marc Cromme [Tue, 17 Jan 2006 12:06:53 +0000 (12:06 +0000)]
added section on GNU/Debian Linux installation

18 years agoFixed bug #451: Sorted result set disappears after update
Adam Dickmeiss [Thu, 12 Jan 2006 13:21:45 +0000 (13:21 +0000)]
Fixed bug #451: Sorted result set disappears after update

18 years agoAdded a test case for bug #447
Adam Dickmeiss [Thu, 15 Dec 2005 13:28:46 +0000 (13:28 +0000)]
Added a test case for bug #447

18 years agoAdded a test utility marcos TL_ASSERT, TL_ASSERT2
Adam Dickmeiss [Thu, 15 Dec 2005 13:28:32 +0000 (13:28 +0000)]
Added a test utility marcos TL_ASSERT, TL_ASSERT2

18 years agoIgnore generated file "out"
Mike Taylor [Wed, 14 Dec 2005 10:28:25 +0000 (10:28 +0000)]
Ignore generated file "out"

18 years agoMoved out of the Zebra archive, and into ZOOM-Perl, as these
Mike Taylor [Wed, 14 Dec 2005 09:05:43 +0000 (09:05 +0000)]
Moved out of the Zebra archive, and into ZOOM-Perl, as these
files are not really part of the GILS example but part of the
ZOOM-Perl test-suite.

18 years agoStore unique ordinal integer for database. This is to begin solving
Adam Dickmeiss [Tue, 13 Dec 2005 13:47:35 +0000 (13:47 +0000)]
Store unique ordinal integer for database. This is to begin solving
problem with drop and record IDs. Bug #447.

18 years agoadded alvis filter to debian package mechanism
Marc Cromme [Tue, 13 Dec 2005 09:24:36 +0000 (09:24 +0000)]
added alvis filter to debian package mechanism

18 years agoUse isam:b so that the "drop" extended service works.
Mike Taylor [Mon, 12 Dec 2005 17:24:49 +0000 (17:24 +0000)]
Use isam:b so that the "drop" extended service works.

18 years agoRemoved zebra_clearError. The scheme is meant to be .. Return
Adam Dickmeiss [Fri, 9 Dec 2005 11:33:32 +0000 (11:33 +0000)]
Removed zebra_clearError. The scheme is meant to be .. Return
ZEBRA_FAIL on failure. Only then it is meaningful to check for error code.
It is therefore no longer necessary to clear it (reset it).

18 years agoDrop database returns diagnostif if isam is not isam:b
Adam Dickmeiss [Fri, 9 Dec 2005 10:56:59 +0000 (10:56 +0000)]
Drop database returns diagnostif if isam is not isam:b

18 years agoFix bad printing of sysno
Adam Dickmeiss [Fri, 9 Dec 2005 10:49:10 +0000 (10:49 +0000)]
Fix bad printing of sysno

18 years agoFor buffer_extract_sysno, match criteria is only used if SYSNO pointer
Adam Dickmeiss [Fri, 9 Dec 2005 10:45:04 +0000 (10:45 +0000)]
For buffer_extract_sysno, match criteria is only used if SYSNO pointer
is NULL. If sysno is non-NULL, that sysno is used. This should make
record update with opaque record ID work in a consistent manner.

18 years agoDon't use recordId.
Mike Taylor [Fri, 9 Dec 2005 10:14:52 +0000 (10:14 +0000)]
Don't use recordId.

18 years agoThis member was not initialized in some cases (valgrind)
Adam Dickmeiss [Thu, 8 Dec 2005 11:10:03 +0000 (11:10 +0000)]
This member was not initialized in some cases (valgrind)

18 years agoFixed bug #446: iso2709 filter SEGVs on bad input data.
Adam Dickmeiss [Thu, 8 Dec 2005 11:06:49 +0000 (11:06 +0000)]
Fixed bug #446: iso2709 filter SEGVs on bad input data.

18 years agoSomewhat improved diagnostics for update with opaque record ID
Adam Dickmeiss [Wed, 7 Dec 2005 17:00:46 +0000 (17:00 +0000)]
Somewhat improved diagnostics for update with opaque record ID

18 years agoNew
Mike Taylor [Wed, 7 Dec 2005 15:32:34 +0000 (15:32 +0000)]
New

18 years agoAvoid stmt/var declare. Omit useless static keyword
Adam Dickmeiss [Tue, 6 Dec 2005 15:36:38 +0000 (15:36 +0000)]
Avoid stmt/var declare. Omit useless static keyword

18 years agoadded grs node construction - not finished yet
Marc Cromme [Mon, 5 Dec 2005 13:58:52 +0000 (13:58 +0000)]
added grs node construction - not finished yet

18 years agoadded first version of CSV GRS filter
Marc Cromme [Mon, 5 Dec 2005 12:18:40 +0000 (12:18 +0000)]
added first version of CSV GRS filter
still missing is
- build of GRS data1 node tree to be given to indexer
- control of how to call back zebra such that each record per line gets indexed
  on it's own
- configuration file reading and config parameter passing

18 years agoAllow string value v in @attr 10=v for SearchResult-1 reference
Adam Dickmeiss [Tue, 29 Nov 2005 11:38:34 +0000 (11:38 +0000)]
Allow string value v in @attr 10=v for SearchResult-1 reference

18 years agoDisable limit debugging
Adam Dickmeiss [Tue, 29 Nov 2005 09:37:04 +0000 (09:37 +0000)]
Disable limit debugging

18 years agoFix grs.sgml to use off_t rather than int for file offsets
Adam Dickmeiss [Wed, 16 Nov 2005 04:33:22 +0000 (04:33 +0000)]
Fix grs.sgml to use off_t rather than int for file offsets

19 years agoAllow updates on empty records.
Adam Dickmeiss [Thu, 10 Nov 2005 11:25:47 +0000 (11:25 +0000)]
Allow updates on empty records.

19 years agoHandle zh==NULL in print_dict_item
Adam Dickmeiss [Thu, 10 Nov 2005 11:25:13 +0000 (11:25 +0000)]
Handle zh==NULL in print_dict_item

19 years agoAdded a test for bug #432
Adam Dickmeiss [Thu, 10 Nov 2005 08:08:19 +0000 (08:08 +0000)]
Added a test for bug #432

19 years agoLog test errors to yaz_log so ease trace of automated tests
Adam Dickmeiss [Wed, 9 Nov 2005 12:01:09 +0000 (12:01 +0000)]
Log test errors to yaz_log so ease trace of automated tests

19 years agoRegister no longer uses register type prefix (REG_TYPE_PREFIX).
Adam Dickmeiss [Wed, 9 Nov 2005 11:51:29 +0000 (11:51 +0000)]
Register no longer uses register type prefix (REG_TYPE_PREFIX).
Try to avoid dup keys for filters (bug #432).

19 years agoRename argument to zebra_rec_keys_set_buf
Adam Dickmeiss [Wed, 9 Nov 2005 08:27:28 +0000 (08:27 +0000)]
Rename argument to zebra_rec_keys_set_buf

19 years agoAdded test for bug #431
Adam Dickmeiss [Wed, 9 Nov 2005 08:09:44 +0000 (08:09 +0000)]
Added test for bug #431

19 years agoZebra reads (non-standard) attribute 10 for RPN queries. The value, when
Adam Dickmeiss [Wed, 2 Nov 2005 11:43:26 +0000 (11:43 +0000)]
Zebra reads (non-standard) attribute 10 for RPN queries. The value, when
specified, is returned as subqueryId in SearchResult-1. If unspecified
subqueryId is omitted in SearchResult-1.

19 years agoAdded note about the agrep algorithm used
Adam Dickmeiss [Tue, 1 Nov 2005 10:16:08 +0000 (10:16 +0000)]
Added note about the agrep algorithm used

19 years agoOne more debug msg in limit code
Adam Dickmeiss [Sun, 30 Oct 2005 22:52:37 +0000 (22:52 +0000)]
One more debug msg in limit code

19 years agoPrint info about limit filter progress if ZEBRA_LIMIT_DEBUG=1.
Adam Dickmeiss [Sun, 30 Oct 2005 22:31:28 +0000 (22:31 +0000)]
Print info about limit filter progress if ZEBRA_LIMIT_DEBUG=1.

19 years agoUsing zebra_rec_keys for per-record key store
Adam Dickmeiss [Fri, 28 Oct 2005 09:22:50 +0000 (09:22 +0000)]
Using zebra_rec_keys for per-record key store

19 years agoFix leak for rset_key_control
Adam Dickmeiss [Fri, 28 Oct 2005 07:25:30 +0000 (07:25 +0000)]
Fix leak for rset_key_control

19 years agoUse xsl:element for document element to prevent ns
Adam Dickmeiss [Thu, 27 Oct 2005 20:06:58 +0000 (20:06 +0000)]
Use xsl:element for document element to prevent ns

19 years agoTests for identical keys in ISAMB
Adam Dickmeiss [Thu, 27 Oct 2005 09:09:52 +0000 (09:09 +0000)]
Tests for identical keys in ISAMB

19 years agoIndentation
Adam Dickmeiss [Thu, 27 Oct 2005 08:49:29 +0000 (08:49 +0000)]
Indentation

19 years agoFixed bug #415: Strange truncation behavior
Adam Dickmeiss [Sat, 22 Oct 2005 17:32:09 +0000 (17:32 +0000)]
Fixed bug #415: Strange truncation behavior

19 years agoFix dbaccesslist not being initialized (when no auth is used)
Adam Dickmeiss [Fri, 21 Oct 2005 18:29:04 +0000 (18:29 +0000)]
Fix dbaccesslist not being initialized (when no auth is used)

19 years agoAdded database subscription feature. Description in NEWS and doc
Sebastian Hammer [Thu, 20 Oct 2005 18:28:10 +0000 (18:28 +0000)]
Added database subscription feature. Description in NEWS and doc

19 years agoFixed bfx_open so that more_info is set to correct value
Adam Dickmeiss [Mon, 19 Sep 2005 09:37:31 +0000 (09:37 +0000)]
Fixed bfx_open so that more_info is set to correct value

19 years agoReduce default API logging
Adam Dickmeiss [Mon, 19 Sep 2005 08:20:15 +0000 (08:20 +0000)]
Reduce default API logging

19 years agoSWIG API has separated structures for service and session now. index.h
pop [Fri, 16 Sep 2005 17:00:41 +0000 (17:00 +0000)]
SWIG API has separated structures for service and session now. index.h
not included anymore.

19 years agoAllow same document to be modified multiple times within one transaction.
Adam Dickmeiss [Fri, 16 Sep 2005 09:58:38 +0000 (09:58 +0000)]
Allow same document to be modified multiple times within one transaction.

19 years agoRemove call to zebra_opn_res. zh->res=0 means no register yet
Adam Dickmeiss [Thu, 15 Sep 2005 12:48:42 +0000 (12:48 +0000)]
Remove call to zebra_opn_res. zh->res=0 means no register yet

19 years agoapi_swig.h part of dist
Adam Dickmeiss [Thu, 15 Sep 2005 10:34:22 +0000 (10:34 +0000)]
api_swig.h part of dist

19 years agoZebra api extension tuned for SWIG
pop [Thu, 15 Sep 2005 09:27:18 +0000 (09:27 +0000)]
Zebra api extension tuned for SWIG

19 years agoMissing to res_open
Adam Dickmeiss [Tue, 13 Sep 2005 13:15:24 +0000 (13:15 +0000)]
Missing to res_open

19 years agoAdded parameter for zebra_open.
Adam Dickmeiss [Tue, 13 Sep 2005 11:51:05 +0000 (11:51 +0000)]
Added parameter for zebra_open.

19 years agoDont declare module_path if dlfcn.h is not set
Adam Dickmeiss [Tue, 30 Aug 2005 12:27:18 +0000 (12:27 +0000)]
Dont declare module_path if dlfcn.h is not set

19 years agoCreating idzebra.dll instead of static zebra.lib. Using yaz.lib or
Adam Dickmeiss [Tue, 30 Aug 2005 12:25:38 +0000 (12:25 +0000)]
Creating idzebra.dll instead of static zebra.lib. Using yaz.lib or
yazd.lib depending on DEBUG=0|1.

19 years agoFixed a problem in snippets handling that occurred when using string
Adam Dickmeiss [Tue, 30 Aug 2005 12:23:02 +0000 (12:23 +0000)]
Fixed a problem in snippets handling that occurred when using string
indexes (problem in zebraExplain_lookup_ord).

19 years agoNo longer in use
Adam Dickmeiss [Tue, 30 Aug 2005 10:44:56 +0000 (10:44 +0000)]
No longer in use

19 years agoUpdate snippets handling for new store keys structure. Also omit
Adam Dickmeiss [Fri, 26 Aug 2005 10:13:30 +0000 (10:13 +0000)]
Update snippets handling for new store keys structure. Also omit
index_type / reg_type completely from it, because the index ordinal is
sufficient.

19 years agoOmit print of Zebra version. zebra_start does that
Adam Dickmeiss [Fri, 26 Aug 2005 10:11:49 +0000 (10:11 +0000)]
Omit print of Zebra version. zebra_start does that

19 years agoInstall proper msvcr71.dll
Adam Dickmeiss [Thu, 25 Aug 2005 12:53:42 +0000 (12:53 +0000)]
Install proper msvcr71.dll

19 years agoAdd rankstatic to win makefile
Adam Dickmeiss [Thu, 25 Aug 2005 12:46:17 +0000 (12:46 +0000)]
Add rankstatic to win makefile

19 years agoFor trunctations, only 20 temp sets are merged at a time (truncchunk)
Adam Dickmeiss [Thu, 25 Aug 2005 10:37:05 +0000 (10:37 +0000)]
For trunctations, only 20 temp sets are merged at a time (truncchunk)

19 years agoAllow complex compspec so that SRW/SRU schemas are supported
Adam Dickmeiss [Wed, 24 Aug 2005 08:30:37 +0000 (08:30 +0000)]
Allow complex compspec so that SRW/SRU schemas are supported

19 years agoRemove database: from this sample
Adam Dickmeiss [Tue, 23 Aug 2005 08:02:47 +0000 (08:02 +0000)]
Remove database: from this sample

19 years agoIncrease params array. If not it'll get overriden when snippets are
Adam Dickmeiss [Mon, 22 Aug 2005 14:39:47 +0000 (14:39 +0000)]
Increase params array. If not it'll get overriden when snippets are
in use.

19 years agoAdded type signed/unsigned char type casts to make GCC 4 happy.
Adam Dickmeiss [Mon, 22 Aug 2005 09:04:17 +0000 (09:04 +0000)]
Added type signed/unsigned char type casts to make GCC 4 happy.

19 years agoAlign alvis with xslt (again).
Adam Dickmeiss [Mon, 22 Aug 2005 09:03:34 +0000 (09:03 +0000)]
Align alvis with xslt (again).

19 years agoMembers in RecWord term_buf, index_name changed from char * to
Adam Dickmeiss [Mon, 22 Aug 2005 08:19:51 +0000 (08:19 +0000)]
Members in RecWord term_buf, index_name changed from char * to
const char *.

19 years agoAdded type casts (signed/unsigned char) to make GCC 4 happy
Adam Dickmeiss [Mon, 22 Aug 2005 08:18:43 +0000 (08:18 +0000)]
Added type casts (signed/unsigned char) to make GCC 4 happy

19 years agoAdded include of yaz/log.h
Adam Dickmeiss [Mon, 22 Aug 2005 08:17:01 +0000 (08:17 +0000)]
Added include of yaz/log.h

19 years agoDo not enable ALVIS for systems without LibXSLT
Adam Dickmeiss [Fri, 19 Aug 2005 21:42:17 +0000 (21:42 +0000)]
Do not enable ALVIS for systems without LibXSLT

19 years agoAdded some type casts to avoid warnings produced by GCC 4.
Adam Dickmeiss [Fri, 19 Aug 2005 21:41:37 +0000 (21:41 +0000)]
Added some type casts to avoid warnings produced by GCC 4.
Made a few functions static to avoid nameclash with alvis filter.

19 years agoMake a few functions static to avoid nameclash with xslt filter
Adam Dickmeiss [Fri, 19 Aug 2005 21:40:17 +0000 (21:40 +0000)]
Make a few functions static to avoid nameclash with xslt filter

19 years agocopied xslt.c filter over on alvis.c filter, to give alvis folks their own version
Marc Cromme [Fri, 19 Aug 2005 14:06:31 +0000 (14:06 +0000)]
copied xslt.c filter over on alvis.c filter, to give alvis folks their own version

19 years agotaken snippet stuff out to avoid problems from this code
Marc Cromme [Fri, 19 Aug 2005 14:05:29 +0000 (14:05 +0000)]
taken snippet stuff out to avoid problems from this code

19 years agoRemove snippet log stuff
Adam Dickmeiss [Fri, 19 Aug 2005 13:11:54 +0000 (13:11 +0000)]
Remove snippet log stuff

19 years agoAdded a few casts converting from unsigned char* -> char*.
Adam Dickmeiss [Fri, 19 Aug 2005 12:58:01 +0000 (12:58 +0000)]
Added a few casts converting from unsigned char* -> char*.

19 years agoPass a stop_flag to ranking method calc. When set to 1, it signals
Adam Dickmeiss [Fri, 19 Aug 2005 11:04:23 +0000 (11:04 +0000)]
Pass a stop_flag to ranking method calc. When set to 1, it signals
stop of result set processing.

19 years agoRemoved unused variable
Adam Dickmeiss [Fri, 19 Aug 2005 11:03:53 +0000 (11:03 +0000)]
Removed unused variable

19 years agoReverse score in static-rank handler due to the increasing value
Adam Dickmeiss [Fri, 19 Aug 2005 10:48:36 +0000 (10:48 +0000)]
Reverse score in static-rank handler due to the increasing value
property of the ISAM keys.

19 years agoShow score in snippet format
Adam Dickmeiss [Fri, 19 Aug 2005 10:47:50 +0000 (10:47 +0000)]
Show score in snippet format

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.