idzebra-moved-to-github.git
17 years agoFixed bug #1796: MARC parse errors when using mod_dom on scan.
Adam Dickmeiss [Sun, 21 Oct 2007 19:39:00 +0000 (19:39 +0000)]
Fixed bug #1796: MARC parse errors when using mod_dom on scan.

17 years agoTowards 2.0.18 ZEBRA.2.0.18
Adam Dickmeiss [Wed, 19 Sep 2007 10:03:44 +0000 (10:03 +0000)]
Towards 2.0.18

17 years agoComment
Adam Dickmeiss [Tue, 18 Sep 2007 19:55:24 +0000 (19:55 +0000)]
Comment

17 years agoRemoved reference to url.srw
Adam Dickmeiss [Tue, 18 Sep 2007 19:21:32 +0000 (19:21 +0000)]
Removed reference to url.srw

17 years agoFixed scan for enabled staticrank.
Adam Dickmeiss [Tue, 18 Sep 2007 18:57:29 +0000 (18:57 +0000)]
Fixed scan for enabled staticrank.

17 years agoUse conditions to enable/disable manifest files ZEBRA.2.0.16
Adam Dickmeiss [Wed, 12 Sep 2007 09:29:27 +0000 (09:29 +0000)]
Use conditions to enable/disable manifest files

17 years agoTowards 2.0.16
Adam Dickmeiss [Wed, 12 Sep 2007 07:46:40 +0000 (07:46 +0000)]
Towards 2.0.16

17 years agoAdded version.obj
Adam Dickmeiss [Tue, 11 Sep 2007 15:29:35 +0000 (15:29 +0000)]
Added version.obj

17 years agoInclude <string.h>, avoid warning.
Mike Taylor [Fri, 31 Aug 2007 21:12:51 +0000 (21:12 +0000)]
Include <string.h>, avoid warning.

17 years agoFixes for snippet/scan where we do "reextract". The setStoreData
Adam Dickmeiss [Fri, 31 Aug 2007 07:02:24 +0000 (07:02 +0000)]
Fixes for snippet/scan where we do "reextract". The setStoreData
handle was assumed to be present. The alvis and dom filter now check
for it. For the reextract case it's NULL and we do not do splitting.

17 years agoFixed bug #1406: Delete All Result Sets causes assertion failure.
Adam Dickmeiss [Tue, 28 Aug 2007 21:40:57 +0000 (21:40 +0000)]
Fixed bug #1406: Delete All Result Sets causes assertion failure.

17 years agoUse AC_SYS_LARGEFILE instead of AC_TRY_RUN test to check for 64-bit file
Adam Dickmeiss [Tue, 28 Aug 2007 18:12:09 +0000 (18:12 +0000)]
Use AC_SYS_LARGEFILE instead of AC_TRY_RUN test to check for 64-bit file
support.

17 years agoUse AC_CHECK_TYPES for 'long long' rather then AC_CHECK_SIZEOF. AC_CHECK_SIZEOF
Adam Dickmeiss [Tue, 28 Aug 2007 17:57:46 +0000 (17:57 +0000)]
Use AC_CHECK_TYPES for 'long long' rather then AC_CHECK_SIZEOF. AC_CHECK_SIZEOF
uses AC_TRY_RUN on, at least, on some autoconf versions. And AC_TRY_RUN
is best avaoided.

17 years agoUsing yaz_snprintf rather than sprintf
Adam Dickmeiss [Mon, 27 Aug 2007 17:43:21 +0000 (17:43 +0000)]
Using yaz_snprintf rather than sprintf

17 years agoVisual studio version in zebra_get_version
Adam Dickmeiss [Mon, 27 Aug 2007 17:40:10 +0000 (17:40 +0000)]
Visual studio version in zebra_get_version

17 years agoAdded zebra_get_version
Adam Dickmeiss [Mon, 27 Aug 2007 17:22:22 +0000 (17:22 +0000)]
Added zebra_get_version

17 years agoPackage idzebra-2.0-utils depends on exact version of libidzebra-2.0.
Adam Dickmeiss [Mon, 27 Aug 2007 09:05:40 +0000 (09:05 +0000)]
Package idzebra-2.0-utils depends on exact version of libidzebra-2.0.
Package idzebra-2.0 depends on exact version of idzebra-2.0-utils.

