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
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
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).
Heikki Levanto [Tue, 31 Aug 2004 10:43:35 +0000 (10:43 +0000)]
Major restructuring in rsets.
Adam Dickmeiss [Mon, 30 Aug 2004 22:12:45 +0000 (22:12 +0000)]
Use prefix instead of idzebraprefix. Make --tab work.
Adam Dickmeiss [Mon, 30 Aug 2004 21:45:24 +0000 (21:45 +0000)]
Added another ignore.
Adam Dickmeiss [Mon, 30 Aug 2004 21:43:56 +0000 (21:43 +0000)]
Update cvsignore due to new type of files generated by libtool.
Adam Dickmeiss [Mon, 30 Aug 2004 21:36:53 +0000 (21:36 +0000)]
Fix various order for various linking steps. Add Tcl libs.
Adam Dickmeiss [Mon, 30 Aug 2004 21:35:27 +0000 (21:35 +0000)]
Disable shared objects by default
Heikki Levanto [Mon, 30 Aug 2004 12:32:24 +0000 (12:32 +0000)]
Using a separate nmem for creating rsets
Adam Dickmeiss [Sun, 29 Aug 2004 12:31:32 +0000 (12:31 +0000)]
Created idzebra-config that returns compiler flags and libs
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
Adam Dickmeiss [Wed, 25 Aug 2004 13:23:13 +0000 (13:23 +0000)]
Add comment
Adam Dickmeiss [Wed, 25 Aug 2004 13:21:43 +0000 (13:21 +0000)]
Use free_list for RSFDs so they are reused.
Adam Dickmeiss [Wed, 25 Aug 2004 09:28:01 +0000 (09:28 +0000)]
Fix syntax (oops)
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.
Adam Dickmeiss [Wed, 25 Aug 2004 09:21:43 +0000 (09:21 +0000)]
isam no longer part of Zebra source
Adam Dickmeiss [Wed, 25 Aug 2004 09:18:49 +0000 (09:18 +0000)]
Add rsmultior. Remove rsm_or
Adam Dickmeiss [Wed, 25 Aug 2004 09:18:06 +0000 (09:18 +0000)]
Do not include rsm_or.h . It is dead
Adam Dickmeiss [Wed, 25 Aug 2004 09:17:33 +0000 (09:17 +0000)]
Initialize count, type due to removed rset terms
Adam Dickmeiss [Wed, 25 Aug 2004 08:42:13 +0000 (08:42 +0000)]
Add include\idzebra
Heikki Levanto [Tue, 24 Aug 2004 15:00:16 +0000 (15:00 +0000)]
Using a bit more of those nmems in rsets
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.
Heikki Levanto [Tue, 24 Aug 2004 14:25:15 +0000 (14:25 +0000)]
Cleaned up the creation of rsets, added nmem
Adam Dickmeiss [Tue, 24 Aug 2004 10:44:53 +0000 (10:44 +0000)]
Fix other SO dependency
Adam Dickmeiss [Tue, 24 Aug 2004 10:40:23 +0000 (10:40 +0000)]
Fix SO lib dependency
Adam Dickmeiss [Tue, 24 Aug 2004 10:37:18 +0000 (10:37 +0000)]
Switching to Libtool shared libraries for Zebra.
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)
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.
Heikki Levanto [Mon, 23 Aug 2004 12:38:53 +0000 (12:38 +0000)]
Removed the VOLATILE flag from rsets
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!
Adam Dickmeiss [Fri, 20 Aug 2004 12:36:53 +0000 (12:36 +0000)]
Join with Zebra 1.3 branch
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.
Heikki Levanto [Thu, 19 Aug 2004 14:11:54 +0000 (14:11 +0000)]
Added pos
Adam Dickmeiss [Thu, 19 Aug 2004 13:10:49 +0000 (13:10 +0000)]
Files .xsl + .dsl part of dist
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!
Adam Dickmeiss [Thu, 19 Aug 2004 11:51:41 +0000 (11:51 +0000)]
Add to ignore
Adam Dickmeiss [Thu, 19 Aug 2004 11:50:12 +0000 (11:50 +0000)]
Document bug fixes
Adam Dickmeiss [Wed, 18 Aug 2004 20:00:35 +0000 (20:00 +0000)]
Fix problem with leaf split
Adam Dickmeiss [Wed, 18 Aug 2004 17:02:05 +0000 (17:02 +0000)]
Fix bug in rec_release_blcoks that caused Zebra to halt.
Adam Dickmeiss [Tue, 17 Aug 2004 06:57:05 +0000 (06:57 +0000)]
Add IDZebra.i to dist
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
Heikki Levanto [Mon, 16 Aug 2004 12:09:43 +0000 (12:09 +0000)]
Another 64-bit format string
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.
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.
Adam Dickmeiss [Fri, 13 Aug 2004 13:16:52 +0000 (13:16 +0000)]
Add test t6 from Zebra 1.3.16 branch
Heikki Levanto [Wed, 11 Aug 2004 14:43:43 +0000 (14:43 +0000)]
Added a small comment on what this test is all about!
Adam Dickmeiss [Wed, 11 Aug 2004 13:36:13 +0000 (13:36 +0000)]
Remove log message
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).
Adam Dickmeiss [Wed, 11 Aug 2004 13:09:58 +0000 (13:09 +0000)]
Skip announce line
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.
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!
Heikki Levanto [Tue, 10 Aug 2004 08:19:15 +0000 (08:19 +0000)]
using a few more zints for hitcounts etc
Mike Taylor [Tue, 10 Aug 2004 08:16:43 +0000 (08:16 +0000)]
Ignore xsinit.h
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.
Adam Dickmeiss [Mon, 9 Aug 2004 08:40:09 +0000 (08:40 +0000)]
Remove libisam.a
Heikki Levanto [Fri, 6 Aug 2004 14:09:02 +0000 (14:09 +0000)]
pos estimates for rsbetween and rsprox
Adam Dickmeiss [Fri, 6 Aug 2004 13:36:22 +0000 (13:36 +0000)]
More type casts due to zint.
Adam Dickmeiss [Fri, 6 Aug 2004 13:35:45 +0000 (13:35 +0000)]
Remove isam: i.
Adam Dickmeiss [Fri, 6 Aug 2004 13:24:59 +0000 (13:24 +0000)]
Remove this.
Adam Dickmeiss [Fri, 6 Aug 2004 13:14:46 +0000 (13:14 +0000)]
Remove oldest isam (isam:i)
Adam Dickmeiss [Fri, 6 Aug 2004 12:56:04 +0000 (12:56 +0000)]
Remove isamd.
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.
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.
Adam Dickmeiss [Fri, 6 Aug 2004 12:27:30 +0000 (12:27 +0000)]
Remove obj isamd,merge-d; add obj atoi_zn
Heikki Levanto [Fri, 6 Aug 2004 10:09:27 +0000 (10:09 +0000)]
Using doubles in the position estimates, not to loose precision
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
Adam Dickmeiss [Fri, 6 Aug 2004 09:38:36 +0000 (09:38 +0000)]
Updates for new objects in NMAKE makefile
Adam Dickmeiss [Fri, 6 Aug 2004 09:38:23 +0000 (09:38 +0000)]
Upgrade to NSIS 2
Adam Dickmeiss [Fri, 6 Aug 2004 09:37:37 +0000 (09:37 +0000)]
Only use inline on GCC
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...
Adam Dickmeiss [Wed, 4 Aug 2004 09:05:17 +0000 (09:05 +0000)]
Remove log message
Adam Dickmeiss [Wed, 4 Aug 2004 09:00:00 +0000 (09:00 +0000)]
Fix declaration - to make it backwards compatible
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.
Adam Dickmeiss [Wed, 4 Aug 2004 08:26:43 +0000 (08:26 +0000)]
Fix indentation in example
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.
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
Adam Dickmeiss [Mon, 2 Aug 2004 10:12:06 +0000 (10:12 +0000)]
Select database before commit takes place to ensure register is selected
Mike Taylor [Mon, 2 Aug 2004 09:55:30 +0000 (09:55 +0000)]
Add missing close-quote.
Adam Dickmeiss [Fri, 30 Jul 2004 10:06:09 +0000 (10:06 +0000)]
Updates to make Debian Sarge package for 1.3.16-1
Adam Dickmeiss [Wed, 28 Jul 2004 11:15:10 +0000 (11:15 +0000)]
Ensure that perl/IDZebra_wrap.c is part of dist.
Adam Dickmeiss [Wed, 28 Jul 2004 11:01:58 +0000 (11:01 +0000)]
Fix sort test
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.
Adam Dickmeiss [Wed, 28 Jul 2004 09:40:46 +0000 (09:40 +0000)]
More comments on register specs
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.
Adam Dickmeiss [Wed, 28 Jul 2004 08:05:58 +0000 (08:05 +0000)]
Make a copy instead of pointer for member: base
Adam Dickmeiss [Mon, 26 Jul 2004 13:59:25 +0000 (13:59 +0000)]
Fix memory leak
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)
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.
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.
Adam Dickmeiss [Wed, 16 Jun 2004 22:12:30 +0000 (22:12 +0000)]
Use WRBUF instead of huge stack var
Adam Dickmeiss [Wed, 16 Jun 2004 22:07:48 +0000 (22:07 +0000)]
Added cvsignore
Adam Dickmeiss [Wed, 16 Jun 2004 22:06:49 +0000 (22:06 +0000)]
Proximity tests
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.
Adam Dickmeiss [Wed, 16 Jun 2004 21:29:49 +0000 (21:29 +0000)]
Enabling rsprox. Tests OK
Adam Dickmeiss [Wed, 16 Jun 2004 21:27:37 +0000 (21:27 +0000)]
Cosmetic changes. Added an assert, since prox needs >= 2 sets
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@.
Adam Dickmeiss [Wed, 16 Jun 2004 20:32:41 +0000 (20:32 +0000)]
Remove unused local
Adam Dickmeiss [Wed, 16 Jun 2004 20:30:47 +0000 (20:30 +0000)]
Initialize local to prevent gcc -O warning
Adam Dickmeiss [Tue, 15 Jun 2004 10:56:31 +0000 (10:56 +0000)]
Minor changes to avoid a few warnings