pazpar2-moved-to-github.git
17 years agoAdded LOC-only target file for character set testing
Sebastian Hammer [Mon, 8 Jan 2007 22:08:35 +0000 (22:08 +0000)]
Added LOC-only target file for character set testing

17 years agoWhitespace
Sebastian Hammer [Mon, 8 Jan 2007 22:08:06 +0000 (22:08 +0000)]
Whitespace

17 years agoRemoved diagnostic output
Sebastian Hammer [Mon, 8 Jan 2007 19:41:56 +0000 (19:41 +0000)]
Removed diagnostic output

17 years agoFixed bug related to ranking, introduced by 'metadata' update.
Sebastian Hammer [Mon, 8 Jan 2007 19:39:12 +0000 (19:39 +0000)]
Fixed bug related to ranking, introduced by 'metadata' update.
Also introduced 'rank' attribute to service/metadata element. Specifies
a 'boost' factor to apply a given element. Default=1, 0=don't use this field
for ranking.

17 years agoMetadata elements dynamically created from XSLT normalization output.
Sebastian Hammer [Mon, 8 Jan 2007 18:32:35 +0000 (18:32 +0000)]
Metadata elements dynamically created from XSLT normalization output.
Configure file controls merging and termlist extraction. Merge criteria
supported: all-fields, longest (strlen), unique. Configure also
controls which fields are included in overview format (full view not
yet implemented).
Protocol change: Metadata field names now prefixed by 'md-' in the
webservice protocol (i.e. md-title). Implemented in test1 prototype.
Todo: Date range normalization/merge, sortkey extraction, full record view.

17 years agoDecent pager.
Anders S. Mortensen [Mon, 8 Jan 2007 14:51:35 +0000 (14:51 +0000)]
Decent pager.

17 years agoAutomaked pazpar2. Bug #799. Preprocessor defines are put in cconfig.h and
Adam Dickmeiss [Mon, 8 Jan 2007 12:43:41 +0000 (12:43 +0000)]
Automaked pazpar2. Bug #799. Preprocessor defines are put in cconfig.h and
included in every C source. cconfig.h is the "configure" defines. The usualy
filename convention is config.h but that is already defined. For now all
contents of www and test is copied verbatim to the tar-dist. The contents is
not installed during 'make install'. That should be done, but since the
configuration is still in progress we don't bother yet. Similarly with
www: part of tar-dist but not yet installed. The only application
installed at this installed is pazpar2 - in PREFIX/bin.

17 years agoRecord display works.
Anders S. Mortensen [Mon, 8 Jan 2007 11:13:07 +0000 (11:13 +0000)]
Record display works.

17 years agoMoved short-term TODO to Bugzilla
Sebastian Hammer [Sat, 6 Jan 2007 05:52:33 +0000 (05:52 +0000)]
Moved short-term TODO to Bugzilla

17 years agoNull pointer dereference in several cmd_ functions arose when session had
Sebastian Hammer [Sat, 6 Jan 2007 05:32:23 +0000 (05:32 +0000)]
Null pointer dereference in several cmd_ functions arose when session had
expired (introduced when status element was added). Bug # 790

17 years agoRemoved command.c (telnet-style interface)
Sebastian Hammer [Sat, 6 Jan 2007 04:54:58 +0000 (04:54 +0000)]
Removed command.c (telnet-style interface)
Beginning of structures to configure metadata handling (incomplete)

17 years agoAdded check to prevent retrieval of more than global_parameters.toget recs
Sebastian Hammer [Sat, 6 Jan 2007 03:02:47 +0000 (03:02 +0000)]
Added check to prevent retrieval of more than global_parameters.toget recs

17 years agoAdded yaz
Sebastian Hammer [Sat, 6 Jan 2007 01:36:33 +0000 (01:36 +0000)]
Added yaz

17 years agoMinor
Sebastian Hammer [Sat, 6 Jan 2007 01:35:43 +0000 (01:35 +0000)]
Minor

17 years agoFixed bug #794: Excessive memory when searching the LoC only.
Adam Dickmeiss [Fri, 5 Jan 2007 20:33:05 +0000 (20:33 +0000)]
Fixed bug #794: Excessive memory when searching the LoC only.
The bug was due to a buffer overrun in reclist_insert. Basically
the size could exceed that of flatlist_size. Reason is that
for LoC (or other target) we get 15 records at a time. 7*15 =
105 > 100 (expected_maxrecs). The buffer overrun made relevance_newrec
allocate very large nmem block. After that the tried would eventually
make a bad ptr reference. reclist_insert now returns 0 if there
is not enough room for a new record. Function ingest_record sees that
and does not process the record further. This bug was not relatd to
UTF-8 problems.

