idzebra-moved-to-github.git
19 years agoFix truncation for isam:b for deleted words (which happen to have
Adam Dickmeiss [Wed, 11 Aug 2004 13:35:04 +0000 (13:35 +0000)]
Fix truncation for isam:b for deleted words (which happen to have
a 0 value).

19 years agoSkip announce line
Adam Dickmeiss [Wed, 11 Aug 2004 13:09:58 +0000 (13:09 +0000)]
Skip announce line

19 years agoAdded maxhits config option. Not yet used in present stuff, only
Heikki Levanto [Tue, 10 Aug 2004 15:21:48 +0000 (15:21 +0000)]
Added maxhits config option. Not yet used in present stuff, only
in limiting the hitcount in search.

19 years agoLimiting hits to INT_MAX, because yaz can't handle 64-bit hitcounts
Heikki Levanto [Tue, 10 Aug 2004 08:54:39 +0000 (08:54 +0000)]
Limiting hits to INT_MAX, because yaz can't handle 64-bit hitcounts
Now I can search and present in the huge data set!

19 years agousing a few more zints for hitcounts etc
Heikki Levanto [Tue, 10 Aug 2004 08:19:15 +0000 (08:19 +0000)]
using a few more zints for hitcounts etc

19 years agoIgnore xsinit.h
Mike Taylor [Tue, 10 Aug 2004 08:16:43 +0000 (08:16 +0000)]
Ignore xsinit.h

19 years agoChanging type of block_size to make register compatible with t2 collection.
Adam Dickmeiss [Mon, 9 Aug 2004 09:06:13 +0000 (09:06 +0000)]
Changing type of block_size to make register compatible with t2 collection.

19 years agoRemove libisam.a
Adam Dickmeiss [Mon, 9 Aug 2004 08:40:09 +0000 (08:40 +0000)]
Remove libisam.a

19 years agopos estimates for rsbetween and rsprox
Heikki Levanto [Fri, 6 Aug 2004 14:09:02 +0000 (14:09 +0000)]
pos estimates for rsbetween and rsprox

19 years agoMore type casts due to zint.
Adam Dickmeiss [Fri, 6 Aug 2004 13:36:22 +0000 (13:36 +0000)]
More type casts due to zint.

19 years agoRemove isam: i.
Adam Dickmeiss [Fri, 6 Aug 2004 13:35:45 +0000 (13:35 +0000)]
Remove isam: i.

19 years agoRemove this.
Adam Dickmeiss [Fri, 6 Aug 2004 13:24:59 +0000 (13:24 +0000)]
Remove this.

19 years agoRemove oldest isam (isam:i)
Adam Dickmeiss [Fri, 6 Aug 2004 13:14:46 +0000 (13:14 +0000)]
Remove oldest isam (isam:i)

19 years agoRemove isamd.
Adam Dickmeiss [Fri, 6 Aug 2004 12:56:04 +0000 (12:56 +0000)]
Remove isamd.

19 years agoFix term counters to be of type zint. Fix several printfs of zint.
Adam Dickmeiss [Fri, 6 Aug 2004 12:55:01 +0000 (12:55 +0000)]
Fix term counters to be of type zint. Fix several printfs of zint.

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