idzebra-moved-to-github.git
19 years agoAdded several type casts and changed many types - mostly from int to zint.
Adam Dickmeiss [Fri, 6 Aug 2004 12:28:22 +0000 (12:28 +0000)]
Added several type casts and changed many types - mostly from int to zint.

19 years agoRemove obj isamd,merge-d; add obj atoi_zn
Adam Dickmeiss [Fri, 6 Aug 2004 12:27:30 +0000 (12:27 +0000)]
Remove obj isamd,merge-d; add obj atoi_zn

19 years agoUsing doubles in the position estimates, not to loose precision
Heikki Levanto [Fri, 6 Aug 2004 10:09:27 +0000 (10:09 +0000)]
Using doubles in the position estimates, not to loose precision

19 years agoestimatehits config option,
Heikki Levanto [Fri, 6 Aug 2004 09:43:03 +0000 (09:43 +0000)]
estimatehits config option,
actually estimating the hits
pos function in rsisamb, rsbool, rstemp seem to work

19 years agoUpdates for new objects in NMAKE makefile
Adam Dickmeiss [Fri, 6 Aug 2004 09:38:36 +0000 (09:38 +0000)]
Updates for new objects in NMAKE makefile

19 years agoUpgrade to NSIS 2
Adam Dickmeiss [Fri, 6 Aug 2004 09:38:23 +0000 (09:38 +0000)]
Upgrade to NSIS 2

19 years agoOnly use inline on GCC
Adam Dickmeiss [Fri, 6 Aug 2004 09:37:37 +0000 (09:37 +0000)]
Only use inline on GCC

19 years agoChanged the pos code to 64-bit clean. Still lots of stuff missing...
Heikki Levanto [Wed, 4 Aug 2004 09:59:03 +0000 (09:59 +0000)]
Changed the pos code to 64-bit clean. Still lots of stuff missing...

19 years agoRemove log message
Adam Dickmeiss [Wed, 4 Aug 2004 09:05:17 +0000 (09:05 +0000)]
Remove log message

19 years agoFix declaration - to make it backwards compatible
Adam Dickmeiss [Wed, 4 Aug 2004 09:00:00 +0000 (09:00 +0000)]
Fix declaration - to make it backwards compatible

19 years agoRemove isamd. It's not been in use for a long time and isamb is better
Adam Dickmeiss [Wed, 4 Aug 2004 08:35:22 +0000 (08:35 +0000)]
Remove isamd. It's not been in use for a long time and isamb is better
in most cases. Change SYSNO to be zint. Change pointers in isamc and isamb
to zint. Change block number in bfile/cfile to zint. zint is a long integer
(64-bit). This change practially removes register limits for Zebra. Implement
int-list encoding for ISAMs.

19 years agoFix indentation in example
Adam Dickmeiss [Wed, 4 Aug 2004 08:26:43 +0000 (08:26 +0000)]
Fix indentation in example

19 years agoAdded framework for the pos calls. rsisamb and rsnull have a real one,
Heikki Levanto [Tue, 3 Aug 2004 14:54:41 +0000 (14:54 +0000)]
Added framework for the pos calls. rsisamb and rsnull have a real one,
the rest rely on a global dummy. Not tested much yet, as it is never
called.

19 years agoRemoved the count function from the rset f-table, in preparation
Heikki Levanto [Tue, 3 Aug 2004 12:15:44 +0000 (12:15 +0000)]
Removed the count function from the rset f-table, in preparation
to adding a more general pos function

19 years agoSelect database before commit takes place to ensure register is selected
Adam Dickmeiss [Mon, 2 Aug 2004 10:12:06 +0000 (10:12 +0000)]
Select database before commit takes place to ensure register is selected

19 years agoAdd missing close-quote.
Mike Taylor [Mon, 2 Aug 2004 09:55:30 +0000 (09:55 +0000)]
Add missing close-quote.

19 years agoUpdates to make Debian Sarge package for 1.3.16-1
Adam Dickmeiss [Fri, 30 Jul 2004 10:06:09 +0000 (10:06 +0000)]
Updates to make Debian Sarge package for 1.3.16-1

19 years agoEnsure that perl/IDZebra_wrap.c is part of dist.
Adam Dickmeiss [Wed, 28 Jul 2004 11:15:10 +0000 (11:15 +0000)]
Ensure that perl/IDZebra_wrap.c is part of dist.