17 years agoDepend on version 2.0.15
Adam Dickmeiss [Mon, 27 Aug 2007 08:32:53 +0000 (08:32 +0000)]
Depend on version 2.0.15

17 years agoNew
Mike Taylor [Wed, 22 Aug 2007 22:58:05 +0000 (22:58 +0000)]
New

17 years agoUpdate for newer Libxml2/libxslt and Expat 2.0.1
Adam Dickmeiss [Wed, 22 Aug 2007 12:36:22 +0000 (12:36 +0000)]
Update for newer Libxml2/libxslt and Expat 2.0.1

17 years agoOn snippets and scan display term
Adam Dickmeiss [Wed, 22 Aug 2007 10:26:06 +0000 (10:26 +0000)]
On snippets and scan display term

17 years agoDo not set entries in scan response handler. It is initialized by the
Adam Dickmeiss [Wed, 22 Aug 2007 08:13:00 +0000 (08:13 +0000)]
Do not set entries in scan response handler. It is initialized by the
GFS already. Using GFS's initialization allows us to specify display_term.

17 years agoA little more on snippet support
Adam Dickmeiss [Wed, 22 Aug 2007 08:02:30 +0000 (08:02 +0000)]
A little more on snippet support

17 years agoFixed bug in snippet support where first char was missed
Adam Dickmeiss [Wed, 22 Aug 2007 08:01:32 +0000 (08:01 +0000)]
Fixed bug in snippet support where first char was missed

17 years agoScan now returns displayTerm which is extract from original record.
Adam Dickmeiss [Tue, 21 Aug 2007 13:27:04 +0000 (13:27 +0000)]
Scan now returns displayTerm which is extract from original record.
Goodbye to @'s - for scan. Bug #1411.

17 years agoGeneric snippet support. Unlike previous versions of snippet
Adam Dickmeiss [Tue, 21 Aug 2007 11:06:46 +0000 (11:06 +0000)]
Generic snippet support. Unlike previous versions of snippet
implementations for Zebra this is not tied to a specific filter. The
snippet(s) are returned as an XML record with one or more snippets
in it - for special element set name zebra::snippet.

17 years agoRemoved snippet code from alvis filter
Adam Dickmeiss [Tue, 21 Aug 2007 07:49:18 +0000 (07:49 +0000)]
Removed snippet code from alvis filter

17 years agoFixed magic NS for DOM XML indexing.
Adam Dickmeiss [Mon, 13 Aug 2007 08:53:42 +0000 (08:53 +0000)]
Fixed magic NS for DOM XML indexing.

