idzebra-moved-to-github.git
20 years agoAnother 64-bit format string
Heikki Levanto [Mon, 16 Aug 2004 12:09:43 +0000 (12:09 +0000)]
Another 64-bit format string

20 years agoRework encoding of ISAMB header info to make it machine independent.
Adam Dickmeiss [Mon, 16 Aug 2004 10:08:37 +0000 (10:08 +0000)]
Rework encoding of ISAMB header info to make it machine independent.
Header also includes version major/minor for ISAMB. Also enabled
pointer encoding as well. This will reduce size of ISAMB interior nodes.

20 years agoAdded facility to make attibutes in grs.regx and grs.tcl filter using the
Adam Dickmeiss [Sun, 15 Aug 2004 17:22:45 +0000 (17:22 +0000)]
Added facility to make attibutes in grs.regx and grs.tcl filter using the
data command with argument -attribute <name> . The content of data is
the value of the attribute. This command should be used inside a
begin element , end element section.

20 years agoAdd test t6 from Zebra 1.3.16 branch
Adam Dickmeiss [Fri, 13 Aug 2004 13:16:52 +0000 (13:16 +0000)]
Add test t6 from Zebra 1.3.16 branch

20 years agoAdded a small comment on what this test is all about!
Heikki Levanto [Wed, 11 Aug 2004 14:43:43 +0000 (14:43 +0000)]
Added a small comment on what this test is all about!

20 years agoRemove log message
Adam Dickmeiss [Wed, 11 Aug 2004 13:36:13 +0000 (13:36 +0000)]
Remove log message

20 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).

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

20 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.

20 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!

20 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

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

20 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.

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

20 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

20 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.

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

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

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

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

20 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.

20 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.

20 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

20 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

20 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

20 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

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

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

20 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...

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

20 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

20 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.

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

20 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.

20 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

20 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

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

20 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

20 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.

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

20 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.

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

20 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.

20 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

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

20 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)

20 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.

20 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.

20 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

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

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

20 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.

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

20 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

20 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@.

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

20 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

20 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

20 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

20 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 ..

20 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.

20 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.

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

20 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

20 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.

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

20 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.

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

20 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.

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

20 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.

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

20 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

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

20 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

20 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

20 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

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

20 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

20 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

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

20 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.

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

20 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

20 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

20 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

20 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.

20 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

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

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

20 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

20 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

20 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...

20 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)

20 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

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

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

20 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.

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

20 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.