19 years agoFix sort test
Adam Dickmeiss [Wed, 28 Jul 2004 11:01:58 +0000 (11:01 +0000)]
Fix sort test

19 years agoAdded a new 'cut' directive to charmaps (.chr files) which specifies that
Adam Dickmeiss [Wed, 28 Jul 2004 09:47:41 +0000 (09:47 +0000)]
Added a new 'cut' directive to charmaps (.chr files) which specifies that
only characters after the cutting char should be indexed.

19 years agoMore comments on register specs
Adam Dickmeiss [Wed, 28 Jul 2004 09:40:46 +0000 (09:40 +0000)]
More comments on register specs

19 years agoUpdate Perl internals so that it matches the current Zebra API.
Adam Dickmeiss [Wed, 28 Jul 2004 08:15:44 +0000 (08:15 +0000)]
Update Perl internals so that it matches the current Zebra API.
The recordGroup structure is no longer available. A group of resources
can still be referenced by setting groupName=>..  in various methods.

19 years agoMake a copy instead of pointer for member: base
Adam Dickmeiss [Wed, 28 Jul 2004 08:05:58 +0000 (08:05 +0000)]
Make a copy instead of pointer for member: base

19 years agoFix memory leak
Adam Dickmeiss [Mon, 26 Jul 2004 13:59:25 +0000 (13:59 +0000)]
Fix memory leak

19 years agoFix bug in data1_tag_add_attr (bug introduced in last commit)
Adam Dickmeiss [Mon, 26 Jul 2004 13:51:42 +0000 (13:51 +0000)]
Fix bug in data1_tag_add_attr (bug introduced in last commit)

19 years agoFixed bug 104: Bad default encoding for XML records for grs.xml filter.
Adam Dickmeiss [Mon, 26 Jul 2004 12:26:25 +0000 (12:26 +0000)]
Fixed bug 104: Bad default encoding for XML records for grs.xml filter.

19 years agoSimplify XML attribute node creation (xattr). Add data1 utilities
Adam Dickmeiss [Mon, 26 Jul 2004 12:20:06 +0000 (12:20 +0000)]
Simplify XML attribute node creation (xattr). Add data1 utilities
data1_insert_preprocess, data1_insert_preprocess_n.

19 years agoUse WRBUF instead of huge stack var
Adam Dickmeiss [Wed, 16 Jun 2004 22:12:30 +0000 (22:12 +0000)]
Use WRBUF instead of huge stack var

19 years agoAdded cvsignore
Adam Dickmeiss [Wed, 16 Jun 2004 22:07:48 +0000 (22:07 +0000)]
Added cvsignore

19 years agoProximity tests
Adam Dickmeiss [Wed, 16 Jun 2004 22:06:49 +0000 (22:06 +0000)]
Proximity tests

19 years agoDo not perform rusmarc test if iconv does not do koi8-r.
Adam Dickmeiss [Wed, 16 Jun 2004 21:48:57 +0000 (21:48 +0000)]
Do not perform rusmarc test if iconv does not do koi8-r.

19 years agoEnabling rsprox. Tests OK
Adam Dickmeiss [Wed, 16 Jun 2004 21:29:49 +0000 (21:29 +0000)]
Enabling rsprox. Tests OK

19 years agoCosmetic changes. Added an assert, since prox needs >= 2 sets
Adam Dickmeiss [Wed, 16 Jun 2004 21:27:37 +0000 (21:27 +0000)]
Cosmetic changes. Added an assert, since prox needs >= 2 sets

19 years agoFor includes specs in Makefiles use AM_CPPFLAGS instead of INCLUDE.
Adam Dickmeiss [Wed, 16 Jun 2004 20:49:17 +0000 (20:49 +0000)]
For includes specs in Makefiles use AM_CPPFLAGS instead of INCLUDE.
Use $(YAZINC) instead of @YAZINC@.

19 years agoRemove unused local
Adam Dickmeiss [Wed, 16 Jun 2004 20:32:41 +0000 (20:32 +0000)]
Remove unused local

19 years agoInitialize local to prevent gcc -O warning
Adam Dickmeiss [Wed, 16 Jun 2004 20:30:47 +0000 (20:30 +0000)]
Initialize local to prevent gcc -O warning

19 years agoMinor changes to avoid a few warnings
Adam Dickmeiss [Tue, 15 Jun 2004 10:56:31 +0000 (10:56 +0000)]
Minor changes to avoid a few warnings

