idzebra-moved-to-github.git
18 years agoReformat
Adam Dickmeiss [Thu, 1 Jun 2006 13:10:16 +0000 (13:10 +0000)]
Reformat

18 years agoFixed bug in r_open (isam:s)
Adam Dickmeiss [Thu, 1 Jun 2006 13:05:52 +0000 (13:05 +0000)]
Fixed bug in r_open (isam:s)

18 years agoremoving the XSLT filter from the build, only keeping the ALVIS filter
Marc Cromme [Wed, 31 May 2006 16:11:58 +0000 (16:11 +0000)]
removing the XSLT filter from the build, only keeping the ALVIS filter

18 years agoLet configure generate doc/local.ent rather than doc/zebra.xml .
Adam Dickmeiss [Tue, 30 May 2006 23:08:29 +0000 (23:08 +0000)]
Let configure generate doc/local.ent rather than doc/zebra.xml .
Update doc/Makefile.am to use _COMPILE definitions.

18 years agoUpdate sort test to use the missingValueAction = 'abort'.
Adam Dickmeiss [Tue, 30 May 2006 22:03:13 +0000 (22:03 +0000)]
Update sort test to use the missingValueAction = 'abort'.

18 years agoFixed bug #597: Support null missing key for sort. Reject type
Adam Dickmeiss [Tue, 30 May 2006 21:41:35 +0000 (21:41 +0000)]
Fixed bug #597: Support null missing key for sort. Reject type
missingValueData which is unsupported.

18 years agoencode_info moved from index.h to extract.c and simplified
Adam Dickmeiss [Tue, 30 May 2006 13:44:44 +0000 (13:44 +0000)]
encode_info moved from index.h to extract.c and simplified

18 years agoChange return type for a zebra_add_record + zebra_repository functions to
Adam Dickmeiss [Tue, 30 May 2006 13:21:13 +0000 (13:21 +0000)]
Change return type for a zebra_add_record + zebra_repository functions to
be ZEBRA_RES rather than int. Split code in index/trav.c into two.

18 years agoShow iteration number if t15 fails
Adam Dickmeiss [Tue, 30 May 2006 13:06:35 +0000 (13:06 +0000)]
Show iteration number if t15 fails

18 years agoIgnore generated htmlhelp.hhp, toc.hhc
Mike Taylor [Tue, 30 May 2006 09:56:47 +0000 (09:56 +0000)]
Ignore generated htmlhelp.hhp, toc.hhc

18 years agomade place for record delete
Marc Cromme [Mon, 29 May 2006 13:48:43 +0000 (13:48 +0000)]
made place for record delete

18 years agoIgnore tstflock
Mike Taylor [Mon, 29 May 2006 08:28:19 +0000 (08:28 +0000)]
Ignore tstflock

18 years agoDocumentation for now based on Docbook XML/XSLT using xsltproc + Norman
Adam Dickmeiss [Wed, 24 May 2006 19:12:46 +0000 (19:12 +0000)]
Documentation for now based on Docbook XML/XSLT using xsltproc + Norman
Walsh's stylesheets. It means that the CVS version of Zebra is no longer
depending on jade/openjade or docbook-to-man scripts. PDF is no longer
part of the distribution - but can optionally be made using DSSSL/jadetex
or FOP.

18 years agoDepend on Tcl 8.4 instead of Tcl 8.3
Adam Dickmeiss [Wed, 24 May 2006 19:10:18 +0000 (19:10 +0000)]
Depend on Tcl 8.4 instead of Tcl 8.3

18 years agoFixed bug #594: Zebra pollutes XSLT output? For alvis and xslt
Adam Dickmeiss [Wed, 24 May 2006 18:31:33 +0000 (18:31 +0000)]
Fixed bug #594: Zebra pollutes XSLT output? For alvis and xslt
filter we are using xsltSaveResultToString instead of xmlDocDumpMemory.

18 years agocorrected logical error in finding indexation stylesheet
Marc Cromme [Wed, 24 May 2006 12:56:56 +0000 (12:56 +0000)]
corrected logical error in finding indexation stylesheet

