idzebra-moved-to-github.git
16 years agoSort facets by set frequency.
Adam Dickmeiss [Wed, 5 Dec 2007 09:29:52 +0000 (09:29 +0000)]
Sort facets by set frequency.

16 years agoSUTRS-like result for Facet.
Adam Dickmeiss [Tue, 4 Dec 2007 12:52:33 +0000 (12:52 +0000)]
SUTRS-like result for Facet.

16 years agoRemove log message from zebra_recid_to_sysno
Adam Dickmeiss [Tue, 4 Dec 2007 11:13:17 +0000 (11:13 +0000)]
Remove log message from zebra_recid_to_sysno

16 years agoAdded strmap object
Adam Dickmeiss [Mon, 3 Dec 2007 17:16:48 +0000 (17:16 +0000)]
Added strmap object

16 years agoReduce number of CHECKs so that speed can be tested
Adam Dickmeiss [Mon, 3 Dec 2007 17:09:01 +0000 (17:09 +0000)]
Reduce number of CHECKs so that speed can be tested

16 years agoRemoved unused source symtab.c.
Adam Dickmeiss [Mon, 3 Dec 2007 16:54:49 +0000 (16:54 +0000)]
Removed unused source symtab.c.

16 years agoAdded more tests WRT position attribute
Adam Dickmeiss [Mon, 3 Dec 2007 14:33:35 +0000 (14:33 +0000)]
Added more tests WRT position attribute

16 years agoMemory leak fix - in case of error in use of position attribute.
Adam Dickmeiss [Mon, 3 Dec 2007 14:33:22 +0000 (14:33 +0000)]
Memory leak fix - in case of error in use of position attribute.

16 years agoOmit first-in-field index terms for facets
Adam Dickmeiss [Mon, 3 Dec 2007 13:34:17 +0000 (13:34 +0000)]
Omit first-in-field index terms for facets

16 years agoAdded function zebra_create_rset_isam .
Adam Dickmeiss [Mon, 3 Dec 2007 13:04:04 +0000 (13:04 +0000)]
Added function zebra_create_rset_isam .

16 years agoAdded position attribute test
Adam Dickmeiss [Mon, 3 Dec 2007 12:57:55 +0000 (12:57 +0000)]
Added position attribute test

16 years agoFirst functional facet result (zebra::facet::..).
Adam Dickmeiss [Mon, 3 Dec 2007 11:49:11 +0000 (11:49 +0000)]
First functional facet result (zebra::facet::..).

16 years agoLog records when they differ in tl_fetch_compare
Adam Dickmeiss [Mon, 3 Dec 2007 11:47:53 +0000 (11:47 +0000)]
Log records when they differ in tl_fetch_compare

16 years agoFixed memory leak for safari filter
Adam Dickmeiss [Mon, 3 Dec 2007 11:46:39 +0000 (11:46 +0000)]
Fixed memory leak for safari filter

16 years agoAdded zebra_strmap_it(erator).
Adam Dickmeiss [Mon, 3 Dec 2007 09:12:38 +0000 (09:12 +0000)]
Added zebra_strmap_it(erator).

16 years agoAdded simple string map (hash) utility.
Adam Dickmeiss [Sun, 2 Dec 2007 11:30:28 +0000 (11:30 +0000)]
Added simple string map (hash) utility.

16 years agoFixed bug in zebra_recid_to_sysno (handle non isamb case)
Adam Dickmeiss [Sat, 1 Dec 2007 21:34:10 +0000 (21:34 +0000)]
Fixed bug in zebra_recid_to_sysno (handle non isamb case)

16 years agoAllow record retrieval for record types using custom record IDs.
Adam Dickmeiss [Fri, 30 Nov 2007 12:19:08 +0000 (12:19 +0000)]
Allow record retrieval for record types using custom record IDs.

A filter may specify its own record_id by assigning a non-zero
to record_id member in RecWord. However, until this commit, the
original record was not retrievable . Updating only occured with
a custom match ID. With this patch the record can be retrieved .
The allrecords index (_ALLRECORDS) is used as a map between custom
record IDs and Zebras internal record store which is identified by the
system-number (storeData and storeKeys).

16 years agoAdded testlib functions for fetch of records
Adam Dickmeiss [Fri, 30 Nov 2007 10:08:01 +0000 (10:08 +0000)]
Added testlib functions for fetch of records

16 years agoMoved local declaration (for debugging)
Adam Dickmeiss [Fri, 30 Nov 2007 09:51:31 +0000 (09:51 +0000)]
Moved local declaration (for debugging)