17 years agoRecord presentation.
Anders S. Mortensen [Fri, 5 Jan 2007 14:56:05 +0000 (14:56 +0000)]
Record presentation.

17 years agoBetter compliance with IE.
Anders S. Mortensen [Fri, 5 Jan 2007 13:53:33 +0000 (13:53 +0000)]
Better compliance with IE.

17 years agoPresent facets in the right style.
Anders S. Mortensen [Fri, 5 Jan 2007 13:45:35 +0000 (13:45 +0000)]
Present facets in the right style.

17 years agoUpdating facet lists more often.
Anders S. Mortensen [Fri, 5 Jan 2007 13:33:47 +0000 (13:33 +0000)]
Updating facet lists more often.

17 years agoFacets gets updated.
Anders S. Mortensen [Fri, 5 Jan 2007 13:31:10 +0000 (13:31 +0000)]
Facets gets updated.

17 years agoAdded facet toggle function.
Anders S. Mortensen [Fri, 5 Jan 2007 11:30:13 +0000 (11:30 +0000)]
Added facet toggle function.

17 years agoWe have a working version.
Anders S. Mortensen [Fri, 5 Jan 2007 10:05:19 +0000 (10:05 +0000)]
We have a working version.

17 years agoAdded status bar.
Anders S. Mortensen [Fri, 5 Jan 2007 09:46:30 +0000 (09:46 +0000)]
Added status bar.

17 years agoTypo.
Anders S. Mortensen [Fri, 5 Jan 2007 08:09:25 +0000 (08:09 +0000)]
Typo.

17 years agoImplemented selectable subject/author facet in simple client
Sebastian Hammer [Fri, 5 Jan 2007 02:12:51 +0000 (02:12 +0000)]
Implemented selectable subject/author facet in simple client

17 years agoMinor noodling
Sebastian Hammer [Thu, 4 Jan 2007 22:04:25 +0000 (22:04 +0000)]
Minor noodling

17 years agoNext-previous links used different page size than retrieval. Introduced setting variable.
Sebastian Hammer [Thu, 4 Jan 2007 22:03:56 +0000 (22:03 +0000)]
Next-previous links used different page size than retrieval. Introduced setting variable.

17 years agoChanged indent on XML example
Sebastian Hammer [Thu, 4 Jan 2007 21:33:27 +0000 (21:33 +0000)]
Changed indent on XML example

17 years agoIgnoring Makefile
Sebastian Hammer [Thu, 4 Jan 2007 21:09:50 +0000 (21:09 +0000)]
Ignoring Makefile

17 years agoMoved Makefile
Sebastian Hammer [Thu, 4 Jan 2007 21:08:26 +0000 (21:08 +0000)]
Moved Makefile

17 years agoEditing comments only.
Sebastian Hammer [Thu, 4 Jan 2007 20:33:51 +0000 (20:33 +0000)]
Editing comments only.

17 years agoUpdated.
Sebastian Hammer [Thu, 4 Jan 2007 20:18:16 +0000 (20:18 +0000)]
Updated.

17 years agoAdded 'virtual' facet named 'xtargets' to termlist command, which returns
Sebastian Hammer [Thu, 4 Jan 2007 20:00:58 +0000 (20:00 +0000)]
Added 'virtual' facet named 'xtargets' to termlist command, which returns
information about targets with the most hitcounts. Description in PROTOCOL

17 years ago*** empty log message ***
Sebastian Hammer [Thu, 4 Jan 2007 19:04:34 +0000 (19:04 +0000)]
*** empty log message ***

17 years agodiv structure more appropriate for ajax programming.
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:42 +0000 (14:39 +0000)]
div structure more appropriate for ajax programming.

17 years agoDefault message on front-page.
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:06 +0000 (14:39 +0000)]
Default message on front-page.

17 years agoGetting ready to implement to the demo.
Anders S. Mortensen [Thu, 4 Jan 2007 14:11:55 +0000 (14:11 +0000)]
Getting ready to implement to the demo.

17 years agoFixed NULL-ptr reference that occurred when type or value node becomes
Adam Dickmeiss [Thu, 4 Jan 2007 07:38:36 +0000 (07:38 +0000)]
Fixed NULL-ptr reference that occurred when type or value node becomes
NULL in ingest_record. For NULL values omit call to add_facet and
relevance_countwords.