19 years agoZebra now works with make distcheck
Adam Dickmeiss [Tue, 15 Jun 2004 09:43:27 +0000 (09:43 +0000)]
Zebra now works with make distcheck

19 years agoAdd missing initialization of member replace_tokens in struct
Adam Dickmeiss [Tue, 15 Jun 2004 09:29:31 +0000 (09:29 +0000)]
Add missing initialization of member replace_tokens in struct
zebra_map. Error only showed up for missing default.idx (and charmaps)
and more aggressive nmem_reset/nmem_destroy ..

19 years agoMore updates to allow tests when builddir != srcdir.
Adam Dickmeiss [Tue, 15 Jun 2004 08:06:33 +0000 (08:06 +0000)]
More updates to allow tests when builddir != srcdir.

19 years agoAllow ${var:-default} construct in resources.
Adam Dickmeiss [Tue, 15 Jun 2004 08:05:54 +0000 (08:05 +0000)]
Allow ${var:-default} construct in resources.

19 years agoShell accepts -c <config> option
Adam Dickmeiss [Tue, 15 Jun 2004 07:42:45 +0000 (07:42 +0000)]
Shell accepts -c <config> option

19 years agoPrepare for srcdir != builddir in tests
Adam Dickmeiss [Mon, 14 Jun 2004 23:45:11 +0000 (23:45 +0000)]
Prepare for srcdir != builddir in tests

19 years agoPrepare for srcdir != dstdir in tests.
Adam Dickmeiss [Mon, 14 Jun 2004 23:43:32 +0000 (23:43 +0000)]
Prepare for srcdir != dstdir in tests.

19 years agoAllow rule subst in resources
Adam Dickmeiss [Mon, 14 Jun 2004 23:42:33 +0000 (23:42 +0000)]
Allow  rule subst in resources

19 years agoWork on generic prox. Not yet tested - nor being used.
Adam Dickmeiss [Mon, 14 Jun 2004 21:44:26 +0000 (21:44 +0000)]
Work on generic prox. Not yet tested - nor being used.

19 years agoNew test
Adam Dickmeiss [Mon, 14 Jun 2004 21:43:44 +0000 (21:43 +0000)]
New test

19 years agoComment only, on possible widening of relevance plugin API.
Mike Taylor [Mon, 14 Jun 2004 10:31:56 +0000 (10:31 +0000)]
Comment only, on possible widening of relevance plugin API.

19 years agoHandle undefined rank handler
Adam Dickmeiss [Sun, 13 Jun 2004 18:45:25 +0000 (18:45 +0000)]
Handle undefined rank handler

19 years agoAvoid crash zvrank.weighting-scheme is unset.
Adam Dickmeiss [Sun, 13 Jun 2004 18:44:57 +0000 (18:44 +0000)]
Avoid crash zvrank.weighting-scheme is unset.

19 years agoAdded test/codec/Makefile
Adam Dickmeiss [Fri, 11 Jun 2004 10:36:08 +0000 (10:36 +0000)]
Added test/codec/Makefile

19 years agoMake codec routines public again. Add key_get_seq
Adam Dickmeiss [Wed, 9 Jun 2004 13:11:49 +0000 (13:11 +0000)]
Make codec routines public again. Add key_get_seq

19 years agoAdded rsprox
Adam Dickmeiss [Wed, 9 Jun 2004 12:15:25 +0000 (12:15 +0000)]
Added rsprox

19 years agoAdded small test of codec speed
Adam Dickmeiss [Wed, 9 Jun 2004 12:13:03 +0000 (12:13 +0000)]
Added small test of codec speed

19 years agoRemove unused code. Reformat a bit
Adam Dickmeiss [Wed, 9 Jun 2004 11:11:33 +0000 (11:11 +0000)]
Remove unused code. Reformat a bit

19 years agoUtility that converts from danbib rules to Zebra .abs
Adam Dickmeiss [Wed, 9 Jun 2004 08:29:36 +0000 (08:29 +0000)]
Utility that converts from danbib rules to Zebra .abs

19 years agoMake ISAMB backwards compatible again
Adam Dickmeiss [Tue, 8 Jun 2004 15:15:51 +0000 (15:15 +0000)]
Make ISAMB backwards compatible again

19 years ago#if'd out logging in rsbetween
Heikki Levanto [Tue, 8 Jun 2004 15:05:16 +0000 (15:05 +0000)]
#if'd out logging in rsbetween