16 years agoExtend recindex system may use ISAMB for records map.
Adam Dickmeiss [Wed, 28 Nov 2007 11:16:32 +0000 (11:16 +0000)]
Extend recindex system may use ISAMB for records map.

The recindex system may use ISAMB for map between record ID
and record data. The recindex_open has an extra parameter to
enable this feature (disabled for now).

16 years agoWS updates (no code changes).
Adam Dickmeiss [Wed, 28 Nov 2007 10:38:10 +0000 (10:38 +0000)]
WS updates (no code changes).

16 years agoExtend isamb_merge read handler with new insert mode.
Adam Dickmeiss [Wed, 28 Nov 2007 09:56:42 +0000 (09:56 +0000)]
Extend isamb_merge read handler with new insert mode.

Extend isamb_merge read handler, read_item, with new insert mode of
value 2. Like 1 this means "insertion", but, unlike 1, forces an existing
key to be replaced even though the comparison is 0. Until now ISAMB
has assumed "same" key for value of 0.

16 years agoNew records.obj; removed recstat.obj
Adam Dickmeiss [Fri, 23 Nov 2007 14:00:16 +0000 (14:00 +0000)]
New records.obj; removed recstat.obj

16 years agoGot rid of redundant files WRT records mgt.
Adam Dickmeiss [Fri, 23 Nov 2007 13:59:14 +0000 (13:59 +0000)]
Got rid of redundant files WRT records mgt.

16 years agoFactor records system mgt into recindex.c, records.c.
Adam Dickmeiss [Fri, 23 Nov 2007 13:52:52 +0000 (13:52 +0000)]
Factor records system mgt into recindex.c, records.c.

16 years agoRefactor recindex out of Records struct
Adam Dickmeiss [Fri, 23 Nov 2007 13:11:08 +0000 (13:11 +0000)]
Refactor recindex out of Records struct

17 years agoVersion 2.0.19. Use YAZ' wrbuf_write_escaped.
Adam Dickmeiss [Thu, 15 Nov 2007 08:53:24 +0000 (08:53 +0000)]
Version 2.0.19. Use YAZ' wrbuf_write_escaped.

17 years agoMore ICU tests
Adam Dickmeiss [Thu, 15 Nov 2007 08:53:04 +0000 (08:53 +0000)]
More ICU tests

17 years agoIgnore logfiles
Adam Dickmeiss [Wed, 14 Nov 2007 21:10:46 +0000 (21:10 +0000)]
Ignore logfiles

17 years agoIngnore test programs and log files.
Adam Dickmeiss [Wed, 14 Nov 2007 21:10:26 +0000 (21:10 +0000)]
Ingnore test programs and log files.

17 years agoAdded small test
Adam Dickmeiss [Wed, 14 Nov 2007 13:12:41 +0000 (13:12 +0000)]
Added small test

17 years agoMake a test somewhat more readable
Adam Dickmeiss [Wed, 14 Nov 2007 09:51:00 +0000 (09:51 +0000)]
Make a test somewhat more readable

17 years agoUse test facility of YAZ
Adam Dickmeiss [Wed, 14 Nov 2007 09:44:16 +0000 (09:44 +0000)]
Use test facility of YAZ

17 years agoUse zebra_map_get_or_add instead of zebra_map_get for searches.
Adam Dickmeiss [Tue, 13 Nov 2007 13:41:51 +0000 (13:41 +0000)]
Use zebra_map_get_or_add instead of zebra_map_get for searches.

Use zebra_map_get_or_add instead of zebra_map_get for searches.
For systems that do not define default.idx the system must generate
a zebra map for it (and warn if default.idx was used).

17 years agoRequire YAZ 3.0.16 or later
Adam Dickmeiss [Mon, 12 Nov 2007 13:41:19 +0000 (13:41 +0000)]
Require YAZ 3.0.16 or later

17 years agoUpdate for ICU transform (was normalize)
Adam Dickmeiss [Mon, 12 Nov 2007 13:40:50 +0000 (13:40 +0000)]
Update for ICU transform (was normalize)

17 years agoFirst successful test with ICU sortkeys in dictionary.
Adam Dickmeiss [Thu, 8 Nov 2007 21:21:58 +0000 (21:21 +0000)]
First successful test with ICU sortkeys in dictionary.

17 years agoAdded test of regexp patterns (DFA)
Adam Dickmeiss [Thu, 8 Nov 2007 21:21:16 +0000 (21:21 +0000)]
Added test of regexp patterns (DFA)