18 years agoreturning default schema name or identifier when no element set is specified
Marc Cromme [Wed, 24 May 2006 08:23:01 +0000 (08:23 +0000)]
returning default schema name or identifier when no element set is specified

18 years agoadded support for default retrieval schema other than indexing schema
Marc Cromme [Tue, 23 May 2006 15:21:58 +0000 (15:21 +0000)]
added support for default retrieval schema other than indexing schema

18 years agoupdated with YAZ info
Marc Cromme [Tue, 23 May 2006 10:04:43 +0000 (10:04 +0000)]
updated with YAZ info

18 years agoadded items to configuration display and instructions
Marc Cromme [Tue, 23 May 2006 09:41:06 +0000 (09:41 +0000)]
added items to  configuration display and instructions

18 years agoFixed bug #454: Indexing with grs.regx much slower than version 1.3.32.
Adam Dickmeiss [Mon, 22 May 2006 13:28:00 +0000 (13:28 +0000)]
Fixed bug #454: Indexing with grs.regx  much slower than version 1.3.32.
The hash function in the record key management system was improved and
the hash size was increased. This make this sub system approx 10
times faster as far as gprof is concerned. There _is_ a bigger overhead
with the 64-bit keys over Zebra's 32-bit keys, but not much.

18 years agoIgnore register and shadow
Adam Dickmeiss [Mon, 22 May 2006 11:43:32 +0000 (11:43 +0000)]
Ignore register and shadow

18 years agoRemove local attribute handling and other dead code.
Adam Dickmeiss [Fri, 19 May 2006 23:45:28 +0000 (23:45 +0000)]
Remove local attribute handling and other dead code.

18 years agoFurhter code reductions because of string attributes
Adam Dickmeiss [Fri, 19 May 2006 23:20:24 +0000 (23:20 +0000)]
Furhter code reductions because of string attributes

18 years agoUse new YAZ logging calls (YAZ_USE_NEW_LOG)
Adam Dickmeiss [Fri, 19 May 2006 17:33:18 +0000 (17:33 +0000)]
Use new YAZ logging calls (YAZ_USE_NEW_LOG)

18 years agoadded zvrank again
Adam Dickmeiss [Fri, 19 May 2006 17:28:55 +0000 (17:28 +0000)]
added zvrank again

18 years agoadded ranksimilarity, removed zvrank
Adam Dickmeiss [Fri, 19 May 2006 17:28:11 +0000 (17:28 +0000)]
added ranksimilarity, removed zvrank

18 years agoZebra uses string attributes for indexing internally. Using set+numeric
Adam Dickmeiss [Fri, 19 May 2006 13:49:33 +0000 (13:49 +0000)]
Zebra uses string attributes for indexing internally. Using set+numeric
use attribute can still be used. But that is a search-only conversion which
inspects .att-set files as indicated using attset-directives in zebra.cfg.
attset references are no longer required, but when used they deserve
as "check" for that the index names used are also present in .att.

18 years agoSort Keys are stored using the reckeys_t structure. sort files
Adam Dickmeiss [Thu, 18 May 2006 12:03:05 +0000 (12:03 +0000)]
Sort Keys are stored using the reckeys_t structure. sort files
are named with the ordinal value (index ID) , rahter than use-attribute.
This patch ease the move towards string indexes everywhere.

18 years agoImplemented bug #588: allrecords search. Using @attr 1=allrecords ""
Adam Dickmeiss [Wed, 17 May 2006 17:46:44 +0000 (17:46 +0000)]
Implemented bug #588: allrecords search. Using @attr 1=allrecords ""
matches all records in a database.

18 years agoFix mistake: fuzzy matching is 5=103, not 5=102
Mike Taylor [Wed, 17 May 2006 14:12:56 +0000 (14:12 +0000)]
Fix mistake: fuzzy matching is 5=103, not 5=102
Add truncation.regexp, 5=102

18 years agochanged API to get terms and docs in fields
Marc Cromme [Thu, 11 May 2006 10:26:13 +0000 (10:26 +0000)]
changed API to get terms and docs in fields