17 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:43:33 +0000 (09:43 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

17 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:41:12 +0000 (09:41 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

17 years agoFor data-1, do not chop text data in ISO2709 creation . The problem is
Adam Dickmeiss [Wed, 27 Jun 2007 22:17:20 +0000 (22:17 +0000)]
For data-1, do not chop text data in ISO2709 creation . The problem is
that in some cases the chop operation will remove essential content.
However, chop is needed in cases where input is XML/SGML. Therefore,
this operation performed in the data-1 map code instead and chop is
enabled by default. The chop can be disabled with 'nochop' in parameter
in map rule, e.g.
  map title /(3,245)/(3,a) nochop

17 years agoAdded data1_chop_text which removes whitespace in cdata nodes
Adam Dickmeiss [Wed, 27 Jun 2007 22:04:45 +0000 (22:04 +0000)]
Added data1_chop_text which removes whitespace in cdata nodes

17 years agoRemove comment about XML only being support in record update
Adam Dickmeiss [Wed, 27 Jun 2007 13:46:43 +0000 (13:46 +0000)]
Remove comment about XML only being support in record update

17 years agoFixed typo
Adam Dickmeiss [Tue, 26 Jun 2007 21:01:33 +0000 (21:01 +0000)]
Fixed typo

17 years agofixed typo
Marc Cromme [Fri, 22 Jun 2007 12:59:23 +0000 (12:59 +0000)]
fixed typo

17 years agoFix bug no in NEWS
Adam Dickmeiss [Tue, 19 Jun 2007 19:42:17 +0000 (19:42 +0000)]
Fix bug no in NEWS

17 years agoWhen mod.dom alwo sets additional info when it returns diagnostic
Adam Dickmeiss [Tue, 19 Jun 2007 19:39:54 +0000 (19:39 +0000)]
When mod.dom alwo sets additional info when it returns diagnostic
'Specified element set name not valid for specified database'.

17 years agoRemoved definition of docdir. It is set by automake already
Adam Dickmeiss [Sun, 17 Jun 2007 07:06:03 +0000 (07:06 +0000)]
Removed definition of docdir. It is set by automake already

17 years agoFlush the iconv sequence for each sequence in a .chr file. This fixes
Adam Dickmeiss [Fri, 25 May 2007 14:05:52 +0000 (14:05 +0000)]
Flush the iconv sequence for each sequence in a .chr file. This fixes
nothing because the ICONV handles in use always flushed themselves. They
may not always do that, so we must do it.

17 years agoCosmetic
Adam Dickmeiss [Fri, 25 May 2007 13:46:01 +0000 (13:46 +0000)]
Cosmetic

17 years agoFixed bug #1142: Non-indexed but listed attributes issues diagnostic.
Adam Dickmeiss [Fri, 25 May 2007 12:17:11 +0000 (12:17 +0000)]
Fixed bug #1142: Non-indexed but listed attributes issues diagnostic.
We keep the existing behavior by default and continue to issue a
diagnostic. Typically there are many attributes given in .att-files which
are never used in a Zebra installation. If they issue 0 hits, then
most Zebra servers will basically lie about their capabilities. It
would also confuse a lot of users.. (Dead programs tell no lies).
But it is certainly useful to be able to say "allow unknown use
attribtute" in controlled environments and in multi server systems
(where attributes may not indexed in all places) . Zebra now allows
attribute 14 to control this. 14=0 makes Zebra works as usual (throw
a diagnostic). 14=1 makes Zebra produce 0 hits (for the leaf/APT)

17 years agoUsing acro. entities. Replaced some it's to its (where appropriate).
Adam Dickmeiss [Thu, 24 May 2007 13:44:09 +0000 (13:44 +0000)]
Using acro. entities. Replaced some it's to its (where appropriate).

17 years agoUse entity idcommon rather than common
Adam Dickmeiss [Tue, 22 May 2007 11:12:53 +0000 (11:12 +0000)]
Use entity idcommon rather than common

17 years agoZebra returns character encoding as part of init response even if
Adam Dickmeiss [Mon, 21 May 2007 11:54:59 +0000 (11:54 +0000)]
Zebra returns character encoding as part of init response even if
client does not suggest one.

17 years agoSimplify data1 character set conversion
Adam Dickmeiss [Mon, 21 May 2007 11:53:49 +0000 (11:53 +0000)]
Simplify data1 character set conversion

17 years agoMore news
Adam Dickmeiss [Mon, 21 May 2007 08:23:32 +0000 (08:23 +0000)]
More news

17 years agoFixed bug #1132: tstcharmap fails on flurry (amd64). Problem was missing
Adam Dickmeiss [Mon, 21 May 2007 07:15:06 +0000 (07:15 +0000)]
Fixed bug #1132: tstcharmap fails on flurry (amd64). Problem was missing
include of stdlib.h.

17 years agoFixed bug #1131: Missing value-of data in DOM filter. The problem was
Adam Dickmeiss [Sat, 19 May 2007 19:44:14 +0000 (19:44 +0000)]
Fixed bug #1131: Missing value-of data in DOM filter. The problem was
that the internally generated MARCXML did not have the namespace
"http://www.loc.gov/MARC21/slim" declared.

17 years agoUse YAZ_CHECK_LOG consistently.
Adam Dickmeiss [Wed, 16 May 2007 12:31:17 +0000 (12:31 +0000)]
Use YAZ_CHECK_LOG consistently.

17 years agoIgnore tstres
Adam Dickmeiss [Wed, 16 May 2007 10:58:19 +0000 (10:58 +0000)]
Ignore tstres

17 years agoFixed bug #1049: zebra.cfg lines with leading space are ignored. Res
Adam Dickmeiss [Wed, 16 May 2007 10:57:05 +0000 (10:57 +0000)]
Fixed bug #1049: zebra.cfg lines with leading space are ignored. Res
system now uses YAZ' tokenizer. Added test for this (tstres.c).

17 years agoBump to 2.0.15. Require YAZ 3.0.3
Adam Dickmeiss [Wed, 16 May 2007 10:50:03 +0000 (10:50 +0000)]
Bump to 2.0.15. Require YAZ 3.0.3

17 years agoIndentation. Removed a few unused functions.
Adam Dickmeiss [Wed, 16 May 2007 08:57:26 +0000 (08:57 +0000)]
Indentation. Removed a few unused functions.

17 years agoFixed bug #1128: sortmax not honored.
Adam Dickmeiss [Wed, 16 May 2007 08:46:19 +0000 (08:46 +0000)]
Fixed bug #1128: sortmax not honored.

17 years agoFactor common work in term_100, ..term_105 into private function
Adam Dickmeiss [Mon, 14 May 2007 14:05:21 +0000 (14:05 +0000)]
Factor common work in term_100, ..term_105 into private function
add_non_space.

17 years agoAdded string relation tests.
Adam Dickmeiss [Mon, 14 May 2007 13:21:32 +0000 (13:21 +0000)]
Added string relation tests.

17 years agoFixed bug #1121: Crash for some searches with customized string.chr.
Adam Dickmeiss [Mon, 14 May 2007 12:33:33 +0000 (12:33 +0000)]
Fixed bug #1121: Crash for some searches with customized string.chr.
This involves longish but trivial use or WRBUf instead of static buffer -
problem is the heavy use equivalent directives in the customized
string.chr.

17 years agoFix dup YAZ_EXPORT ZEBRA.2.0.14
Adam Dickmeiss [Wed, 9 May 2007 07:42:46 +0000 (07:42 +0000)]
Fix dup YAZ_EXPORT

17 years agoTowards 2.0.14.
Adam Dickmeiss [Wed, 9 May 2007 07:36:06 +0000 (07:36 +0000)]
Towards 2.0.14.

17 years agoNotes on version update.
Adam Dickmeiss [Wed, 9 May 2007 07:30:53 +0000 (07:30 +0000)]
Notes on version update.

17 years agom4 quoting
Adam Dickmeiss [Wed, 9 May 2007 07:30:43 +0000 (07:30 +0000)]
m4 quoting

17 years agoFixed bug #1114: scan within set may use excessive CPU.
Adam Dickmeiss [Wed, 9 May 2007 07:07:18 +0000 (07:07 +0000)]
Fixed bug #1114: scan within set may use excessive CPU.

17 years agoUse YAZ 3 lib,dll
Adam Dickmeiss [Tue, 8 May 2007 14:55:30 +0000 (14:55 +0000)]
Use YAZ 3 lib,dll

17 years agoIssue diagnostic for scan if 'set' in @attr 8=set does not exist.
Adam Dickmeiss [Tue, 8 May 2007 14:49:38 +0000 (14:49 +0000)]
Issue diagnostic for scan if 'set' in @attr 8=set does not exist.
Fixed memory leak in rpn_scan (unreleased WRBUF for each term).

17 years agoDisplay match string if log level "extract" is used.
Adam Dickmeiss [Tue, 8 May 2007 14:27:23 +0000 (14:27 +0000)]
Display match string if log level "extract" is used.

17 years agoUse Odr_oid for OIDs. Require YAZ 3.0.2 or later.
Adam Dickmeiss [Tue, 8 May 2007 12:50:03 +0000 (12:50 +0000)]
Use Odr_oid for OIDs. Require YAZ 3.0.2 or later.

17 years agoRequire YAZ 3
Adam Dickmeiss [Thu, 3 May 2007 07:20:19 +0000 (07:20 +0000)]
Require YAZ 3

17 years agoAllow safari filter to specify index type.
Adam Dickmeiss [Wed, 25 Apr 2007 09:38:21 +0000 (09:38 +0000)]
Allow safari filter to specify index type.

17 years agolog optimized on level 'extrat'; details in 'details'
Adam Dickmeiss [Wed, 25 Apr 2007 08:22:01 +0000 (08:22 +0000)]
log optimized on level 'extrat'; details in 'details'

17 years agoReturn proper EOF for safari filter
Adam Dickmeiss [Wed, 25 Apr 2007 08:18:01 +0000 (08:18 +0000)]
Return proper EOF for safari filter

17 years agoDont use nmem_init, nmem_exit
Adam Dickmeiss [Wed, 18 Apr 2007 11:37:39 +0000 (11:37 +0000)]
Dont use nmem_init, nmem_exit

17 years agoUpdate for YAZ 3s libyaz_server.la
Adam Dickmeiss [Tue, 17 Apr 2007 20:27:14 +0000 (20:27 +0000)]
Update for YAZ 3s libyaz_server.la

17 years agoAnother and hopefully, last, YAZ OID DB update
Adam Dickmeiss [Mon, 16 Apr 2007 21:54:37 +0000 (21:54 +0000)]
Another and hopefully, last, YAZ OID DB update

17 years agoUpdate for YAZ 3s new OID system
Adam Dickmeiss [Mon, 16 Apr 2007 08:44:31 +0000 (08:44 +0000)]
Update for YAZ 3s new OID system

17 years agoChanged extract code so that it optimizes updates of records where content
Adam Dickmeiss [Sat, 7 Apr 2007 22:26:27 +0000 (22:26 +0000)]
Changed extract code so that it optimizes updates of records where content
is almost identical to previous version of record. This makes updating of
the internal explain database faster too. Also fixed memory leak that
occurred for each deleted record.

17 years agoFixed bad memory reference that could occur if empty key block was to
Adam Dickmeiss [Sat, 7 Apr 2007 22:24:12 +0000 (22:24 +0000)]
Fixed bad memory reference that could occur if empty key block was to
be sorted.

17 years agoRemove leading blank line
Adam Dickmeiss [Sat, 7 Apr 2007 22:18:46 +0000 (22:18 +0000)]
Remove leading blank line

17 years agoFixed bug #1017: assert failure in isamb for delete of records. Problem
Adam Dickmeiss [Tue, 3 Apr 2007 16:54:46 +0000 (16:54 +0000)]
Fixed bug #1017: assert failure in isamb for delete of records. Problem
was that root ptr of sort ISAMB was not properly flushed to disk when it
changed.

17 years agoMake directory config it it is not there
Adam Dickmeiss [Tue, 3 Apr 2007 15:26:14 +0000 (15:26 +0000)]
Make directory config it it is not there

17 years agoRemoved a few YLOG_LOG messages. This could be enough to fix bug #1012.
Adam Dickmeiss [Mon, 2 Apr 2007 16:57:08 +0000 (16:57 +0000)]
Removed a few YLOG_LOG messages. This could be enough to fix bug #1012.

17 years agoUpdate with latest changes.
Adam Dickmeiss [Wed, 21 Mar 2007 19:37:15 +0000 (19:37 +0000)]
Update with latest changes.

17 years agoDescribe the @type action for DOM filter
Adam Dickmeiss [Wed, 21 Mar 2007 19:37:00 +0000 (19:37 +0000)]
Describe the @type action for DOM filter

17 years agoMinor change in link to CQL material in YAZ
Adam Dickmeiss [Wed, 21 Mar 2007 19:36:47 +0000 (19:36 +0000)]
Minor change in link to CQL material in YAZ

17 years agoFor RPN queries the index type (w,p,..) may be specified verbatim
Adam Dickmeiss [Wed, 21 Mar 2007 13:47:12 +0000 (13:47 +0000)]
For RPN queries the index type (w,p,..) may be specified verbatim
as structure attribute with string value, e.g. @attr 4=w .

17 years agoChangeLog in dist
Adam Dickmeiss [Tue, 20 Mar 2007 22:42:19 +0000 (22:42 +0000)]
ChangeLog in dist

17 years agoUse yaz_iconv flushing.
Adam Dickmeiss [Tue, 20 Mar 2007 22:07:35 +0000 (22:07 +0000)]
Use yaz_iconv flushing.

17 years agoRemove debug msg
Adam Dickmeiss [Tue, 20 Mar 2007 22:07:21 +0000 (22:07 +0000)]
Remove debug msg

17 years agoUse non-const char return value for strtok work
Adam Dickmeiss [Mon, 19 Mar 2007 21:57:25 +0000 (21:57 +0000)]
Use non-const char return value for strtok work

17 years agoWRBUF updates.
Adam Dickmeiss [Mon, 19 Mar 2007 21:50:39 +0000 (21:50 +0000)]
WRBUF updates.

17 years agoChanged some types in mod_dom.c ; mostly 'xmlChar *' to 'const char *'.
Adam Dickmeiss [Wed, 14 Mar 2007 14:16:14 +0000 (14:16 +0000)]
Changed some types in mod_dom.c ; mostly 'xmlChar *' to 'const char *'.
The use of const is more appropriate than non-const becuase these
string references point to xmlNode content - and we are not allowed
to change that. Added buffer safe PI attribute reading for mod_dom.c by
implementing function attr_content_pi. Function index_value_of still has
potential buffer flows. The record extraction system now has a new member,
action, which may be modified by a record filter to signal
delete/replace/insert. This is only honoured if update is used (in which
case the outer system already has said "we don't care whether it's insert
or replace anyway). Added mod_dom test for the use for @type=delete .

17 years agoChanged record update API . It is now handled by function
Adam Dickmeiss [Wed, 14 Mar 2007 11:48:31 +0000 (11:48 +0000)]
Changed record update API . It is now handled by function
zebra_record_update which does insert/replace/delete/update of
records . This function replaces zebra_record_{insert,delete} and
zebra_admin_exchange_record.

17 years agoFixed bug #944: Allow extraction of multiple records per ES update.
Adam Dickmeiss [Tue, 13 Mar 2007 13:46:11 +0000 (13:46 +0000)]
Fixed bug #944: Allow extraction of multiple records per ES update.
Based on patch from Hans-Werner Hilse.

17 years agoDebian package 2.0.13-1
Adam Dickmeiss [Thu, 8 Mar 2007 21:07:45 +0000 (21:07 +0000)]
Debian package 2.0.13-1

17 years agochanged <dom> and <input> parser such that the following conditions actually work:
Marc Cromme [Thu, 8 Mar 2007 17:19:12 +0000 (17:19 +0000)]
changed <dom> and <input> parser such that the following conditions actually work:
1) no <input> element at all
2) empty <input> element
3) <input> element starting with an <xslt> instruction (that is, <xmlreader> and/or <marc> not mandatory any more.
Needed to make new define DOM_INPUT_DOM besides DOM_INPUT_MARC and DOM_INPUT_XMLREADER
Still missing detection of <xmlreader> or <marc> after all <xslt> nodes.
And more important: when finding errors here, it's kind of lam just to emit an warning, one should stop processing!

17 years agoFor MARC indexing, skip until record separator is met.
Adam Dickmeiss [Thu, 8 Mar 2007 13:18:35 +0000 (13:18 +0000)]
For MARC indexing, skip until record separator is met.

17 years agoBump to 2.0.13
Adam Dickmeiss [Thu, 8 Mar 2007 12:57:35 +0000 (12:57 +0000)]
Bump to 2.0.13

17 years agocorrected typo
Marc Cromme [Thu, 8 Mar 2007 11:29:16 +0000 (11:29 +0000)]
corrected typo

17 years agoadded example of MARCXML indexing with chopping of sort indexes cccording to 'ind2...
Marc Cromme [Thu, 8 Mar 2007 11:24:50 +0000 (11:24 +0000)]
added example of MARCXML indexing with chopping of sort indexes cccording to 'ind2' field containing integer

17 years agoAdded mod_dom to win32 makefile ZEBRA.2.0.12
Adam Dickmeiss [Wed, 7 Mar 2007 21:25:29 +0000 (21:25 +0000)]
Added mod_dom to win32 makefile

17 years agoTowards 2.0.12
Adam Dickmeiss [Wed, 7 Mar 2007 21:14:15 +0000 (21:14 +0000)]
Towards 2.0.12