idzebra-moved-to-github.git
20 years agoRemoved some FIXMEs. Mostly comments on things that had already been fixed.
Heikki Levanto [Fri, 3 Sep 2004 14:59:49 +0000 (14:59 +0000)]
Removed some FIXMEs. Mostly comments on things that had already been fixed.

20 years agoRemoved an unused old file
Heikki Levanto [Fri, 3 Sep 2004 11:36:27 +0000 (11:36 +0000)]
Removed an unused old file

20 years agoSync noinst_HEADERS due to removed rset header files so we can build.
Adam Dickmeiss [Wed, 1 Sep 2004 17:08:45 +0000 (17:08 +0000)]
Sync noinst_HEADERS due to removed rset header files so we can build.

20 years agoRemoved some header files, they all contained one function prototype,
Heikki Levanto [Wed, 1 Sep 2004 15:14:45 +0000 (15:14 +0000)]
Removed some header files, they all contained one function prototype,
and a lot of overhead. Moved said prototypes into rset.h

20 years agoUsing the key_control block for the first key-handling functions in all
Heikki Levanto [Wed, 1 Sep 2004 15:01:32 +0000 (15:01 +0000)]
Using the key_control block for the first key-handling functions in all
rsets. Fixed a few missed zints in rsprox. general cleaning

20 years agoUsing proper nmems for more rsets around the system,
Heikki Levanto [Tue, 31 Aug 2004 14:43:41 +0000 (14:43 +0000)]
Using proper nmems for more rsets around the system,
especially scan and zrpn. Still a few nulls get passed to
them (test/api/t4 fails if I assert on nmem).

20 years agoMajor restructuring in rsets.
Heikki Levanto [Tue, 31 Aug 2004 10:43:35 +0000 (10:43 +0000)]
Major restructuring in rsets.

20 years agoUse prefix instead of idzebraprefix. Make --tab work.
Adam Dickmeiss [Mon, 30 Aug 2004 22:12:45 +0000 (22:12 +0000)]
Use prefix instead of idzebraprefix. Make --tab work.

20 years agoAdded another ignore.
Adam Dickmeiss [Mon, 30 Aug 2004 21:45:24 +0000 (21:45 +0000)]
Added another ignore.

20 years agoUpdate cvsignore due to new type of files generated by libtool.
Adam Dickmeiss [Mon, 30 Aug 2004 21:43:56 +0000 (21:43 +0000)]
Update cvsignore due to new type of files generated by libtool.

20 years agoFix various order for various linking steps. Add Tcl libs.
Adam Dickmeiss [Mon, 30 Aug 2004 21:36:53 +0000 (21:36 +0000)]
Fix various order for various linking steps. Add Tcl libs.

20 years agoDisable shared objects by default
Adam Dickmeiss [Mon, 30 Aug 2004 21:35:27 +0000 (21:35 +0000)]
Disable shared objects by default

20 years agoUsing a separate nmem for creating rsets
Heikki Levanto [Mon, 30 Aug 2004 12:32:24 +0000 (12:32 +0000)]
Using a separate nmem for creating rsets

20 years agoCreated idzebra-config that returns compiler flags and libs
Adam Dickmeiss [Sun, 29 Aug 2004 12:31:32 +0000 (12:31 +0000)]
Created idzebra-config that returns compiler flags and libs

20 years agoUsing nmem for all rsets, and keeping a freelist for freed rfds, so
Heikki Levanto [Thu, 26 Aug 2004 11:11:59 +0000 (11:11 +0000)]
Using nmem for all rsets, and keeping a freelist for freed rfds, so
they can be reused

20 years agoAdd comment
Adam Dickmeiss [Wed, 25 Aug 2004 13:23:13 +0000 (13:23 +0000)]
Add comment

20 years agoUse free_list for RSFDs so they are reused.
Adam Dickmeiss [Wed, 25 Aug 2004 13:21:43 +0000 (13:21 +0000)]
Use free_list for RSFDs so they are reused.

20 years agoFix syntax (oops)
Adam Dickmeiss [Wed, 25 Aug 2004 09:28:01 +0000 (09:28 +0000)]
Fix syntax (oops)

20 years agoMove headers zebraapi.h->idzebra/api.h, zebraver.h->idzebra/version.h,
Adam Dickmeiss [Wed, 25 Aug 2004 09:23:35 +0000 (09:23 +0000)]
Move headers zebraapi.h->idzebra/api.h, zebraver.h->idzebra/version.h,
res.h->idzebra/res.h . Remove rsm_or completely. Add rsmultior.

20 years agoisam no longer part of Zebra source
Adam Dickmeiss [Wed, 25 Aug 2004 09:21:43 +0000 (09:21 +0000)]
isam no longer part of Zebra source

20 years agoAdd rsmultior. Remove rsm_or
Adam Dickmeiss [Wed, 25 Aug 2004 09:18:49 +0000 (09:18 +0000)]
Add rsmultior. Remove rsm_or

20 years agoDo not include rsm_or.h . It is dead
Adam Dickmeiss [Wed, 25 Aug 2004 09:18:06 +0000 (09:18 +0000)]
Do not include rsm_or.h . It is dead