18 years agoMake two functions to get term/doc occurrences rather than one.
Adam Dickmeiss [Thu, 11 May 2006 10:15:33 +0000 (10:15 +0000)]
Make two functions to get term/doc occurrences rather than one.

18 years agoCheck size of off_t and adjust printf format accordingly.
Adam Dickmeiss [Wed, 10 May 2006 14:13:45 +0000 (14:13 +0000)]
Check size of off_t and adjust printf format accordingly.

18 years agoFix printing of match string in updating code
Adam Dickmeiss [Wed, 10 May 2006 13:54:01 +0000 (13:54 +0000)]
Fix printing of match string in updating code

18 years agoFix bad init of zebSUInfoB node
Adam Dickmeiss [Wed, 10 May 2006 13:46:55 +0000 (13:46 +0000)]
Fix bad init of zebSUInfoB node

18 years agoAdded code which maintains number of term occurrences and document
Adam Dickmeiss [Wed, 10 May 2006 12:31:08 +0000 (12:31 +0000)]
Added code which maintains number of term occurrences and document
occurrences for an index.

18 years agoFixed rec_cp. Did not copy the 0-termiante info buffers
Adam Dickmeiss [Wed, 10 May 2006 12:30:02 +0000 (12:30 +0000)]
Fixed rec_cp. Did not copy the 0-termiante info buffers

18 years agoNo more experiments with combined sh libs
Adam Dickmeiss [Wed, 10 May 2006 09:11:22 +0000 (09:11 +0000)]
No more experiments with combined sh libs

18 years agoOptimize zebraExplain_lookup_attr_{su, str} by using a impementing
Adam Dickmeiss [Wed, 10 May 2006 09:08:55 +0000 (09:08 +0000)]
Optimize zebraExplain_lookup_attr_{su, str} by using a impementing
a move-to-front stategy.

18 years agoPut local variables footer in all c, h files.
Adam Dickmeiss [Wed, 10 May 2006 08:13:17 +0000 (08:13 +0000)]
Put local variables footer in all c, h files.

18 years agochanged comments
Marc Cromme [Wed, 10 May 2006 07:54:41 +0000 (07:54 +0000)]
changed comments

18 years agoadded sysno and matchStr (if exists) to logging of add/update/delete indexing operati...
Marc Cromme [Tue, 9 May 2006 11:31:37 +0000 (11:31 +0000)]
added sysno and matchStr (if exists) to logging of add/update/delete indexing operations on files

18 years agoFixed bug #576: Regexp-2 search misses hits. Problem was that
Adam Dickmeiss [Tue, 9 May 2006 10:46:56 +0000 (10:46 +0000)]
Fixed bug #576: Regexp-2 search misses hits. Problem was that
init_pos was always set to 2. And the ordinal encoded prefix might
be of length 1. Hence the first character would not be part of regular
expression _with_ errors.

18 years agoRemove unneeded debug logs
Adam Dickmeiss [Tue, 9 May 2006 08:12:22 +0000 (08:12 +0000)]
Remove unneeded debug logs

18 years agoadded spots for missing statistics: size_docs_field no_docs_field no_docs_database...
Marc Cromme [Mon, 8 May 2006 14:03:16 +0000 (14:03 +0000)]
added spots for missing statistics:  size_docs_field no_docs_field no_docs_database size_docs_database no_terms_field

18 years agoadded doxygen rules
Marc Cromme [Mon, 8 May 2006 12:09:49 +0000 (12:09 +0000)]
added doxygen rules
make dox
make showdox

18 years agoadded hit count in ressultset
Marc Cromme [Mon, 8 May 2006 10:09:07 +0000 (10:09 +0000)]
added hit count in ressultset
corrected yaz logging which complained over wrong types on ADM 64

18 years agoFor buildconf.sh -d, add -Wdeclaration-after-statement
Adam Dickmeiss [Fri, 5 May 2006 17:19:38 +0000 (17:19 +0000)]
For buildconf.sh -d, add -Wdeclaration-after-statement

18 years agoAvoid declaration after statement
Adam Dickmeiss [Fri, 5 May 2006 17:18:50 +0000 (17:18 +0000)]
Avoid declaration after statement