17 years agoUpdate for locale API changes.
Adam Dickmeiss [Thu, 8 Nov 2007 13:35:36 +0000 (13:35 +0000)]
Update for locale API changes.

17 years agoUse header icu.h instead of icu_I18N.h
Adam Dickmeiss [Thu, 8 Nov 2007 09:30:05 +0000 (09:30 +0000)]
Use header icu.h instead of icu_I18N.h

17 years agoCheck for YAZ_HAVE_ICU instead of HAVE_ICU
Adam Dickmeiss [Thu, 8 Nov 2007 08:18:37 +0000 (08:18 +0000)]
Check for YAZ_HAVE_ICU instead of HAVE_ICU

17 years agoDo not perform t17 if ICU is disabled
Adam Dickmeiss [Thu, 8 Nov 2007 07:54:17 +0000 (07:54 +0000)]
Do not perform t17 if ICU is disabled

17 years agoFix non-ICU compilation (due to previous commit)
Adam Dickmeiss [Wed, 7 Nov 2007 11:22:58 +0000 (11:22 +0000)]
Fix non-ICU compilation (due to previous commit)

17 years agoAdded first test ICU indexing test
Adam Dickmeiss [Wed, 7 Nov 2007 10:24:28 +0000 (10:24 +0000)]
Added first test ICU indexing test

17 years agoThe zebramaps implements index_types functionality.
Adam Dickmeiss [Tue, 6 Nov 2007 10:29:58 +0000 (10:29 +0000)]
The zebramaps implements index_types functionality.

17 years agoMerge icu_chain into zebramaps.
Adam Dickmeiss [Mon, 5 Nov 2007 13:58:01 +0000 (13:58 +0000)]
Merge icu_chain into zebramaps.

17 years agoChanged error handling for unknown zebra maps.
Adam Dickmeiss [Mon, 5 Nov 2007 11:36:23 +0000 (11:36 +0000)]
Changed error handling for unknown zebra maps.

The zebramaps system a warning the first time an inknown index type
is used. This warning, should only be issued if maps were read from
a configfile (zebra_maps_read_file).

17 years agoRefactor zebramaps parsing
Adam Dickmeiss [Mon, 5 Nov 2007 11:27:24 +0000 (11:27 +0000)]
Refactor zebramaps parsing

17 years agoChanged limit set parameter for rpn_scan
Adam Dickmeiss [Mon, 5 Nov 2007 11:20:39 +0000 (11:20 +0000)]
Changed limit set parameter for rpn_scan

17 years agoBeginnings of facets
Adam Dickmeiss [Thu, 1 Nov 2007 16:01:33 +0000 (16:01 +0000)]
Beginnings of facets

17 years agoWS changes for function calls.
Adam Dickmeiss [Thu, 1 Nov 2007 15:59:47 +0000 (15:59 +0000)]
WS changes for function calls.

17 years agoAdded rpn_facet which does little at this stage.
Adam Dickmeiss [Thu, 1 Nov 2007 14:56:07 +0000 (14:56 +0000)]
Added rpn_facet which does little at this stage.

17 years agoDocument scan approximative limit
Adam Dickmeiss [Thu, 1 Nov 2007 14:12:44 +0000 (14:12 +0000)]
Document scan approximative limit

17 years agoHonor approximative limits for scan (type 12).
Adam Dickmeiss [Thu, 1 Nov 2007 14:10:03 +0000 (14:10 +0000)]
Honor approximative limits for scan (type 12).

The documentation mentions attribute 9/11. However, that's not
found anywhere in the code. Attribute 12 is chosen (same as a
search global approximative limit).

17 years agoChanged the index type to a string everywhere.
Adam Dickmeiss [Wed, 31 Oct 2007 16:56:13 +0000 (16:56 +0000)]
Changed the index type to a string everywhere.

The functions zebra_map_get and zebra_map_get_or_add changed their
3rd argument 'int reg_id' to 'const char *id'. The recExtractCtrl struct
defined in idzebra/recctrl.h changed: the seqno array was removed. It
is used by no filters and assumes that index type(AKA register type)
is a char (int).

17 years agoIntroduced zebra_map_t in zebra_maps API.
Adam Dickmeiss [Tue, 30 Oct 2007 19:17:15 +0000 (19:17 +0000)]
Introduced zebra_map_t in zebra_maps API.

17 years agoWS changes for function calls.
Adam Dickmeiss [Mon, 29 Oct 2007 22:22:06 +0000 (22:22 +0000)]
WS changes for function calls.