20 years agoInitialize count, type due to removed rset terms
Adam Dickmeiss [Wed, 25 Aug 2004 09:17:33 +0000 (09:17 +0000)]
Initialize count, type due to removed rset terms

20 years agoAdd include\idzebra
Adam Dickmeiss [Wed, 25 Aug 2004 08:42:13 +0000 (08:42 +0000)]
Add include\idzebra

20 years agoUsing a bit more of those nmems in rsets
Heikki Levanto [Tue, 24 Aug 2004 15:00:16 +0000 (15:00 +0000)]
Using a bit more of those nmems in rsets

20 years agoAllow range to be specified in termlist, e.g. title:w:range(data,2,4)
Adam Dickmeiss [Tue, 24 Aug 2004 14:29:09 +0000 (14:29 +0000)]
Allow range to be specified in termlist, e.g. title:w:range(data,2,4)
which indexes 4 characters from position 2 in title.

20 years agoCleaned up the creation of rsets, added nmem
Heikki Levanto [Tue, 24 Aug 2004 14:25:15 +0000 (14:25 +0000)]
Cleaned up the creation of rsets, added nmem

20 years agoFix other SO dependency
Adam Dickmeiss [Tue, 24 Aug 2004 10:44:53 +0000 (10:44 +0000)]
Fix other SO dependency

20 years agoFix SO lib dependency
Adam Dickmeiss [Tue, 24 Aug 2004 10:40:23 +0000 (10:40 +0000)]
Fix SO lib dependency

20 years agoSwitching to Libtool shared libraries for Zebra.
Adam Dickmeiss [Tue, 24 Aug 2004 10:37:18 +0000 (10:37 +0000)]
Switching to Libtool shared libraries for Zebra.

20 years agoFixed a crash with isam-c and multior (incremented a non-existing countp)
Heikki Levanto [Tue, 24 Aug 2004 08:52:30 +0000 (08:52 +0000)]
Fixed a crash with isam-c and multior (incremented a non-existing countp)

20 years agoStore number of keys in isam:b so we can return number of word occurrences
Adam Dickmeiss [Mon, 23 Aug 2004 13:06:45 +0000 (13:06 +0000)]
Store number of keys in isam:b so we can return number of word occurrences
fast. Delete isamb entries that gets empty.

20 years agoRemoved the VOLATILE flag from rsets
Heikki Levanto [Mon, 23 Aug 2004 12:38:53 +0000 (12:38 +0000)]
Removed the VOLATILE flag from rsets

20 years agoRemoved the term count stuff from all rsets, and fixed what ever that broke.
Heikki Levanto [Fri, 20 Aug 2004 14:44:45 +0000 (14:44 +0000)]
Removed the term count stuff from all rsets, and fixed what ever that broke.
Ranking doesn't probably work at all after this!

20 years agoJoin with Zebra 1.3 branch
Adam Dickmeiss [Fri, 20 Aug 2004 12:36:53 +0000 (12:36 +0000)]
Join with Zebra 1.3 branch

20 years agoEstimating the term occurrences the same way as total hits, when estimatehits
Heikki Levanto [Thu, 19 Aug 2004 14:47:06 +0000 (14:47 +0000)]
Estimating the term occurrences the same way as total hits, when estimatehits
is used.

20 years agoAdded pos
Heikki Levanto [Thu, 19 Aug 2004 14:11:54 +0000 (14:11 +0000)]
Added pos

20 years agoFiles .xsl + .dsl part of dist
Adam Dickmeiss [Thu, 19 Aug 2004 13:10:49 +0000 (13:10 +0000)]
Files .xsl + .dsl part of dist

20 years agothe new multior. Seems to work, forwards OK, does not yet estimate pos.
Heikki Levanto [Thu, 19 Aug 2004 12:49:14 +0000 (12:49 +0000)]
the new multior. Seems to work, forwards OK, does not yet estimate pos.
term counts work too!

20 years agoAdd to ignore
Adam Dickmeiss [Thu, 19 Aug 2004 11:51:41 +0000 (11:51 +0000)]
Add to ignore

20 years agoDocument bug fixes
Adam Dickmeiss [Thu, 19 Aug 2004 11:50:12 +0000 (11:50 +0000)]
Document bug fixes

20 years agoFix problem with leaf split
Adam Dickmeiss [Wed, 18 Aug 2004 20:00:35 +0000 (20:00 +0000)]
Fix problem with leaf split

20 years agoFix bug in rec_release_blcoks that caused Zebra to halt.
Adam Dickmeiss [Wed, 18 Aug 2004 17:02:05 +0000 (17:02 +0000)]
Fix bug in rec_release_blcoks that caused Zebra to halt.

20 years agoAdd IDZebra.i to dist
Adam Dickmeiss [Tue, 17 Aug 2004 06:57:05 +0000 (06:57 +0000)]
Add IDZebra.i to dist

20 years agoAdded skeleton for multior - not at all functional yet. Call to it
Heikki Levanto [Mon, 16 Aug 2004 16:17:49 +0000 (16:17 +0000)]
Added skeleton for multior - not at all functional yet. Call to it
implemented, but #ifdef'd out

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