18 years agoLog when a file is opened using data1 system
Adam Dickmeiss [Fri, 5 May 2006 13:17:34 +0000 (13:17 +0000)]
Log when a file is opened using data1 system

18 years agoAdded two YAZ_EXPORTS
Adam Dickmeiss [Fri, 5 May 2006 09:15:11 +0000 (09:15 +0000)]
Added two YAZ_EXPORTS

18 years agoImplement functions to get register usage statistics:
Adam Dickmeiss [Fri, 5 May 2006 09:14:02 +0000 (09:14 +0000)]
Implement functions to get register usage statistics:
mf_area_directory_stat, bfs_{register,shadow}_directory_stat.

18 years agoAdded prototype recTypeClass_load_modules
Adam Dickmeiss [Fri, 5 May 2006 09:12:21 +0000 (09:12 +0000)]
Added prototype recTypeClass_load_modules

18 years agoBy default, no searching for loadable modules is performed unless
Adam Dickmeiss [Fri, 5 May 2006 07:34:25 +0000 (07:34 +0000)]
By default, no searching for loadable modules is performed unless
modulePath is defined.

18 years agoadded more statistics to rank function, renamed variables to better names
Marc Cromme [Thu, 4 May 2006 10:11:09 +0000 (10:11 +0000)]
added more statistics to rank function, renamed variables to better names

18 years agoadded statistics to similarity rank function
Marc Cromme [Wed, 3 May 2006 13:55:20 +0000 (13:55 +0000)]
added statistics to similarity rank function

18 years agoadded coment on magic number 34 which is sqrroot of 1000
Marc Cromme [Wed, 3 May 2006 13:26:12 +0000 (13:26 +0000)]
added coment on magic number 34 which is sqrroot of 1000

18 years agoremoved emacs trailer
Marc Cromme [Wed, 3 May 2006 09:42:39 +0000 (09:42 +0000)]
removed emacs trailer

18 years agoadded new ranking function rank-similar in ranksimilar.c
Marc Cromme [Wed, 3 May 2006 09:31:25 +0000 (09:31 +0000)]
added new ranking function rank-similar in ranksimilar.c
moved ranking related declarations from header index.h to header rank.h

18 years agoCompleted revision of text.
Mike Taylor [Tue, 2 May 2006 12:55:18 +0000 (12:55 +0000)]
Completed revision of text.

18 years agoRolling mods to Marc's new ranking prose. (Check in early, check in
Mike Taylor [Tue, 2 May 2006 12:23:02 +0000 (12:23 +0000)]
Rolling mods to Marc's new ranking prose.  (Check in early, check in
often, to reduce conflicts if Adam is also working on this.  Actually,
if he is, and if my checking happens first, then there will still be
conflicts but I will have shifted them onto Adam, as whoever checks in
second has to resolve the problems.  So I should have said that this
checkin is in order to shift/reduce conflicts :-)

18 years agoadded possibility to display static rank information in output of xslt and alvis...
Marc Cromme [Tue, 2 May 2006 08:27:43 +0000 (08:27 +0000)]
added possibility to display static rank information in output of xslt and alvis filter. Added member staticrank to recRetrieveCtrl.

18 years agoadded warning on clash betwen @attr 2=102 and @attr 9= some number
Marc Cromme [Mon, 1 May 2006 13:07:40 +0000 (13:07 +0000)]
added warning on clash betwen @attr 2=102 and @attr 9=  some number

18 years agoadded section on static and dynamic ranking, versus sorting
Marc Cromme [Mon, 1 May 2006 12:59:33 +0000 (12:59 +0000)]
added section on static and dynamic ranking, versus sorting

18 years agoExperiment with combined shared lib libidzebra-all.la. Create
Adam Dickmeiss [Mon, 1 May 2006 08:27:20 +0000 (08:27 +0000)]
Experiment with combined shared lib libidzebra-all.la. Create
two programs zebraidx2, zebrasrv2 using it.

18 years agoFix shell test. Use = rather than == (not portable)
Adam Dickmeiss [Fri, 28 Apr 2006 18:50:48 +0000 (18:50 +0000)]
Fix shell test. Use = rather than == (not portable)

