Adam Dickmeiss [Sun, 1 May 2005 20:43:11 +0000 (20:43 +0000)]
Doxygen stuff: added more about each module.
Adam Dickmeiss [Sun, 1 May 2005 07:38:51 +0000 (07:38 +0000)]
Reorder declaration.
Adam Dickmeiss [Sun, 1 May 2005 07:17:46 +0000 (07:17 +0000)]
Make two xslt filters, "xslt" which does not split (reads whole
XML doc) and does not depend on xmlreader. "xslt1" which splits on
top-level and depend on xmlreader. xmlreader is unavailable in
Debian woody (stable).
Adam Dickmeiss [Fri, 29 Apr 2005 23:09:57 +0000 (23:09 +0000)]
Doxygen fixes. Template for mainpage
Adam Dickmeiss [Fri, 29 Apr 2005 23:09:30 +0000 (23:09 +0000)]
WS + reformat updates
Adam Dickmeiss [Fri, 29 Apr 2005 21:48:02 +0000 (21:48 +0000)]
ignores more files
Adam Dickmeiss [Fri, 29 Apr 2005 21:46:14 +0000 (21:46 +0000)]
Added this.
Adam Dickmeiss [Fri, 29 Apr 2005 18:56:22 +0000 (18:56 +0000)]
Fixed bug #304: Fuzzy search = regExpr-2.
Adam Dickmeiss [Fri, 29 Apr 2005 18:43:30 +0000 (18:43 +0000)]
Allow -vdebuglevel to be specified in scan test
Adam Dickmeiss [Fri, 29 Apr 2005 18:38:50 +0000 (18:38 +0000)]
Fixed bug #305: Scan with preferredPositionInResponse <= -2 crashes.
Adam Dickmeiss [Fri, 29 Apr 2005 10:54:45 +0000 (10:54 +0000)]
Return diagnostic "Scan: unsupported value of position-in-response"
also if position > num.
Adam Dickmeiss [Fri, 29 Apr 2005 10:37:12 +0000 (10:37 +0000)]
Fix log message added in previus commit.
Adam Dickmeiss [Fri, 29 Apr 2005 10:36:13 +0000 (10:36 +0000)]
Return diagnostic "Scan: unsupported value of position-in-response"
if position is < 1. The rpn_scan could be modified to support any position
since dict_scan can handle it.
Adam Dickmeiss [Fri, 29 Apr 2005 10:33:53 +0000 (10:33 +0000)]
Remove a few YLOG_LOGs
Adam Dickmeiss [Thu, 28 Apr 2005 18:56:13 +0000 (18:56 +0000)]
Abort configure if invalid --enable-mod value is given
Adam Dickmeiss [Thu, 28 Apr 2005 14:58:24 +0000 (14:58 +0000)]
Oops forgot this
Adam Dickmeiss [Thu, 28 Apr 2005 14:58:12 +0000 (14:58 +0000)]
No longer used (renamed to invalid.mbx).
Adam Dickmeiss [Thu, 28 Apr 2005 13:34:05 +0000 (13:34 +0000)]
Use mode to switch between presentation format brief and indexing.
Adam Dickmeiss [Thu, 28 Apr 2005 13:33:20 +0000 (13:33 +0000)]
Fixed set_param_int (did not append properly)
Adam Dickmeiss [Thu, 28 Apr 2005 12:34:45 +0000 (12:34 +0000)]
Added test for adding XML content as buffer - not file.
Adam Dickmeiss [Thu, 28 Apr 2005 12:34:21 +0000 (12:34 +0000)]
Pass the following args to XSLT during retrieval: schema, filename,
score, size. Allow pass-thru option (without XSLT) using reserved
Zebra NS (i.e. original XML is returned).
Adam Dickmeiss [Thu, 28 Apr 2005 12:13:04 +0000 (12:13 +0000)]
Added utility function init_extractCtrl to initialize sequence
numbers for indexing. Reworked end-of-file signaling for indexing
so that return code from file_extract_record really signals
if end-of-stream has been reached.
Adam Dickmeiss [Thu, 28 Apr 2005 11:25:24 +0000 (11:25 +0000)]
Get rid of global log_level. WS updates
Adam Dickmeiss [Thu, 28 Apr 2005 09:32:09 +0000 (09:32 +0000)]
Remove unused members from file_read struct (sdr_..).
Adam Dickmeiss [Thu, 28 Apr 2005 09:18:20 +0000 (09:18 +0000)]
Make the mailbox test as a program.
Adam Dickmeiss [Thu, 28 Apr 2005 08:20:39 +0000 (08:20 +0000)]
Added new fundamental filter 'xslt'. This filter reads XML records
and uses LibXSLT for both indexing (extract) and retrieval (present).
During indexing the filter generates a Zebra indexing record via XSLT
which describes how Zebra is to index the record. Because the driver is
XSLT driven it can use any X-Path plus logic behind the scenes and is thus
more powerful than xelm/elm in .abs. The XSLT can accept parameters from
Zebra. For example, if a date is received the filter could make a date
index. The filter also uses allows splitting of XML records during
indexing, so that MARC collections can be indexed directly (but it
is quite limited and takes place before XSLT is invoked: XSLT requires
a DOM structure in memory). Refer ot example test case in in test/xslt.
Adam Dickmeiss [Thu, 28 Apr 2005 08:12:28 +0000 (08:12 +0000)]
Remove unused var
Adam Dickmeiss [Tue, 26 Apr 2005 10:09:38 +0000 (10:09 +0000)]
Remove the obsolete rset public control variables. WS updates.
Adam Dickmeiss [Tue, 26 Apr 2005 08:11:22 +0000 (08:11 +0000)]
Use Bib1-attribute defines. Minor WS-updates.
Adam Dickmeiss [Mon, 25 Apr 2005 21:40:34 +0000 (21:40 +0000)]
Refactoring. Let more search utilities return ZEBRA_RES rather than
RSET. WS updates.
Adam Dickmeiss [Mon, 25 Apr 2005 11:54:08 +0000 (11:54 +0000)]
Optimize multiple binary ANDs + OPs to multi ANDs, ORs.
Adam Dickmeiss [Mon, 25 Apr 2005 10:45:28 +0000 (10:45 +0000)]
Remove unused var
Adam Dickmeiss [Mon, 25 Apr 2005 10:42:08 +0000 (10:42 +0000)]
Remove assert: if end-of-stream PP may not be leaf
Adam Dickmeiss [Sat, 23 Apr 2005 16:30:58 +0000 (16:30 +0000)]
Fixed bug #282: xml tag named 'var'. Also made the grs.sgml filter
ignore <?.. ?> sections so they are not treated as regular elements.
Adam Dickmeiss [Wed, 20 Apr 2005 10:21:29 +0000 (10:21 +0000)]
Remove fprintf
Adam Dickmeiss [Wed, 20 Apr 2005 10:20:32 +0000 (10:20 +0000)]
This test checks for bug #281 as well.
Adam Dickmeiss [Wed, 20 Apr 2005 10:18:19 +0000 (10:18 +0000)]
Allow do_query(_x) to accept exphits of -1, which means any number
of hits but OK.
Adam Dickmeiss [Wed, 20 Apr 2005 10:17:14 +0000 (10:17 +0000)]
WS updates
Adam Dickmeiss [Wed, 20 Apr 2005 10:16:29 +0000 (10:16 +0000)]
Removed a few log entries
Adam Dickmeiss [Wed, 20 Apr 2005 10:15:19 +0000 (10:15 +0000)]
Fixed bug #281: heap truncation fails. Problem was thattermid parameter
was set for "sub" result sets.. that when counting hits/ranking etc
is no longer available. termid now only set for top set.
Adam Dickmeiss [Wed, 20 Apr 2005 08:32:36 +0000 (08:32 +0000)]
WS cleanups. Added setting trunclimit and truncchunk to adjust the
truncation code limits.
Adam Dickmeiss [Tue, 19 Apr 2005 08:44:30 +0000 (08:44 +0000)]
Rename prototypes isc_ -> isamc_
Adam Dickmeiss [Mon, 18 Apr 2005 08:05:28 +0000 (08:05 +0000)]
WIN32 compile fix
Adam Dickmeiss [Fri, 15 Apr 2005 10:47:47 +0000 (10:47 +0000)]
Many public functions returns ZEBRA_RES rather than int to avoid
confusions about succeeded/failed requests. Query parser more picky
about unsupported relation attributes.
Adam Dickmeiss [Thu, 14 Apr 2005 12:02:58 +0000 (12:02 +0000)]
Reserved element set _sysno_ returns sysno for record
Adam Dickmeiss [Thu, 14 Apr 2005 12:02:08 +0000 (12:02 +0000)]
Cosmetic
Adam Dickmeiss [Thu, 14 Apr 2005 12:01:50 +0000 (12:01 +0000)]
Test case for retrieval out of range of sortmax.
Adam Dickmeiss [Thu, 14 Apr 2005 12:01:22 +0000 (12:01 +0000)]
Fix bug in retrieval code. If present request was out of sortmax
range it would not return all hits (or report error).
Adam Dickmeiss [Thu, 14 Apr 2005 09:03:24 +0000 (09:03 +0000)]
Supply string attribute in additional info when scan fails with
unsupported use attribute.
Adam Dickmeiss [Thu, 14 Apr 2005 09:02:40 +0000 (09:02 +0000)]
Cosmetic.
Adam Dickmeiss [Thu, 14 Apr 2005 07:48:57 +0000 (07:48 +0000)]
Fix uinitialized var in test
Adam Dickmeiss [Wed, 13 Apr 2005 13:03:47 +0000 (13:03 +0000)]
Get rid of typedefs iSAMS_P, ISAMC_P, ISAMB_P and use ISAM_P instead.
Adam Dickmeiss [Wed, 13 Apr 2005 08:52:26 +0000 (08:52 +0000)]
Added zebra_scan_PQF.
Adam Dickmeiss [Wed, 13 Apr 2005 08:52:01 +0000 (08:52 +0000)]
Scan using string attributes
Adam Dickmeiss [Fri, 1 Apr 2005 10:15:13 +0000 (10:15 +0000)]
Fix parallel build
Adam Dickmeiss [Thu, 31 Mar 2005 12:55:55 +0000 (12:55 +0000)]
DISABLE_SHARED again (for now)
Adam Dickmeiss [Thu, 31 Mar 2005 12:42:06 +0000 (12:42 +0000)]
Added tempalte filter for the ALVIS project.
Added new version member for struct recType.
Adam Dickmeiss [Thu, 31 Mar 2005 12:20:06 +0000 (12:20 +0000)]
Add module path for safari test
Adam Dickmeiss [Wed, 30 Mar 2005 09:25:23 +0000 (09:25 +0000)]
Moved zebrautl.h to idzebra/util.h.
Implemented bf_xpen, bf_xclose that opens/closes a BFile with magic header
and managed block free list handling. bf_alloc/bf_free performs the
block allocation.
Adam Dickmeiss [Mon, 21 Mar 2005 17:20:54 +0000 (17:20 +0000)]
Fixed bug #275: Leaf node split problem(s).
Adam Dickmeiss [Fri, 18 Mar 2005 12:05:11 +0000 (12:05 +0000)]
Fix a bug where second-half of block in leaf split could become
larger than max block size.
Adam Dickmeiss [Thu, 17 Mar 2005 09:48:46 +0000 (09:48 +0000)]
Do not warn about empty records
Adam Dickmeiss [Thu, 17 Mar 2005 08:31:53 +0000 (08:31 +0000)]
Fix declaration of zebra_get_bfs.
Adam Dickmeiss [Thu, 17 Mar 2005 08:31:28 +0000 (08:31 +0000)]
Do not warn about empty records unless they are marked as new.
Adam Dickmeiss [Thu, 17 Mar 2005 07:54:23 +0000 (07:54 +0000)]
Added zebra_get_bfs to get BFile handle for session
Adam Dickmeiss [Wed, 16 Mar 2005 15:26:37 +0000 (15:26 +0000)]
Honor fileVerboseLimit for zebra_add_record (buffer_extract_record)
Adam Dickmeiss [Fri, 11 Mar 2005 17:56:32 +0000 (17:56 +0000)]
Implemented the 'equivalent' directive for .chr-files.
Adam Dickmeiss [Wed, 9 Mar 2005 13:45:29 +0000 (13:45 +0000)]
Dont log print by default.
Adam Dickmeiss [Wed, 9 Mar 2005 12:14:42 +0000 (12:14 +0000)]
Several updates for the changes of hit count datatype from int
to zint (long long or long).
Adam Dickmeiss [Tue, 8 Mar 2005 14:41:37 +0000 (14:41 +0000)]
Fix endless loop in log2_int for negative values for input
Adam Dickmeiss [Tue, 8 Mar 2005 14:02:08 +0000 (14:02 +0000)]
Added a few casts from zint to double/int where appropriate.
Change a few types from int to zint. Out parameter hits in
zebra_search_.. changed from int * to zint *.
Adam Dickmeiss [Sat, 5 Mar 2005 11:35:18 +0000 (11:35 +0000)]
Added include of ctype.h and added a declaration.
Adam Dickmeiss [Sat, 5 Mar 2005 09:19:14 +0000 (09:19 +0000)]
String attribute support for record filter interface.
Adam Dickmeiss [Fri, 4 Mar 2005 12:00:06 +0000 (12:00 +0000)]
buildconf script configures directlry when -d / -c is given
Adam Dickmeiss [Fri, 25 Feb 2005 10:08:44 +0000 (10:08 +0000)]
Added two else-statements in seldom used term structure handling code.
Adam Dickmeiss [Tue, 8 Feb 2005 00:59:59 +0000 (00:59 +0000)]
Mention init command
Adam Dickmeiss [Tue, 8 Feb 2005 00:36:08 +0000 (00:36 +0000)]
Added support for string components in simpleelement specs. Supported
formats are:
element[@attr=value] _or_ element[@attr] _or_ element
If a simpleelement begins with ! the nodes are excluded (instead
of included). Exclusion only makes sense if a larger node set is
included _first_.
Adam Dickmeiss [Wed, 2 Feb 2005 19:37:27 +0000 (19:37 +0000)]
Fixed bug #262: spaces in control fields in MARC returned
Adam Dickmeiss [Wed, 2 Feb 2005 08:03:22 +0000 (08:03 +0000)]
Fixed bug #259: Second indicator lost in MARC records
Adam Dickmeiss [Mon, 24 Jan 2005 14:44:23 +0000 (14:44 +0000)]
More comments
Adam Dickmeiss [Sun, 23 Jan 2005 12:36:27 +0000 (12:36 +0000)]
Put code that deals with default database selection in separate
function zebra_select_default_database. Since database affects
register we must call it in zebra_begin_trans, zebra_commit_ex,
zebra_init.
Adam Dickmeiss [Sat, 22 Jan 2005 12:20:34 +0000 (12:20 +0000)]
Renamed API function zebra_deleleResultSet to zebra_deleteResultSet.
Adam Dickmeiss [Fri, 21 Jan 2005 19:07:25 +0000 (19:07 +0000)]
Doxygen comments
Adam Dickmeiss [Fri, 21 Jan 2005 18:41:19 +0000 (18:41 +0000)]
Renamed API function zebra_deleleResultSet to zebra_deleteResultSet.
Adam Dickmeiss [Fri, 21 Jan 2005 13:23:25 +0000 (13:23 +0000)]
Fixed bug #253: Setting group.database not honored.
Adam Dickmeiss [Fri, 21 Jan 2005 13:19:25 +0000 (13:19 +0000)]
A few more Doxygen comments
Adam Dickmeiss [Fri, 21 Jan 2005 13:06:43 +0000 (13:06 +0000)]
Add range/first modifier in test
Adam Dickmeiss [Mon, 17 Jan 2005 22:32:16 +0000 (22:32 +0000)]
Reworked source parser for termlists in .abs-file. Added 'first'
function that returns position of a needle in haystack.
Adam Dickmeiss [Mon, 17 Jan 2005 22:12:34 +0000 (22:12 +0000)]
Fix leak data1_iconv
Adam Dickmeiss [Mon, 17 Jan 2005 18:58:10 +0000 (18:58 +0000)]
Moved AC_CHECK_HEADERS near top. Added unistd.h in check
Adam Dickmeiss [Mon, 17 Jan 2005 01:21:43 +0000 (01:21 +0000)]
Fix bug #249: rstemp sets fail. Problem was that rset files were
closed when they shouldn't. Added function rfd_is_last that returns
1 if the RSFD supplied is the last one; 0 otherwise.
Added a use_list member in the RSET which is a list of RSFDs in an
RSET (opposite of free_list). This means we can track RSFD leaks.
Adam Dickmeiss [Mon, 17 Jan 2005 01:16:37 +0000 (01:16 +0000)]
WS update
Adam Dickmeiss [Mon, 17 Jan 2005 00:01:51 +0000 (00:01 +0000)]
WS updates. Fix rstemp file open
Adam Dickmeiss [Sun, 16 Jan 2005 23:38:34 +0000 (23:38 +0000)]
Added include stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 23:33:31 +0000 (23:33 +0000)]
Added stdlib.h again
Adam Dickmeiss [Sun, 16 Jan 2005 23:28:16 +0000 (23:28 +0000)]
Include sys/types.h instead of stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 23:14:56 +0000 (23:14 +0000)]
Added include stdlib.h a few places to get prototype for atoi/exit/..
Adam Dickmeiss [Sun, 16 Jan 2005 23:14:27 +0000 (23:14 +0000)]
Added more Doxygen comments
Adam Dickmeiss [Sun, 16 Jan 2005 23:13:06 +0000 (23:13 +0000)]
Add include sys/types.h to get off_t
Adam Dickmeiss [Sun, 16 Jan 2005 20:19:20 +0000 (20:19 +0000)]
Added make cvs2cl that makes Changelog from CVS in Zebra 1.4 series