pazpar2-moved-to-github.git
12 years agoMore logging for limit stuff
Adam Dickmeiss [Tue, 8 Nov 2011 12:17:28 +0000 (13:17 +0100)]
More logging for limit stuff

12 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Tue, 8 Nov 2011 11:15:35 +0000 (12:15 +0100)]
Merge branch 'master' into bug_4688

12 years agoUse _chdir on Windows
Adam Dickmeiss [Tue, 8 Nov 2011 11:14:48 +0000 (12:14 +0100)]
Use _chdir on Windows

12 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Tue, 8 Nov 2011 11:09:13 +0000 (12:09 +0100)]
Merge branch 'master' into bug_4688

12 years agoConf pz:limitmap may perform local filtering
Adam Dickmeiss [Tue, 8 Nov 2011 11:07:05 +0000 (12:07 +0100)]
Conf pz:limitmap may perform local filtering

If pz:limitmap's leading string is 'local:', Pazpar2 will perform
local filtering for the search commands' limit parameter. Add tests
for local filtering on subject and date.

12 years agoMake subject part of two tests
Adam Dickmeiss [Mon, 7 Nov 2011 13:46:16 +0000 (14:46 +0100)]
Make subject part of two tests

Metadata type subject is now brief and extracted from more MARC21
fields. This is to be able to test facet limits later.

12 years agoCheck for valid limitmap
Adam Dickmeiss [Mon, 7 Nov 2011 11:23:32 +0000 (12:23 +0100)]
Check for valid limitmap

12 years agoTest of iPhone Go
Dennis Schafroth [Mon, 7 Nov 2011 10:20:52 +0000 (11:20 +0100)]
Test of iPhone Go

12 years agoMerge branch 'bytarget_block'
Dennis Schafroth [Mon, 7 Nov 2011 10:15:21 +0000 (11:15 +0100)]
Merge branch 'bytarget_block'

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Mon, 7 Nov 2011 10:14:31 +0000 (11:14 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agoFunction to handle iPhone Go. Prepare for limit parameter on search
Dennis Schafroth [Mon, 7 Nov 2011 10:14:17 +0000 (11:14 +0100)]
Function to handle iPhone Go. Prepare for limit parameter on search

12 years agoFix for handling Go on iPhone
Dennis Schafroth [Mon, 7 Nov 2011 10:13:11 +0000 (11:13 +0100)]
Fix for handling Go on iPhone

12 years agoAvoid session lock while client search is initiated
Adam Dickmeiss [Fri, 4 Nov 2011 14:35:46 +0000 (15:35 +0100)]
Avoid session lock while client search is initiated

Also rename session->clients to session->clients_active.

12 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Fri, 4 Nov 2011 13:34:58 +0000 (14:34 +0100)]
Merge branch 'master' into bug_4688

12 years agoRemove destroy_session - replaced by session_destroy.
Adam Dickmeiss [Fri, 4 Nov 2011 13:34:35 +0000 (14:34 +0100)]
Remove destroy_session - replaced by session_destroy.

12 years agoTermlist block test
Dennis Schafroth [Fri, 4 Nov 2011 13:00:19 +0000 (14:00 +0100)]
Termlist block test

12 years agoTermlist block test
Dennis Schafroth [Fri, 4 Nov 2011 12:59:52 +0000 (13:59 +0100)]
Termlist block test

12 years agoMerge branch 'master' into bytarget_block
Dennis Schafroth [Fri, 4 Nov 2011 12:56:14 +0000 (13:56 +0100)]
Merge branch 'master' into bytarget_block

12 years agoMore tests for reusing clients.
Adam Dickmeiss [Fri, 4 Nov 2011 12:55:33 +0000 (13:55 +0100)]
More tests for reusing clients.

12 years agoUse session_log rather than yaz_log
Adam Dickmeiss [Fri, 4 Nov 2011 12:55:14 +0000 (13:55 +0100)]
Use session_log rather than yaz_log