17 years agoAdded code to do timings for show + ingest of records. Enable by
Adam Dickmeiss [Thu, 4 Jan 2007 07:27:29 +0000 (07:27 +0000)]
Added code to do timings for show + ingest of records. Enable by
setting USE_TIMING=1 in pazpar2.c. Requires YAZ 2.1.45 or later.

17 years agoForgot to release normalized xml record. Whoops.
Sebastian Hammer [Thu, 4 Jan 2007 03:16:14 +0000 (03:16 +0000)]
Forgot to release normalized xml record. Whoops.

17 years agoAdded session ping to Anders's demo client.
Sebastian Hammer [Thu, 4 Jan 2007 03:06:40 +0000 (03:06 +0000)]
Added session ping to Anders's demo client.

17 years agoImplemented 'activeclients' result element for cmd_stat. Put check in test1 client for
Sebastian Hammer [Thu, 4 Jan 2007 02:53:37 +0000 (02:53 +0000)]
Implemented 'activeclients' result element for cmd_stat. Put check in test1 client for
show, stat, and termlist handlers, so browser now produces no unnecessary HTML traffic.

17 years agoAdded 'activeclients' element to response from show and termlist command
Sebastian Hammer [Thu, 4 Jan 2007 02:35:42 +0000 (02:35 +0000)]
Added 'activeclients' element to response from show and termlist command
so browsers can stop repeating requests when all activity has ended.

17 years agoFixed bug that led to temporary busy-loops on write-select on some connections.
Sebastian Hammer [Wed, 3 Jan 2007 16:59:32 +0000 (16:59 +0000)]
Fixed bug that led to temporary busy-loops on write-select on some connections.
Thanks to Adam for the patch.

17 years agoRemoved local tweak to Makefile.. maybe we should have a Makefile.cvs, so people
Sebastian Hammer [Wed, 3 Jan 2007 14:31:55 +0000 (14:31 +0000)]
Removed local tweak to Makefile.. maybe we should have a Makefile.cvs, so people
can do their own tweaks.

17 years agoUpdate example
Adam Dickmeiss [Wed, 3 Jan 2007 13:17:50 +0000 (13:17 +0000)]
Update example

17 years agoAdded XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified
Sebastian Hammer [Wed, 3 Jan 2007 06:23:44 +0000 (06:23 +0000)]
Added XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified
by option -f before targets are loaded with -s (this is temporary). Listener portno
and proxy is still controlled from command line for now! Incoming records are
normalized to intermediate format with XSLT. Added support for multiple facets --
generated dynamically from the XSLT normalization step. marc21.xsl is for MARC.

17 years agoI Love examples
Adam Dickmeiss [Tue, 2 Jan 2007 15:12:04 +0000 (15:12 +0000)]
I Love examples

17 years agoMaking test more realistic.
Anders S. Mortensen [Tue, 2 Jan 2007 14:11:02 +0000 (14:11 +0000)]
Making test more realistic.

17 years agoAdding stress testing script.
Anders S. Mortensen [Tue, 2 Jan 2007 13:30:52 +0000 (13:30 +0000)]
Adding stress testing script.

17 years agoBack-button now works with paging too.
Anders S. Mortensen [Tue, 2 Jan 2007 11:02:50 +0000 (11:02 +0000)]
Back-button now works with paging too.

17 years agoDon't forget the -x command line switch.
Anders S. Mortensen [Tue, 2 Jan 2007 09:30:28 +0000 (09:30 +0000)]
Don't forget the -x command line switch.

17 years agoRenaming XSL file
Sebastian Hammer [Sun, 31 Dec 2006 04:51:17 +0000 (04:51 +0000)]
Renaming XSL file

17 years agoUpdating.
Anders S. Mortensen [Fri, 29 Dec 2006 11:33:56 +0000 (11:33 +0000)]
Updating.

17 years agoIntroducing a general initialization function.
Anders S. Mortensen [Fri, 29 Dec 2006 10:29:46 +0000 (10:29 +0000)]
Introducing a general initialization function.

17 years agoMoving javascript into a separate container.
Anders S. Mortensen [Fri, 29 Dec 2006 10:22:09 +0000 (10:22 +0000)]
Moving javascript into a separate container.

17 years agoUnescaping session before comparing.
Anders S. Mortensen [Fri, 29 Dec 2006 10:18:38 +0000 (10:18 +0000)]
Unescaping session before comparing.