19 years agocredits given to tho credit deserves
Marc Cromme [Tue, 8 Jun 2004 13:27:48 +0000 (13:27 +0000)]
credits given to tho credit deserves

19 years agoOne less TODO
Adam Dickmeiss [Mon, 7 Jun 2004 22:11:25 +0000 (22:11 +0000)]
One less TODO

19 years agoMaximum number of records to be sorted in a result set can be
Adam Dickmeiss [Mon, 7 Jun 2004 22:09:32 +0000 (22:09 +0000)]
Maximum number of records to be sorted in a result set can be
specified by setting "sortmax". Default is 1000.

19 years agoUpdate list
Adam Dickmeiss [Mon, 7 Jun 2004 21:51:44 +0000 (21:51 +0000)]
Update list

19 years agoAdded a function to estimate total size and current position in isamb
Heikki Levanto [Fri, 4 Jun 2004 13:54:56 +0000 (13:54 +0000)]
Added a function to estimate total size and current position in isamb

19 years agoSwitching to my new code, it seems to work on all my tests
Heikki Levanto [Thu, 3 Jun 2004 15:05:05 +0000 (15:05 +0000)]
Switching to my new code, it seems to work on all my tests

19 years agoRemove two yaz_log that was added in previous commit
Adam Dickmeiss [Thu, 3 Jun 2004 11:45:28 +0000 (11:45 +0000)]
Remove two yaz_log that was added in previous commit

19 years agoBug fix: zebra indexed files that did not match extension criteria due
Adam Dickmeiss [Thu, 3 Jun 2004 11:38:34 +0000 (11:38 +0000)]
Bug fix: zebra indexed files that did not match extension criteria due
to bad side effect.

19 years agoFixed a but in climb
Heikki Levanto [Thu, 3 Jun 2004 10:29:49 +0000 (10:29 +0000)]
Fixed a but in climb
NEW_FORWARD still disabled, but starts to work

19 years agoProper test for forward
Adam Dickmeiss [Thu, 3 Jun 2004 00:24:12 +0000 (00:24 +0000)]
Proper test for forward

19 years agoFast forward on leaf too
Adam Dickmeiss [Thu, 3 Jun 2004 00:23:48 +0000 (00:23 +0000)]
Fast forward on leaf too

19 years agoAnother forward - with ideas from original isamb_pp_read
Adam Dickmeiss [Wed, 2 Jun 2004 23:05:55 +0000 (23:05 +0000)]
Another forward - with ideas from original isamb_pp_read

19 years agoElementary forwarding seems to work in the new system
Heikki Levanto [Wed, 2 Jun 2004 18:50:37 +0000 (18:50 +0000)]
Elementary forwarding seems to work in the new system
code still disabled

19 years agoRewriting the isamb forward. Time being, new code is #ifdef'd out.
Heikki Levanto [Wed, 2 Jun 2004 17:26:03 +0000 (17:26 +0000)]
Rewriting the isamb forward. Time being, new code is #ifdef'd out.
Regular reads seem to work. forwarding is mostly missing, although there
is some raw beginnings...

19 years agoMinor edit (to get around cvs problems)
Heikki Levanto [Wed, 2 Jun 2004 14:07:01 +0000 (14:07 +0000)]
Minor edit (to get around cvs problems)

19 years agoPass log function to some rsets
Adam Dickmeiss [Wed, 2 Jun 2004 12:31:23 +0000 (12:31 +0000)]
Pass log function to some rsets

19 years agoAdded isamb_dump utility.
Adam Dickmeiss [Wed, 2 Jun 2004 12:30:32 +0000 (12:30 +0000)]
Added isamb_dump utility.

19 years agoMake codec routines static
Adam Dickmeiss [Wed, 2 Jun 2004 12:29:03 +0000 (12:29 +0000)]
Make codec routines static

19 years agoBug fix: If at and of leaf, then reset descending and go up again.
Adam Dickmeiss [Wed, 2 Jun 2004 07:53:31 +0000 (07:53 +0000)]
Bug fix: If at and of leaf, then reset descending and go up again.

19 years agoLoosen test a bit
Adam Dickmeiss [Wed, 2 Jun 2004 07:51:52 +0000 (07:51 +0000)]
Loosen test a bit

19 years agoReformat to keep lines <80 chars. Added two asserts.
Adam Dickmeiss [Wed, 2 Jun 2004 06:51:06 +0000 (06:51 +0000)]
Reformat to keep lines <80 chars. Added two asserts.