When displaying whether a client is newly created or reused.

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Fri, 4 Nov 2011 12:17:57 +0000 (13:17 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agore-add pointer cast
Dennis Schafroth [Fri, 4 Nov 2011 12:17:53 +0000 (13:17 +0100)]
re-add pointer cast

12 years agofix wrongly removed session_status function name
Dennis Schafroth [Fri, 4 Nov 2011 12:17:11 +0000 (13:17 +0100)]
fix wrongly removed session_status function name

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Fri, 4 Nov 2011 12:06:52 +0000 (13:06 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agoNow also release termlist watch
Dennis Schafroth [Fri, 4 Nov 2011 12:06:48 +0000 (13:06 +0100)]
Now also release termlist watch

12 years agofix merge
Dennis Schafroth [Fri, 4 Nov 2011 12:05:30 +0000 (13:05 +0100)]
fix merge

12 years agoLogging of released watch
Dennis Schafroth [Fri, 4 Nov 2011 12:04:29 +0000 (13:04 +0100)]
Logging of released watch

12 years agoFix length of watch structure
Dennis Schafroth [Fri, 4 Nov 2011 11:46:54 +0000 (12:46 +0100)]
Fix length of watch structure

12 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 3 Nov 2011 14:54:42 +0000 (15:54 +0100)]
Merge branch 'master' into bug_4688

12 years agoTypo: missing pointer in type cast
Dennis Schafroth [Thu, 3 Nov 2011 14:52:36 +0000 (15:52 +0100)]
Typo: missing pointer in type cast

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:49:38 +0000 (15:49 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

Conflicts:
src/http_command.c

add active client check

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:47:29 +0000 (15:47 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

Conflicts:
src/http_command.c

Added on two machines

12 years agoadd TERMLIST watch
Dennis Schafroth [Thu, 3 Nov 2011 14:46:27 +0000 (15:46 +0100)]
add TERMLIST watch

12 years agoNOW implemented on the right command: termlist
Dennis Schafroth [Thu, 3 Nov 2011 14:45:54 +0000 (15:45 +0100)]
NOW implemented on the right command: termlist

12 years agoComment out No suggestions found
Dennis Schafroth [Thu, 3 Nov 2011 14:45:12 +0000 (15:45 +0100)]
Comment out No suggestions found

12 years agoGet rid of warning "Setting '%s' not configured as metadata"
Adam Dickmeiss [Thu, 3 Nov 2011 14:35:09 +0000 (15:35 +0100)]
Get rid of warning "Setting '%s' not configured as metadata"

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:15:24 +0000 (15:15 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:14:23 +0000 (15:14 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agoLog on bytarget watch release
Dennis Schafroth [Thu, 3 Nov 2011 14:14:12 +0000 (15:14 +0100)]
Log on bytarget watch release

12 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 13:50:04 +0000 (14:50 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

12 years agorefactor: same logic
Dennis Schafroth [Thu, 3 Nov 2011 13:49:59 +0000 (14:49 +0100)]
refactor: same logic

12 years agoInvestigating empty bytarget response. More logging
Dennis Schafroth [Thu, 3 Nov 2011 13:48:42 +0000 (14:48 +0100)]
Investigating empty bytarget response. More logging

12 years agoEnable blocking on bytarget
Dennis Schafroth [Thu, 3 Nov 2011 13:19:07 +0000 (14:19 +0100)]
Enable blocking on bytarget

12 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 3 Nov 2011 12:51:20 +0000 (13:51 +0100)]
Merge branch 'master' into bug_4688

12 years agoMake proper diagnostic for client connect failures
Adam Dickmeiss [Thu, 3 Nov 2011 12:44:30 +0000 (13:44 +0100)]
Make proper diagnostic for client connect failures

12 years agoAdd client_set_state_nb
Adam Dickmeiss [Thu, 3 Nov 2011 12:40:07 +0000 (13:40 +0100)]
Add client_set_state_nb

Is like client_set_state, but never calls session_alert_watch.
This is used in the search phase, when a show is never fired anyway
and also because session is locked already so session_alert_watch
would make a deal-lock.

12 years agoNew error: Already blocked
Dennis Schafroth [Thu, 3 Nov 2011 12:19:20 +0000 (13:19 +0100)]
New error: Already blocked

12 years agoFix: Send error response if set block fails.
Dennis Schafroth [Thu, 3 Nov 2011 12:18:43 +0000 (13:18 +0100)]
Fix: Send error response if set block fails.

12 years agoAdd bytarget watch
Dennis Schafroth [Thu, 3 Nov 2011 10:12:01 +0000 (11:12 +0100)]
Add bytarget watch

12 years agoRefactor for and implement bytarget block
Dennis Schafroth [Thu, 3 Nov 2011 10:10:46 +0000 (11:10 +0100)]
Refactor for and implement bytarget block

12 years agoRelease BYTARGET watch
Dennis Schafroth [Thu, 3 Nov 2011 10:09:46 +0000 (11:09 +0100)]
Release BYTARGET watch

12 years agoRemove obsolete comment
Adam Dickmeiss [Thu, 3 Nov 2011 08:58:31 +0000 (09:58 +0100)]
Remove obsolete comment

12 years agoMore tests for checking that we can re-use result set
Adam Dickmeiss [Wed, 2 Nov 2011 14:26:51 +0000 (15:26 +0100)]
More tests for checking that we can re-use result set

12 years agoClients cached within session
Adam Dickmeiss [Wed, 2 Nov 2011 14:24:39 +0000 (15:24 +0100)]
Clients cached within session

Clients are reused if query and other parameters are same for
command=search. For example, if a subset of databases are used and
query is the same, the result set from previous search is reused.

12 years agoVersion 1.6.5 v1.6.5
Dennis Schafroth [Tue, 1 Nov 2011 13:36:07 +0000 (13:36 +0000)]
Version 1.6.5

12 years agoMerge branch 'spell-check'
Dennis Schafroth [Tue, 1 Nov 2011 13:00:40 +0000 (14:00 +0100)]
Merge branch 'spell-check'

12 years agoAdd new test solr spellcheck test. Not added to dist test for now.
Dennis Schafroth [Tue, 1 Nov 2011 12:51:08 +0000 (13:51 +0100)]
Add new test solr spellcheck test. Not added to dist test for now.

12 years agoAdd new test solr spellcheck test. Not added to dist test for now.
Dennis Schafroth [Tue, 1 Nov 2011 12:51:01 +0000 (13:51 +0100)]
Add new test solr spellcheck test. Not added to dist test for now.

12 years agoAdd new test solr spellcheck test. Not added to dist test for now.
Dennis Schafroth [Tue, 1 Nov 2011 12:50:59 +0000 (13:50 +0100)]
Add new test solr spellcheck test. Not added to dist test for now.

12 years agoAdd new test solr spellcheck test. Not added to dist test for now.
Dennis Schafroth [Tue, 1 Nov 2011 12:50:57 +0000 (13:50 +0100)]
Add new test solr spellcheck test. Not added to dist test for now.

12 years agoPrepare for 1.6.5 release
Dennis Schafroth [Tue, 1 Nov 2011 12:41:48 +0000 (13:41 +0100)]
Prepare for 1.6.5 release

12 years agoSuround by suggestions, if data in suggestions_xml
Dennis Schafroth [Tue, 1 Nov 2011 12:30:21 +0000 (13:30 +0100)]
Suround by suggestions, if data in suggestions_xml

12 years agoMerge branch 'spell-check'
Dennis Schafroth [Tue, 1 Nov 2011 11:23:37 +0000 (12:23 +0100)]
Merge branch 'spell-check'

12 years agoRecursively parses 'suggestions' for bytarget
Niels Erik G. Nielsen [Mon, 31 Oct 2011 17:04:39 +0000 (18:04 +0100)]
Recursively parses 'suggestions' for bytarget

(Spelling suggestions)

12 years agoMerge branch 'master' into spell-check
Dennis Schafroth [Fri, 28 Oct 2011 13:40:19 +0000 (15:40 +0200)]
Merge branch 'master' into spell-check

12 years agoGet target suggestions from client
Dennis Schafroth [Fri, 28 Oct 2011 13:35:34 +0000 (15:35 +0200)]
Get target suggestions from client

12 years agoprint suggestions if present
Dennis Schafroth [Fri, 28 Oct 2011 13:35:00 +0000 (15:35 +0200)]
print suggestions if present

12 years agoFor now return the suggestions directly.
Dennis Schafroth [Fri, 28 Oct 2011 13:32:53 +0000 (15:32 +0200)]
For now return the suggestions directly.

12 years agoFix date for 1.6.4 in NEWS
Adam Dickmeiss [Fri, 28 Oct 2011 12:33:38 +0000 (14:33 +0200)]
Fix date for 1.6.4 in NEWS

12 years agoVersion 1.6.4 v1.6.4
Adam Dickmeiss [Fri, 28 Oct 2011 10:20:54 +0000 (12:20 +0200)]
Version 1.6.4

12 years agoFix return value in service_xslt_config
Adam Dickmeiss [Fri, 28 Oct 2011 08:50:49 +0000 (10:50 +0200)]
Fix return value in service_xslt_config

12 years agoFor xslt error msg, refer to proper name
Adam Dickmeiss [Fri, 28 Oct 2011 08:48:46 +0000 (10:48 +0200)]
For xslt error msg, refer to proper name

12 years agoSupport for suggestions xml
Dennis Schafroth [Thu, 27 Oct 2011 15:21:46 +0000 (17:21 +0200)]
Support for suggestions xml

12 years agoadd suggestions to hitsbytarget output
Dennis Schafroth [Thu, 27 Oct 2011 15:20:58 +0000 (17:20 +0200)]
add suggestions to hitsbytarget output

12 years agoSupport for suggestions
Dennis Schafroth [Thu, 27 Oct 2011 15:20:26 +0000 (17:20 +0200)]
Support for suggestions

12 years ago1.6.3-2 for testing
Adam Dickmeiss [Thu, 27 Oct 2011 12:12:33 +0000 (14:12 +0200)]
1.6.3-2 for testing

12 years agoEmbedded XSLT stylesheets for service
Adam Dickmeiss [Thu, 27 Oct 2011 11:44:17 +0000 (13:44 +0200)]
Embedded XSLT stylesheets for service

New service definition element, xslt, that allows an embedded stylesheet
to be defined. This can be referred to from pz:xslt as an alternative to
external files.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 25 Oct 2011 11:03:02 +0000 (13:03 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoTrying to enable page on default
Dennis Schafroth [Tue, 25 Oct 2011 11:02:53 +0000 (13:02 +0200)]
Trying to enable page on default

12 years agoFix Auth: use default methods, not "true". Check for undefined hits in data. Work...
Dennis Schafroth [Tue, 25 Oct 2011 11:02:20 +0000 (13:02 +0200)]
Fix Auth: use default methods, not "true". Check for undefined hits in data. Work-around for not initial show. Default is now ServiceProxy, not pazpar2.

12 years agoFix dis-alignment on tab navigation elements
Dennis Schafroth [Tue, 25 Oct 2011 10:59:26 +0000 (12:59 +0200)]
Fix dis-alignment on tab navigation elements

12 years agoChange termlist result to include also empty lists
Adam Dickmeiss [Wed, 19 Oct 2011 17:02:51 +0000 (19:02 +0200)]
Change termlist result to include also empty lists

This makes it behave like previous release 1.6.3.

12 years agoOnly one search response
Adam Dickmeiss [Wed, 19 Oct 2011 10:37:57 +0000 (12:37 +0200)]
Only one search response

Remove call to http_send_response - it is already called in
reponse_close.

12 years agoFlush HTTP recording file
Adam Dickmeiss [Wed, 19 Oct 2011 09:31:38 +0000 (11:31 +0200)]
Flush HTTP recording file

12 years agoHTTP recording saves both requests and responses
Adam Dickmeiss [Wed, 19 Oct 2011 08:32:24 +0000 (10:32 +0200)]
HTTP recording saves both requests and responses

12 years agoAdd support for CF data element "id".
Mike Taylor [Tue, 18 Oct 2011 08:26:43 +0000 (09:26 +0100)]
Add support for CF data element "id".
Gets translated into pz:metadata[@type="id"].
May be needed for bug #4713, persistent identifiers.
(And will be useful even if we don't do that for EBSCO.)

12 years agoAvoid work on bad metadata (0 prt ref)
Adam Dickmeiss [Fri, 14 Oct 2011 10:30:21 +0000 (12:30 +0200)]
Avoid work on bad metadata (0 prt ref)

Problem introduced in commit 9d9593.

12 years agoRecord id is leaded "content: " or "position: "
Adam Dickmeiss [Wed, 12 Oct 2011 14:18:45 +0000 (16:18 +0200)]
Record id is leaded "content: " or "position: "

This is to indicate whether a record ID is based of the generated
mergekey (typically title and other) or depending on the result set
position.

12 years agoChanges
Adam Dickmeiss [Wed, 12 Oct 2011 14:18:38 +0000 (16:18 +0200)]
Changes

12 years agosort: only skip "identical" records from same target
Adam Dickmeiss [Wed, 12 Oct 2011 11:15:47 +0000 (13:15 +0200)]
sort: only skip "identical" records from same target

12 years agoDocument pz:sortmap
Adam Dickmeiss [Wed, 12 Oct 2011 11:11:33 +0000 (13:11 +0200)]
Document pz:sortmap

12 years agoHonor block=1 for show when re-searching (sort)
Adam Dickmeiss [Wed, 12 Oct 2011 10:40:21 +0000 (12:40 +0200)]
Honor block=1 for show when re-searching (sort)

Note that the condition for block=1 has changed. It will block if
any client has more records to be fetched. Previously: block if
no records at all have been fetched.

12 years agoUpdate test results for sort test
Adam Dickmeiss [Wed, 12 Oct 2011 09:34:23 +0000 (11:34 +0200)]
Update test results for sort test

12 years agoInitial search may perform (relevance) sort
Adam Dickmeiss [Wed, 12 Oct 2011 09:30:08 +0000 (11:30 +0200)]
Initial search may perform (relevance) sort

The increasing flag is now taken into consideration. The pz:sortmap
does not include sort spec flags anymore: just strategy:field .
More test results added. It is clear that the block flag is not
honored for show as it should: would like block=1 to wait until
first record comes in - after (re)search with different sort criteria.

12 years agoMore work on sorting
Adam Dickmeiss [Tue, 11 Oct 2011 13:25:40 +0000 (15:25 +0200)]
More work on sorting

Session only searches once for each sort criteria. Each record is
matched against all records in cluster, to avoid duplicates.

12 years agoRefactor how total hits are calculated
Adam Dickmeiss [Mon, 10 Oct 2011 14:18:24 +0000 (16:18 +0200)]
Refactor how total hits are calculated

This is to ensure it doesn't get increased when we extend a search.

12 years agoShow command may re-search for targets that support it
Adam Dickmeiss [Fri, 7 Oct 2011 13:12:16 +0000 (15:12 +0200)]
Show command may re-search for targets that support it

12 years agoRename client_get_url to client_get_id
Adam Dickmeiss [Thu, 6 Oct 2011 10:45:01 +0000 (12:45 +0200)]
Rename client_get_url to client_get_id

12 years agostruct database: rename member url to id
Adam Dickmeiss [Thu, 6 Oct 2011 10:40:04 +0000 (12:40 +0200)]
struct database: rename member url to id

12 years agoUse client_get_url rather than database->url
Adam Dickmeiss [Thu, 6 Oct 2011 10:32:04 +0000 (12:32 +0200)]
Use client_get_url rather than database->url

client_get_url is safer and more appropriate in client.c.