17 years agoResolving conflict
Sebastian Hammer [Fri, 29 Dec 2006 05:10:02 +0000 (05:10 +0000)]
Resolving conflict

17 years agoOnly split on first occurrence of = in pseudo url.
Anders S. Mortensen [Thu, 28 Dec 2006 13:44:37 +0000 (13:44 +0000)]
Only split on first occurrence of = in pseudo url.

17 years agoBack button works in firefox.
Anders S. Mortensen [Thu, 28 Dec 2006 13:12:37 +0000 (13:12 +0000)]
Back button works in firefox.

17 years agoAdded rudimentary back-button functionality.
Anders S. Mortensen [Thu, 28 Dec 2006 11:02:48 +0000 (11:02 +0000)]
Added rudimentary back-button functionality.

17 years agoFixing what appears to be a typo in this stylesheet.
Anders S. Mortensen [Thu, 28 Dec 2006 10:00:34 +0000 (10:00 +0000)]
Fixing what appears to be a typo in this stylesheet.

17 years agoBasic configuration functionality in place (not yet used)
Sebastian Hammer [Wed, 27 Dec 2006 21:11:10 +0000 (21:11 +0000)]
Basic configuration functionality in place (not yet used)

17 years agoAdded empty source files for config system
Sebastian Hammer [Wed, 27 Dec 2006 02:14:27 +0000 (02:14 +0000)]
Added empty source files for config system

17 years agoAdded 'termlist' to config file. Notes.
Sebastian Hammer [Sun, 24 Dec 2006 22:09:40 +0000 (22:09 +0000)]
Added 'termlist' to config file. Notes.

17 years agoThoughts on profiles and XSLT
Sebastian Hammer [Fri, 22 Dec 2006 17:47:12 +0000 (17:47 +0000)]
Thoughts on profiles and XSLT

17 years agoStill just dummy
Sebastian Hammer [Fri, 22 Dec 2006 17:35:13 +0000 (17:35 +0000)]
Still just dummy

17 years agoThis is just a dummy config file -- a place to sketch out what the config
Sebastian Hammer [Fri, 22 Dec 2006 04:52:56 +0000 (04:52 +0000)]
This is just a dummy config file -- a place to sketch out what the config
file format should look like

17 years agoAdded load of global stylesheet (temporary measure only)
Sebastian Hammer [Fri, 22 Dec 2006 04:43:11 +0000 (04:43 +0000)]
Added load of global stylesheet (temporary measure only)

17 years agoRelocated default.bib
Sebastian Hammer [Fri, 22 Dec 2006 04:34:29 +0000 (04:34 +0000)]
Relocated default.bib

17 years agoReduced lines displayed in demo
Sebastian Hammer [Fri, 22 Dec 2006 04:34:06 +0000 (04:34 +0000)]
Reduced lines displayed in demo

17 years agoMinor
Sebastian Hammer [Thu, 21 Dec 2006 04:27:48 +0000 (04:27 +0000)]
Minor

17 years agoDiagnotic tuning
Sebastian Hammer [Thu, 21 Dec 2006 04:27:17 +0000 (04:27 +0000)]
Diagnotic tuning

17 years agoMinor wording change
Sebastian Hammer [Thu, 21 Dec 2006 04:26:39 +0000 (04:26 +0000)]
Minor wording change

17 years agoSession keepalive (ping)
Sebastian Hammer [Thu, 21 Dec 2006 04:20:22 +0000 (04:20 +0000)]
Session keepalive (ping)

17 years agoMore detailed logging of HTTP requests
Sebastian Hammer [Thu, 21 Dec 2006 04:16:25 +0000 (04:16 +0000)]
More detailed logging of HTTP requests

17 years agoFixed problem with detection of end-of-stream for HTTP socket. Problem
Adam Dickmeiss [Wed, 20 Dec 2006 23:31:24 +0000 (23:31 +0000)]
Fixed problem with detection of end-of-stream for HTTP socket. Problem
was that if errno happened to be EAGAIN and read returned 0, then
errno was invalid (or has value of previous failed Unix call). Only
if read returns -1, it's appropriate to check errno.

17 years agoFix leaks which occurs for DNS failures
Adam Dickmeiss [Wed, 20 Dec 2006 23:28:37 +0000 (23:28 +0000)]
Fix leaks which occurs for DNS failures

17 years agoReduce size of database struct. Pass temp NMEM memory to show.
Adam Dickmeiss [Wed, 20 Dec 2006 22:19:35 +0000 (22:19 +0000)]
Reduce size of database struct. Pass temp NMEM memory to show.