19 years agoAdded isamb_pp_forward test. Changed messages from test program from
Adam Dickmeiss [Wed, 2 Jun 2004 06:39:36 +0000 (06:39 +0000)]
Added isamb_pp_forward test. Changed messages from test program from
LOG_DEBUG to LOG_WARN so we see them! Test program calling bfs_reset.

19 years agoISAMB_DEBUG disabled again. Warn if enabled
Adam Dickmeiss [Tue, 1 Jun 2004 18:04:41 +0000 (18:04 +0000)]
ISAMB_DEBUG disabled again. Warn if enabled

19 years agoOne more RSET_DEBUG
Adam Dickmeiss [Tue, 1 Jun 2004 15:22:58 +0000 (15:22 +0000)]
One more RSET_DEBUG

19 years agoFixed a borderline case isamb_forward
Heikki Levanto [Tue, 1 Jun 2004 14:50:59 +0000 (14:50 +0000)]
Fixed a borderline case isamb_forward

19 years agoAdd more if ISAMB_DEBUG
Adam Dickmeiss [Tue, 1 Jun 2004 13:46:41 +0000 (13:46 +0000)]
Add more if ISAMB_DEBUG

19 years agoDefine log_item
Adam Dickmeiss [Tue, 1 Jun 2004 13:04:29 +0000 (13:04 +0000)]
Define log_item

19 years agoNew method log_item for the various isams to print log an item (for debug)
Adam Dickmeiss [Tue, 1 Jun 2004 12:56:38 +0000 (12:56 +0000)]
New method log_item for the various isams to print log an item (for debug)

19 years agoAdd assert to exploit bug
Adam Dickmeiss [Tue, 1 Jun 2004 12:56:14 +0000 (12:56 +0000)]
Add assert to exploit bug

19 years agoisamb forward
Heikki Levanto [Tue, 1 Jun 2004 12:32:18 +0000 (12:32 +0000)]
isamb forward

19 years agoExperiment with new codec for keys
Adam Dickmeiss [Sun, 30 May 2004 18:35:12 +0000 (18:35 +0000)]
Experiment with new codec for keys

19 years agoRemove expensive calls to logf
Adam Dickmeiss [Sun, 30 May 2004 18:09:31 +0000 (18:09 +0000)]
Remove expensive calls to logf

19 years agoFix option -f
Adam Dickmeiss [Sun, 30 May 2004 18:05:30 +0000 (18:05 +0000)]
Fix option -f

19 years agoMake a few defines for various constants. Introduce more compact
Adam Dickmeiss [Sun, 30 May 2004 18:04:49 +0000 (18:04 +0000)]
Make a few defines for various constants. Introduce more compact
encoding of ISAMB files. The new encoding is not enabled by default
to avoid breaking register compatibility.

19 years agoRaw retrieval mode uses raw copy instead of text filter
Adam Dickmeiss [Thu, 27 May 2004 09:28:01 +0000 (09:28 +0000)]
Raw retrieval mode uses raw copy instead of text filter

19 years agoAllow use of string attributes for regular attribute sets
Adam Dickmeiss [Wed, 26 May 2004 13:52:25 +0000 (13:52 +0000)]
Allow use of string attributes for regular attribute sets

19 years agoBug fix: did not return root (absyn) node
Adam Dickmeiss [Wed, 26 May 2004 13:47:08 +0000 (13:47 +0000)]
Bug fix: did not return root (absyn) node

19 years agoBug fix: did not split on *
Adam Dickmeiss [Wed, 26 May 2004 13:26:17 +0000 (13:26 +0000)]
Bug fix: did not split on *

19 years agoAdd truncation attributes
Adam Dickmeiss [Tue, 25 May 2004 16:33:18 +0000 (16:33 +0000)]
Add truncation attributes

19 years agoUpdate SWIG interface for updated Zebra API. No Wrap in CVS
Adam Dickmeiss [Tue, 25 May 2004 14:12:10 +0000 (14:12 +0000)]
Update SWIG interface for updated Zebra API. No Wrap in CVS

19 years agoUpdate new CQL parser
Adam Dickmeiss [Tue, 25 May 2004 14:11:26 +0000 (14:11 +0000)]
Update new CQL parser

19 years agoUpdate for new CQL parser
Adam Dickmeiss [Tue, 25 May 2004 14:11:13 +0000 (14:11 +0000)]
Update for new CQL parser