idzebra-moved-to-github.git
19 years agoUsing the new ylog.h everywhere, and fixing what that breaks!
Heikki Levanto [Fri, 19 Nov 2004 10:26:52 +0000 (10:26 +0000)]
Using the new ylog.h everywhere, and fixing what that breaks!

19 years agoChange spacing
Adam Dickmeiss [Mon, 15 Nov 2004 23:13:12 +0000 (23:13 +0000)]
Change spacing

19 years agoMake isam:c work again
Adam Dickmeiss [Mon, 15 Nov 2004 23:09:36 +0000 (23:09 +0000)]
Make isam:c work again

19 years agoFix bug #171. Align with 1.3.16 branch.
Adam Dickmeiss [Mon, 15 Nov 2004 22:57:25 +0000 (22:57 +0000)]
Fix bug #171. Align with 1.3.16 branch.

19 years agoFix leak in resultSetRank. Rework logging and layout
Adam Dickmeiss [Mon, 15 Nov 2004 22:44:33 +0000 (22:44 +0000)]
Fix leak in resultSetRank. Rework logging and layout

19 years agoRequire YAZ 2.0.27 in configure
Adam Dickmeiss [Tue, 9 Nov 2004 12:02:36 +0000 (12:02 +0000)]
Require YAZ 2.0.27 in configure

19 years agoCleaned a bit
Heikki Levanto [Fri, 5 Nov 2004 18:08:06 +0000 (18:08 +0000)]
Cleaned a bit

19 years agoNew rsbeween implementation. Much shorter and easier, and works well
Heikki Levanto [Fri, 5 Nov 2004 17:44:32 +0000 (17:44 +0000)]
New rsbeween implementation. Much shorter and easier, and works well
with ranking as well.

19 years agoDynamic logging and minor cleaning
Heikki Levanto [Thu, 4 Nov 2004 13:54:08 +0000 (13:54 +0000)]
Dynamic logging and minor cleaning
  -v rset,rsisamb,rsisamc,rsmultiandor,rstemp
mostly changed existing logs. Better logs needed when debugging something
in these modules, but not yet.

19 years agoNew logging -v rsisamc
Heikki Levanto [Thu, 4 Nov 2004 13:11:51 +0000 (13:11 +0000)]
New logging -v rsisamc

19 years agoLogging with the new dynamic levels
Heikki Levanto [Thu, 4 Nov 2004 13:10:07 +0000 (13:10 +0000)]
Logging with the new dynamic levels

19 years agoFixed expected results to match with the corrected zvrank
Heikki Levanto [Thu, 4 Nov 2004 13:09:49 +0000 (13:09 +0000)]
Fixed expected results to match with the corrected zvrank

19 years ago- Changed logging levels to the new symbolic system. Now you can say
Heikki Levanto [Thu, 4 Nov 2004 13:09:06 +0000 (13:09 +0000)]
- Changed logging levels to the new symbolic system. Now you can say
  "-v rank1,zvrank" and get log info for these two rankings.
- Fixed a bug of not resetting the occurrence counts in zvrank
- Cleaned whitespaces in zvrank

19 years agoFixed the way keys are displayed in the log
Heikki Levanto [Thu, 4 Nov 2004 11:47:23 +0000 (11:47 +0000)]
Fixed the way keys are displayed in the log

19 years agoFixed bug #203, rank-1 crashed with isam-c
Heikki Levanto [Wed, 3 Nov 2004 16:04:45 +0000 (16:04 +0000)]
Fixed bug #203, rank-1 crashed with isam-c
The fix was to add a TERMID to rstemp, then everything works fine.