18 years agomake distcheck works now
Marc Cromme [Thu, 27 Apr 2006 20:40:41 +0000 (20:40 +0000)]
make distcheck works now

===============================================
idzebra-1.4.0 archives ready for distribution:
idzebra-1.4.0.tar.gz
===============================================

18 years agobypassing checks when running make distcheck
Marc Cromme [Thu, 27 Apr 2006 10:52:26 +0000 (10:52 +0000)]
bypassing checks when running make distcheck

18 years agochanged xslt filter to expand config file and xslt stylesheet file names according...
Marc Cromme [Wed, 26 Apr 2006 13:27:16 +0000 (13:27 +0000)]
changed xslt filter to expand config file and xslt stylesheet file names according to profilePath setting in zebra.cfg. Added setting of profilepath in xslt tests to include $(srcdir), thus making make target distcheck succeed for xslt tests.

18 years agoChange config function in recType interface to return ZEBRA_RES
Adam Dickmeiss [Wed, 26 Apr 2006 11:12:31 +0000 (11:12 +0000)]
Change config function in recType interface to return ZEBRA_RES
to signal success/failure.

18 years agoCopy files rather than symlink
Adam Dickmeiss [Wed, 26 Apr 2006 11:08:41 +0000 (11:08 +0000)]
Copy files rather than symlink

18 years agooptimize for C source code
Marc Cromme [Wed, 26 Apr 2006 11:03:13 +0000 (11:03 +0000)]
optimize for C source code

18 years agoAccept NULL value for sysno in zebra_delete_record
Adam Dickmeiss [Tue, 25 Apr 2006 19:37:21 +0000 (19:37 +0000)]
Accept NULL value for sysno in zebra_delete_record

18 years agoImplemented special retrieval _storekeys_ which returns record keys
Adam Dickmeiss [Tue, 25 Apr 2006 13:52:38 +0000 (13:52 +0000)]
Implemented special retrieval _storekeys_ which returns record keys

18 years agoreverted to Emacs sgml mode
Marc Cromme [Tue, 25 Apr 2006 12:26:26 +0000 (12:26 +0000)]
reverted to Emacs sgml mode

18 years agoadded configuraiton output
Marc Cromme [Mon, 24 Apr 2006 13:23:15 +0000 (13:23 +0000)]
added configuraiton output

18 years agoinserted Emacs nxml-mode in bottom of XML file
Marc Cromme [Mon, 24 Apr 2006 12:53:02 +0000 (12:53 +0000)]
inserted Emacs nxml-mode in bottom of XML file

18 years agoRemoved.
Adam Dickmeiss [Thu, 20 Apr 2006 11:08:59 +0000 (11:08 +0000)]
Removed.

18 years agoFix dependancy of tkl.xsl
Adam Dickmeiss [Thu, 20 Apr 2006 11:08:55 +0000 (11:08 +0000)]
Fix dependancy of tkl.xsl

18 years agoUpdated to use doc/common (id-docbook-common)
Adam Dickmeiss [Thu, 20 Apr 2006 10:25:17 +0000 (10:25 +0000)]
Updated to use doc/common (id-docbook-common)

18 years agozebra_lock_create() now logs an error and returns a null pointer if
Mike Taylor [Thu, 13 Apr 2006 12:42:57 +0000 (12:42 +0000)]
zebra_lock_create() now logs an error and returns a null pointer if
the lock fails, rather then as previously seggy-faulting on a null
indirection.  This happens if, for example, you do "zebraidx init"
using a configuration that asks for the lock-files to be put into a
non-existent directory.

18 years agoCreate register+shadow for t15
Adam Dickmeiss [Wed, 5 Apr 2006 02:52:31 +0000 (02:52 +0000)]
Create register+shadow for t15

18 years agoIn zebra_commit_ex handle better the case where bfs cannot be created
Adam Dickmeiss [Wed, 5 Apr 2006 02:52:11 +0000 (02:52 +0000)]
In zebra_commit_ex handle better the case where bfs cannot be created