17 years agoRefactor database lookup to single function.
Adam Dickmeiss [Mon, 29 Oct 2007 20:07:04 +0000 (20:07 +0000)]
Refactor database lookup to single function.

Search for each database is handled by rpn_search_APT_database.
Resultes for each database is collected by rpn_search_APT. This
is simpler and shorter than previous version of search which had
database merge in multiple places.

17 years agoRevert
Adam Dickmeiss [Mon, 29 Oct 2007 19:54:46 +0000 (19:54 +0000)]
Revert

17 years agoChanged type of index_type char/int to string.
Adam Dickmeiss [Mon, 29 Oct 2007 16:57:51 +0000 (16:57 +0000)]
Changed type of index_type char/int to string.

The index_type is part of the RecWord structure which is used by all
record filters. It used to be a int char (e.g. 'w'). It is now a string
so that arbitrary index types can be specified . For example there might
be a Greek Title (e.g. word:greek or word_greek).

17 years agoFirst indexing using index_types system (ICU).
Adam Dickmeiss [Mon, 29 Oct 2007 13:43:57 +0000 (13:43 +0000)]
First indexing using index_types system (ICU).

17 years agoWS changes for function calls.
Adam Dickmeiss [Mon, 29 Oct 2007 11:10:43 +0000 (11:10 +0000)]
WS changes for function calls.

17 years agoWS changes for function calls.
Adam Dickmeiss [Mon, 29 Oct 2007 09:25:40 +0000 (09:25 +0000)]
WS changes for function calls.

17 years agoFixed bug #1820: Omitted password crashes Zebra in some cases.
Adam Dickmeiss [Mon, 29 Oct 2007 09:23:08 +0000 (09:23 +0000)]
Fixed bug #1820: Omitted password crashes Zebra in some cases.

17 years agoOnly include icu_I18N.h if HAVE_ICU is defined
Adam Dickmeiss [Mon, 29 Oct 2007 08:20:16 +0000 (08:20 +0000)]
Only include icu_I18N.h if HAVE_ICU is defined

17 years agoAdded a few asserts
Adam Dickmeiss [Mon, 29 Oct 2007 08:19:39 +0000 (08:19 +0000)]
Added a few asserts

17 years agoFixed bug #1819: incorrect number of args to melm does not..
Adam Dickmeiss [Sun, 28 Oct 2007 18:41:08 +0000 (18:41 +0000)]
Fixed bug #1819: incorrect number of args to melm does not..

This is a trivial fix for bug #1819: incorrect number of args to melm
does not issue warning/error.

17 years agoTokenize for index_type system.
Adam Dickmeiss [Thu, 25 Oct 2007 19:25:00 +0000 (19:25 +0000)]
Tokenize for index_type system.

17 years agoModernize Doxyfile
Adam Dickmeiss [Thu, 25 Oct 2007 10:04:38 +0000 (10:04 +0000)]
Modernize Doxyfile

17 years agoRemoved unneeded include.
Adam Dickmeiss [Thu, 25 Oct 2007 09:23:34 +0000 (09:23 +0000)]
Removed unneeded include.

17 years agoRenamed index_rule to index_type.
Adam Dickmeiss [Thu, 25 Oct 2007 09:22:36 +0000 (09:22 +0000)]
Renamed index_rule to index_type.

17 years agoDo not write zebrasrv.pid in daemon mode
Adam Dickmeiss [Thu, 25 Oct 2007 07:43:13 +0000 (07:43 +0000)]
Do not write zebrasrv.pid in daemon mode

17 years agoUsing yaz_match_glob from YAZ.
Adam Dickmeiss [Wed, 24 Oct 2007 13:55:55 +0000 (13:55 +0000)]
Using yaz_match_glob from YAZ.

17 years agoCheck for ICU for include of icu_I18N.h.
Adam Dickmeiss [Tue, 23 Oct 2007 12:39:48 +0000 (12:39 +0000)]
Check for ICU for include of icu_I18N.h.

17 years agoDoxygen.
Adam Dickmeiss [Tue, 23 Oct 2007 12:36:22 +0000 (12:36 +0000)]
Doxygen.

17 years agoFirst parts of index_rules system (ICU support).
Adam Dickmeiss [Tue, 23 Oct 2007 12:26:25 +0000 (12:26 +0000)]
First parts of index_rules system (ICU support).

17 years agoZebra links with ICU enabled YAZ. Requires YAZ 3.0.15 or later.
Adam Dickmeiss [Mon, 22 Oct 2007 13:05:22 +0000 (13:05 +0000)]
Zebra links with ICU enabled YAZ. Requires YAZ 3.0.15 or later.

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.