19 years agoAdded tests for catching the missing occurrences in rsbetween (bug #202)
Heikki Levanto [Mon, 1 Nov 2004 16:09:05 +0000 (16:09 +0000)]
Added tests for catching the missing occurrences in rsbetween (bug #202)

19 years agoAdded debug info and comments to hunt bug #202
Heikki Levanto [Mon, 1 Nov 2004 15:53:57 +0000 (15:53 +0000)]
Added debug info and comments to hunt bug #202
Seems like this needs one more rewrite!
Comments at the end of file indicate the way I want to do it next

19 years agoAdded a test for ranking together with xpath -
Heikki Levanto [Mon, 1 Nov 2004 11:45:39 +0000 (11:45 +0000)]
Added a test for ranking together with xpath -
and uncovered bug #202

19 years agoAdded a missing config file
Heikki Levanto [Fri, 29 Oct 2004 14:30:27 +0000 (14:30 +0000)]
Added a missing config file

19 years agoAdded xpath tests in test/api, disables test/xpath
Heikki Levanto [Fri, 29 Oct 2004 14:16:22 +0000 (14:16 +0000)]
Added xpath tests in test/api, disables test/xpath

19 years agoAdded the first xpath test
Heikki Levanto [Fri, 29 Oct 2004 13:02:56 +0000 (13:02 +0000)]
Added the first xpath test

19 years agoRefactored more stuff into testlib, cleaned up the tests.
Heikki Levanto [Fri, 29 Oct 2004 13:02:39 +0000 (13:02 +0000)]
Refactored more stuff into testlib, cleaned up the tests.

19 years agoFixed an old-style declaration
Heikki Levanto [Fri, 29 Oct 2004 11:23:52 +0000 (11:23 +0000)]
Fixed an old-style declaration

19 years agoCleaned the test programs a bit, used routines in testlib
Heikki Levanto [Thu, 28 Oct 2004 15:24:36 +0000 (15:24 +0000)]
Cleaned the test programs a bit, used routines in testlib

19 years agoAdded missing file
Heikki Levanto [Thu, 28 Oct 2004 14:01:31 +0000 (14:01 +0000)]
Added missing file

19 years agoAdded the forgotten file
Heikki Levanto [Thu, 28 Oct 2004 10:43:38 +0000 (10:43 +0000)]
Added the forgotten file

19 years agoRemoved livcode ranking
Heikki Levanto [Thu, 28 Oct 2004 10:37:15 +0000 (10:37 +0000)]
Removed livcode ranking
Fixed zvrank
Added tests for zvrank
Started to refactor tests/api

19 years agoRe-estabslished rank-1. Gets same order of results, but slightly different
Heikki Levanto [Tue, 26 Oct 2004 15:32:11 +0000 (15:32 +0000)]
Re-estabslished rank-1. Gets same order of results, but slightly different
scores, due to using a better estimate for term occurrences.

19 years agoMake zebra cfg part of dist to ensure tests pass
Adam Dickmeiss [Sun, 24 Oct 2004 13:34:45 +0000 (13:34 +0000)]
Make zebra cfg part of dist to ensure tests pass

19 years agoTerm counts right in the log (if not in searchresponse)
Heikki Levanto [Fri, 22 Oct 2004 11:33:28 +0000 (11:33 +0000)]
Term counts right in the log (if not in searchresponse)

19 years agoCleaned debug logs away
Heikki Levanto [Fri, 22 Oct 2004 10:58:28 +0000 (10:58 +0000)]
Cleaned debug logs away

19 years agoAdded a routine to get an array of terms in a query, in preparation
Heikki Levanto [Fri, 22 Oct 2004 10:12:51 +0000 (10:12 +0000)]
Added a routine to get an array of terms in a query, in preparation
for ranking

19 years agoGetting the terms from rsets where needed, still not passing
Heikki Levanto [Thu, 21 Oct 2004 12:43:09 +0000 (12:43 +0000)]
Getting the terms from rsets where needed, still not passing
them properly for the ranking...

19 years agoCreating search terms, and passing them around in searches. Not yet actually
Heikki Levanto [Wed, 20 Oct 2004 14:32:28 +0000 (14:32 +0000)]
Creating search terms, and passing them around in searches. Not yet actually
passign them to ranking, but getting closer...

Also, fixed some bugs in rsprox (hooray for our tests!)

19 years agoZebra not returning Valid XML.
Adam Dickmeiss [Wed, 20 Oct 2004 10:36:40 +0000 (10:36 +0000)]
Zebra not returning Valid XML.

19 years agofirst version of zebra init script added
Marc Cromme [Mon, 18 Oct 2004 13:29:25 +0000 (13:29 +0000)]
first version of zebra init script added

19 years agoPassing a TERMID to rsets when creating, and getting it back when reading.
Heikki Levanto [Fri, 15 Oct 2004 10:07:32 +0000 (10:07 +0000)]
Passing a TERMID to rsets when creating, and getting it back when reading.
This is a preparation for fixing the ranking and termcount features that
were broken by forwarding.

19 years agoAdded a forgotten cfg file that is needed for t8
Heikki Levanto [Wed, 13 Oct 2004 10:11:19 +0000 (10:11 +0000)]
Added a forgotten cfg file that is needed for t8

19 years agoEnabled retrieval of zebra metadata in XML when element set names used
Sebastian Hammer [Tue, 12 Oct 2004 18:21:35 +0000 (18:21 +0000)]
Enabled retrieval of zebra metadata in XML when element set names used

19 years agoAdded a load of assertions in the zebraapi.c, so now most arguments should be
Heikki Levanto [Thu, 7 Oct 2004 14:18:23 +0000 (14:18 +0000)]
Added a load of assertions in the zebraapi.c, so now most arguments should be
checked.

19 years agoHandle bad est espec properly
Adam Dickmeiss [Tue, 5 Oct 2004 12:23:25 +0000 (12:23 +0000)]
Handle bad est espec properly

19 years agoOnly warn about empty records within file verbose limit
Adam Dickmeiss [Mon, 4 Oct 2004 09:27:48 +0000 (09:27 +0000)]
Only warn about empty records within file verbose limit

19 years agoUsing proper type this time
Adam Dickmeiss [Mon, 4 Oct 2004 09:20:31 +0000 (09:20 +0000)]
Using proper type this time

19 years agoAdd missing hash member to data1_element
Adam Dickmeiss [Mon, 4 Oct 2004 09:19:16 +0000 (09:19 +0000)]
Add missing hash member to data1_element

19 years agoshadow/register not enabled by default
Adam Dickmeiss [Sun, 3 Oct 2004 22:06:32 +0000 (22:06 +0000)]
shadow/register not enabled by default

19 years agoNew tests for numeric searches
Heikki Levanto [Fri, 1 Oct 2004 15:36:41 +0000 (15:36 +0000)]
New tests for numeric searches

19 years agoAdded an asserion in zebra_search_rpn api
Heikki Levanto [Fri, 1 Oct 2004 15:36:15 +0000 (15:36 +0000)]
Added an asserion in zebra_search_rpn api

19 years agofixed a debug log message
Heikki Levanto [Fri, 1 Oct 2004 14:50:22 +0000 (14:50 +0000)]
fixed a debug log message

19 years agoUsing multiand/or instead of and/or in a few more places
Heikki Levanto [Fri, 1 Oct 2004 14:25:28 +0000 (14:25 +0000)]
Using multiand/or instead of and/or in a few more places
Added tests for numeric terms (and found bug #166)

19 years agoRemoved a warning
Heikki Levanto [Fri, 1 Oct 2004 09:13:06 +0000 (09:13 +0000)]
Removed a warning

19 years agoAdded type cast to avoid warning
Adam Dickmeiss [Thu, 30 Sep 2004 18:31:14 +0000 (18:31 +0000)]
Added type cast to avoid warning

19 years agoAdded a version of data1_getelementbyname that uses a hash instead
Adam Dickmeiss [Thu, 30 Sep 2004 18:30:35 +0000 (18:30 +0000)]
Added a version of data1_getelementbyname that uses a hash instead
of linear search. It seems to speed up extract phase considerably.

19 years agoForgot to commit the new rset.h when removing rewind ops
Heikki Levanto [Thu, 30 Sep 2004 13:07:06 +0000 (13:07 +0000)]
Forgot to commit the new rset.h when removing rewind ops

19 years agoRemoved the rewind function from rsets, it was unused
Heikki Levanto [Thu, 30 Sep 2004 09:53:04 +0000 (09:53 +0000)]
Removed the rewind function from rsets, it was unused
Cleaned one api/t7.c, so it compiles with -Werror

19 years agoAvoid non-portable dirent check
Adam Dickmeiss [Thu, 30 Sep 2004 08:30:05 +0000 (08:30 +0000)]
Avoid non-portable dirent check

19 years agoRemove TCL_LIB from all LDADDs except for Tcl filter. We don't anything
Adam Dickmeiss [Thu, 30 Sep 2004 08:16:48 +0000 (08:16 +0000)]
Remove TCL_LIB from all LDADDs except for Tcl filter. We don't anything
but the filter to link with it!

19 years agoFixed usage of extern so that it works with older C standard.
Adam Dickmeiss [Thu, 30 Sep 2004 07:23:15 +0000 (07:23 +0000)]
Fixed usage of extern so that it works with older C standard.

19 years agoNew Debian sarge packages
Adam Dickmeiss [Thu, 30 Sep 2004 06:59:44 +0000 (06:59 +0000)]
New Debian sarge packages

19 years agoFixed the rsmultior forward problem.
Heikki Levanto [Wed, 29 Sep 2004 11:00:56 +0000 (11:00 +0000)]
Fixed the rsmultior forward problem.
Re-enabled using rsmultior in rstrunc (it created a multior, but didn't use
it. Doh!)

19 years agoMan page idzebra-config.1
Adam Dickmeiss [Tue, 28 Sep 2004 20:38:25 +0000 (20:38 +0000)]
Man page idzebra-config.1

19 years agoInclude yaz/options.h
Adam Dickmeiss [Tue, 28 Sep 2004 20:09:13 +0000 (20:09 +0000)]
Include yaz/options.h

19 years agomultiand seesm to work. Is used for and-lists (@attr 4=6)
Heikki Levanto [Tue, 28 Sep 2004 16:39:46 +0000 (16:39 +0000)]
multiand seesm to work. Is used for and-lists (@attr 4=6)

19 years agoRead works. Forward missing (but safe to commit, as not used from anywhere)
Heikki Levanto [Tue, 28 Sep 2004 16:12:42 +0000 (16:12 +0000)]
Read works. Forward missing (but safe to commit, as not used from anywhere)

19 years agoAdded YAZ_{EXPORT,BEGIN_CDECL,END_CDECL} in header files
Adam Dickmeiss [Tue, 28 Sep 2004 13:31:18 +0000 (13:31 +0000)]
Added YAZ_{EXPORT,BEGIN_CDECL,END_CDECL} in header files

19 years agoRenamed rsmultior to rsmultiandor, and started to add the multiand
Heikki Levanto [Tue, 28 Sep 2004 13:06:35 +0000 (13:06 +0000)]
Renamed rsmultior to rsmultiandor, and started to add the multiand
features. Not there yet.

19 years agoMove Perl away. It is now a separate CVS project: idzebra-perl
Adam Dickmeiss [Tue, 28 Sep 2004 12:52:03 +0000 (12:52 +0000)]
Move Perl away. It is now a separate CVS project: idzebra-perl

19 years agoMade zebramap.h public too
Adam Dickmeiss [Tue, 28 Sep 2004 12:39:54 +0000 (12:39 +0000)]
Made zebramap.h public too

19 years agoPut content of headers into data1.h
Adam Dickmeiss [Tue, 28 Sep 2004 10:43:37 +0000 (10:43 +0000)]
Put content of headers into data1.h

19 years agoReorganized header files so that a certain subset are public. These
Adam Dickmeiss [Tue, 28 Sep 2004 10:15:02 +0000 (10:15 +0000)]
Reorganized header files so that a certain subset are public. These
public files are stored in include/idzebra . Private ones are stored
in include.

19 years agoTake care of expat.h being unavailable
Adam Dickmeiss [Tue, 28 Sep 2004 08:44:48 +0000 (08:44 +0000)]
Take care of expat.h being unavailable

19 years agoFix dirs when srcdir is different from dstdir
Adam Dickmeiss [Mon, 27 Sep 2004 12:18:44 +0000 (12:18 +0000)]
Fix dirs when srcdir is different from dstdir

19 years agodoswig part of dist
Adam Dickmeiss [Mon, 27 Sep 2004 12:18:15 +0000 (12:18 +0000)]
doswig part of dist

19 years agoMore wait
Adam Dickmeiss [Mon, 27 Sep 2004 11:22:39 +0000 (11:22 +0000)]
More wait

19 years agoImplemented loadable filters.
Adam Dickmeiss [Mon, 27 Sep 2004 10:44:47 +0000 (10:44 +0000)]
Implemented loadable filters.

19 years agoDo not declare static function f in AC_TRY_LINK test
Adam Dickmeiss [Mon, 27 Sep 2004 08:29:38 +0000 (08:29 +0000)]
Do not declare static function f in AC_TRY_LINK test

19 years agoFix bug 154: Option -n does not disable shadow as it should.
Adam Dickmeiss [Sun, 26 Sep 2004 20:38:50 +0000 (20:38 +0000)]
Fix bug 154: Option -n does not disable shadow as it should.

19 years agoFix bug 156: Index corrupted after large-scale test.
Adam Dickmeiss [Sun, 26 Sep 2004 20:19:44 +0000 (20:19 +0000)]
Fix bug 156: Index corrupted after large-scale test.
Error occured in Zebra 1.4 and in Zebra 1.3 due to change in size of
zint. That resulted in struct index_entry size 12 which is not
divisible in block size of 128. Functions {read,write}_indx modified.

19 years agoWait more for zebrasrv to start (due to slow systems)
Adam Dickmeiss [Fri, 24 Sep 2004 15:03:19 +0000 (15:03 +0000)]
Wait more for zebrasrv to start (due to slow systems)

19 years agoFixed a but in reporting wrong number of hits
Heikki Levanto [Wed, 22 Sep 2004 12:13:10 +0000 (12:13 +0000)]
Fixed a but in reporting wrong number of hits

19 years agoAdded a test for sorting
Heikki Levanto [Wed, 22 Sep 2004 11:59:25 +0000 (11:59 +0000)]
Added a test for sorting

19 years agoPerl tests work
Heikki Levanto [Mon, 20 Sep 2004 15:59:48 +0000 (15:59 +0000)]
Perl tests work

19 years agoDeleted test map statements
Sebastian Hammer [Fri, 17 Sep 2004 19:15:13 +0000 (19:15 +0000)]
Deleted test map statements

19 years agoRemove Id from header due to inconvenient diffs when yaz.m4 is copied
Adam Dickmeiss [Fri, 17 Sep 2004 08:45:01 +0000 (08:45 +0000)]
Remove Id from header due to inconvenient diffs when yaz.m4 is copied

19 years agoAfter fixing the sorting bug, enabled its tests in t/07sort.t.
Heikki Levanto [Thu, 16 Sep 2004 15:07:55 +0000 (15:07 +0000)]
After fixing the sorting bug, enabled its tests in t/07sort.t.
At the same time removed the crashing version of the test, as
its test is included in 07.

19 years agoFixed a bug in sort that destroyed resultsets too early
Heikki Levanto [Thu, 16 Sep 2004 14:58:47 +0000 (14:58 +0000)]
Fixed a bug in sort that destroyed resultsets too early

19 years agoRemove string-hat.chr because it is unused in thie test.
Adam Dickmeiss [Thu, 16 Sep 2004 14:02:46 +0000 (14:02 +0000)]
Remove string-hat.chr because it is unused in thie test.
Change comment in beginning of sort.chr.

19 years agoDont refer to sort.chr
Adam Dickmeiss [Thu, 16 Sep 2004 14:01:05 +0000 (14:01 +0000)]
Dont refer to sort.chr

19 years agoCleaned test scripts to be (nearly?) atomic
Heikki Levanto [Wed, 15 Sep 2004 14:11:06 +0000 (14:11 +0000)]
Cleaned test scripts to be (nearly?) atomic
Found two problems in zebra itself, documented them in skipping tests
Tests to be fixed when zebra itself behaves

19 years agoAdded autoconf utility idzebra.m4 which defines --with-idzebra
Adam Dickmeiss [Wed, 15 Sep 2004 09:17:25 +0000 (09:17 +0000)]
Added autoconf utility idzebra.m4 which defines --with-idzebra

19 years agoRemoved old struct it_key handling. 580 lines removed.
Adam Dickmeiss [Wed, 15 Sep 2004 08:13:51 +0000 (08:13 +0000)]
Removed old struct it_key handling. 580 lines removed.

19 years agoAdded sort2 test dir
Sebastian Hammer [Tue, 14 Sep 2004 14:45:18 +0000 (14:45 +0000)]
Added sort2 test dir

19 years agoAdded charmap facility to delete leading articles
Sebastian Hammer [Tue, 14 Sep 2004 14:38:07 +0000 (14:38 +0000)]
Added charmap facility to delete leading articles

19 years agoAdded Sort2 test suite to check prefix-ignoreing code
Sebastian Hammer [Tue, 14 Sep 2004 14:35:52 +0000 (14:35 +0000)]
Added Sort2 test suite to check prefix-ignoreing code

19 years agoReduce log. LOG_LOG -> LOG_DEBUG
Adam Dickmeiss [Mon, 13 Sep 2004 09:02:16 +0000 (09:02 +0000)]
Reduce log. LOG_LOG -> LOG_DEBUG

19 years agoFix commit (flat shadow). Bug 131
Adam Dickmeiss [Mon, 13 Sep 2004 08:43:28 +0000 (08:43 +0000)]
Fix commit (flat shadow). Bug 131

19 years agoUse YAZ_DOC for Docbook stuff
Adam Dickmeiss [Mon, 13 Sep 2004 07:44:10 +0000 (07:44 +0000)]
Use YAZ_DOC for Docbook stuff

19 years agoUsing --with-yaz instead of --with-yaz-config
Adam Dickmeiss [Sat, 11 Sep 2004 21:04:01 +0000 (21:04 +0000)]
Using --with-yaz instead of --with-yaz-config

19 years agooption --with-yazconfig renamed to --with-yaz
Adam Dickmeiss [Sat, 11 Sep 2004 20:52:55 +0000 (20:52 +0000)]
option --with-yazconfig renamed to --with-yaz

19 years agoMinor fixes. Many things still broken...
Heikki Levanto [Thu, 9 Sep 2004 15:23:07 +0000 (15:23 +0000)]
Minor fixes. Many things still broken...

19 years agoFixed the broken typemap INOUT * long long
Heikki Levanto [Thu, 9 Sep 2004 14:47:51 +0000 (14:47 +0000)]
Fixed the broken typemap INOUT * long long