17 years agorelease idfvec memory
Adam Dickmeiss [Wed, 20 Dec 2006 22:18:33 +0000 (22:18 +0000)]
release idfvec memory

17 years agoIgnore pazpar2 binary.
Adam Dickmeiss [Wed, 20 Dec 2006 20:56:27 +0000 (20:56 +0000)]
Ignore pazpar2 binary.

17 years agogarbage
Sebastian Hammer [Wed, 20 Dec 2006 20:48:50 +0000 (20:48 +0000)]
garbage

17 years agoReorganizing source tree
Sebastian Hammer [Wed, 20 Dec 2006 20:48:07 +0000 (20:48 +0000)]
Reorganizing source tree

17 years agoReorganized source tree
Sebastian Hammer [Wed, 20 Dec 2006 20:47:16 +0000 (20:47 +0000)]
Reorganized source tree

17 years agoExperimental version.. Trying to move state information into URL parameters
Sebastian Hammer [Wed, 20 Dec 2006 20:36:58 +0000 (20:36 +0000)]
Experimental version.. Trying to move state information into URL parameters
to facilitate browser navigation and bookmarking. Not really functional yet, but
Can start a session and a search.. issues remain, however.

17 years agoRemoving old pz files
Sebastian Hammer [Wed, 20 Dec 2006 20:25:50 +0000 (20:25 +0000)]
Removing old pz files

17 years agoIgnore pazpar2 binary
Adam Dickmeiss [Wed, 20 Dec 2006 19:13:25 +0000 (19:13 +0000)]
Ignore pazpar2 binary

17 years agoDescription of new -h option.
Sebastian Hammer [Tue, 19 Dec 2006 16:46:26 +0000 (16:46 +0000)]
Description of new -h option.

17 years agoAdded [host:]port syntax to -h to bind HTTP listener to specific local IP
Sebastian Hammer [Tue, 19 Dec 2006 04:49:34 +0000 (04:49 +0000)]
Added [host:]port syntax to -h to bind HTTP listener to specific local IP

17 years agoDestroy orphan connections on I/O. We could perhaps do better, to preserve
Sebastian Hammer [Mon, 18 Dec 2006 16:29:57 +0000 (16:29 +0000)]
Destroy orphan connections on I/O. We could perhaps do better, to preserve
these connections, but then more state information must be moved to the
connection level. Think about this.

17 years agoSynching
Sebastian Hammer [Mon, 18 Dec 2006 15:23:00 +0000 (15:23 +0000)]
Synching

17 years agoUndeclared constant LOG_DEBUG, should be YLOG_DEBUG.
Anders S. Mortensen [Mon, 18 Dec 2006 14:37:21 +0000 (14:37 +0000)]
Undeclared constant LOG_DEBUG, should be YLOG_DEBUG.

17 years agoRemove illegal ccl characters from subject refinements.
Anders S. Mortensen [Mon, 18 Dec 2006 14:14:43 +0000 (14:14 +0000)]
Remove illegal ccl characters from subject refinements.

17 years agoFixing bug which caused that the term list was never updated.
Anders S. Mortensen [Mon, 18 Dec 2006 13:16:30 +0000 (13:16 +0000)]
Fixing bug which caused that the term list was never updated.

17 years agoImplemented 'block' option to 'show' function to reduce need for
Sebastian Hammer [Sun, 17 Dec 2006 13:42:47 +0000 (13:42 +0000)]
Implemented 'block' option to 'show' function to reduce need for
polling after a search. Implemented in 'test1' interface.

17 years agoPart of the way to blocking functions
Sebastian Hammer [Thu, 14 Dec 2006 14:58:03 +0000 (14:58 +0000)]
Part of the way to blocking functions
Fixes bug on timeout of sessions

17 years agoAdding experiments.
Anders S. Mortensen [Thu, 14 Dec 2006 14:57:27 +0000 (14:57 +0000)]
Adding experiments.

17 years agoAdded refinement feature.
Anders S. Mortensen [Thu, 14 Dec 2006 11:04:31 +0000 (11:04 +0000)]
Added refinement feature.

17 years agoImplemented session timeout; ping command
Sebastian Hammer [Tue, 12 Dec 2006 02:36:24 +0000 (02:36 +0000)]
Implemented session timeout; ping command

17 years agoAdded simple example
Sebastian Hammer [Mon, 11 Dec 2006 09:16:59 +0000 (09:16 +0000)]
Added simple example