idzebra-moved-to-github.git
19 years agoAdded the scope parameter to rsets, and using it in all forwards and reads
Heikki Levanto [Thu, 9 Sep 2004 10:08:04 +0000 (10:08 +0000)]
Added the scope parameter to rsets, and using it in all forwards and reads

19 years agoDTD_DIR assignment
Adam Dickmeiss [Thu, 9 Sep 2004 09:55:20 +0000 (09:55 +0000)]
DTD_DIR assignment

19 years agoUpdate to new yaz.m4 (--with-yaz-config change)
Adam Dickmeiss [Thu, 9 Sep 2004 09:50:15 +0000 (09:50 +0000)]
Update to new yaz.m4 (--with-yaz-config change)

19 years agoExtra page_size arg for dict_open.
Adam Dickmeiss [Thu, 9 Sep 2004 09:07:12 +0000 (09:07 +0000)]
Extra page_size arg for dict_open.
Wrapper function dict_open_res that reads dict parmeters from
resources (if set).

19 years agoSync with 1_3_16_branch. Fix bug 128.
Adam Dickmeiss [Mon, 6 Sep 2004 09:31:34 +0000 (09:31 +0000)]
Sync with 1_3_16_branch. Fix bug 128.

19 years agoFixed an obvious typo in rsprox that prevented forward from forwarding very
Heikki Levanto [Fri, 3 Sep 2004 15:04:11 +0000 (15:04 +0000)]
Fixed an obvious typo in rsprox that prevented forward from forwarding very
well...

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

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

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

19 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

19 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

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

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

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

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

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

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

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

19 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

19 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

19 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

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

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

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

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

19 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

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

19 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

19 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

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

19 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

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

19 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

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

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

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

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

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

19 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

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

19 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

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

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

19 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

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

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

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

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

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

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

19 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

19 years agoAnother 64-bit format string
Heikki Levanto [Mon, 16 Aug 2004 12:09:43 +0000 (12:09 +0000)]
Another 64-bit format string

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

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

19 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

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

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

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