18 years agoRenamed fileExtract to zebra_extract_file.. The new function returns
Adam Dickmeiss [Wed, 5 Apr 2006 02:11:44 +0000 (02:11 +0000)]
Renamed fileExtract to zebra_extract_file.. The new function returns
ZEBRA_RES.

18 years agoAdded ZEBRA_CHECK_HANDLE(zh) which returns ZEBRA_FAIL if handle is
Adam Dickmeiss [Wed, 5 Apr 2006 02:10:20 +0000 (02:10 +0000)]
Added ZEBRA_CHECK_HANDLE(zh) which returns ZEBRA_FAIL if handle is
NULL. This used in many of the public Zebra functions.

18 years agoAdded zebra15.cfg for t15
Adam Dickmeiss [Wed, 5 Apr 2006 02:03:33 +0000 (02:03 +0000)]
Added zebra15.cfg for t15

18 years agoRemove mf_unlink_name
Adam Dickmeiss [Wed, 5 Apr 2006 02:02:36 +0000 (02:02 +0000)]
Remove mf_unlink_name

18 years agoAdded check for sys/wait.h
Adam Dickmeiss [Wed, 5 Apr 2006 02:01:21 +0000 (02:01 +0000)]
Added check for sys/wait.h

18 years agoDoxygen comments
Adam Dickmeiss [Tue, 4 Apr 2006 00:10:09 +0000 (00:10 +0000)]
Doxygen comments

18 years agoMore consistent Doxygen comment usage
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:51 +0000 (00:09 +0000)]
More consistent Doxygen comment usage

18 years agoDon't exit in dir_open.
Adam Dickmeiss [Tue, 4 Apr 2006 00:09:00 +0000 (00:09 +0000)]
Don't exit in dir_open.

18 years agoAdded test which reproduces the error with shadow files being deleted
Adam Dickmeiss [Tue, 4 Apr 2006 00:03:27 +0000 (00:03 +0000)]
Added test which reproduces the error with shadow files being deleted
"too early.

18 years agoFor testlib programs argv[1] holds log level (if given). argv[2]
Adam Dickmeiss [Tue, 4 Apr 2006 00:02:34 +0000 (00:02 +0000)]
For testlib programs argv[1] holds log level (if given). argv[2]
holds log format (if given). Also testlib start up routine deletes
(empties) the log file.

18 years agoFix the way we delete the shadow files after a "succesful" commit
Adam Dickmeiss [Tue, 4 Apr 2006 00:00:18 +0000 (00:00 +0000)]
Fix the way we delete the shadow files after a "succesful" commit
operation. The problem with the exising code was that read-only
sessions (searches, etc) could "suddenly" miss the shadow files that
they read..

18 years agoMissing tst function
Adam Dickmeiss [Fri, 31 Mar 2006 16:02:56 +0000 (16:02 +0000)]
Missing tst function

18 years agoUse GCC attribute warn_unsed_result for a few of the most important
Adam Dickmeiss [Fri, 31 Mar 2006 15:58:03 +0000 (15:58 +0000)]
Use GCC attribute warn_unsed_result for a few of the most important
API functions. This allows us to find places where errors are not
properly dealt with.
All testlib functions are prefixed with tl_.. They usually
return 1 for TRUE, 0 for FALSE .. And YAZ_CHECK functions are used
in virtually all tests now.

18 years agoIn zebra_register_open, only call zebraExplain_open if all previous
Adam Dickmeiss [Fri, 31 Mar 2006 08:51:26 +0000 (08:51 +0000)]
In zebra_register_open, only call zebraExplain_open if all previous
calls are succesful (ZEBRA_OK).

18 years agoidzebra.m4 moved to sub directory m4
Adam Dickmeiss [Thu, 30 Mar 2006 18:00:51 +0000 (18:00 +0000)]
idzebra.m4 moved to sub directory m4

18 years agoAdd extra argument to zebraExplain_lookup_ord so that we can get
Adam Dickmeiss [Thu, 30 Mar 2006 09:52:15 +0000 (09:52 +0000)]
Add extra argument to zebraExplain_lookup_ord so that we can get
string based index back. Provide example of the printing of this
in rankstatic.c.