pazpar2-moved-to-github.git
10 years agoOnly use XDR when doing CORS
Jakub Skoczen [Mon, 6 Jan 2014 13:44:49 +0000 (14:44 +0100)]
Only use XDR when doing CORS

favor XHR in all other circumstances

10 years agoHappy new year
Adam Dickmeiss [Fri, 3 Jan 2014 12:27:44 +0000 (13:27 +0100)]
Happy new year

Omit copyright year range from most source files. We don't want to
update them every year anymore.

10 years agoTowards cluster ranking, minor changes
Heikki Levanto [Thu, 19 Dec 2013 14:04:33 +0000 (15:04 +0100)]
Towards cluster ranking, minor changes

10 years agoRemove unnecessary check from reclist enter/leave
Heikki Levanto [Thu, 19 Dec 2013 13:58:11 +0000 (14:58 +0100)]
Remove unnecessary check from reclist enter/leave

These used to check that the reclist pointer was not null,
but only after dereferencing it once...

10 years agoAdd reclist rewind function
Heikki Levanto [Thu, 19 Dec 2013 13:56:30 +0000 (14:56 +0100)]
Add reclist rewind function

starts the reclist from beginning, but does not touch the mutex

10 years agoFitting: better initial guess
Heikki Levanto [Wed, 18 Dec 2013 15:18:22 +0000 (16:18 +0100)]
Fitting: better initial guess

The two test cases now converge to within two decimals in 19 and 46
iterations, which must be good enough. The results look reasonable.

10 years agonormalizing finally seems to converge
Heikki Levanto [Wed, 18 Dec 2013 13:17:53 +0000 (14:17 +0100)]
normalizing finally seems to converge

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2
Heikki Levanto [Wed, 18 Dec 2013 10:37:29 +0000 (11:37 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 18 Dec 2013 09:11:47 +0000 (10:11 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoFix incorrect results for test_cluster_9 PAZ-911
Adam Dickmeiss [Wed, 18 Dec 2013 09:10:35 +0000 (10:10 +0100)]
Fix incorrect results for test_cluster_9 PAZ-911

The problem was that record where checked for comparison even though
they shouldn't be - in case of cluster merge.

10 years agotesting: disable APDU logging for yaz-ztest
Adam Dickmeiss [Tue, 17 Dec 2013 19:07:26 +0000 (20:07 +0100)]
testing: disable APDU logging for yaz-ztest

For some reason test_filter_16 fails with APDU logging enabled.
Indicates that result depends on how yaz-ztest responds.

10 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2
Heikki Levanto [Tue, 17 Dec 2013 15:06:32 +0000 (16:06 +0100)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2

10 years agoCurve fitting that converges somewhat better
Heikki Levanto [Tue, 17 Dec 2013 15:04:48 +0000 (16:04 +0100)]
Curve fitting that converges somewhat better
Now (in one test), 28 iterations instead of 1000.
This is for 2 decimals. I am still not quite happy about
the resulting ranks, need to take another look some day.

10 years agoBetter cluster test
Adam Dickmeiss [Tue, 17 Dec 2013 14:05:57 +0000 (15:05 +0100)]
Better cluster test

Unfortunately needs YAZ 5.0.7. So, test_cluster.sh is not enabled by
default yet.

10 years agoTowards normalized rankings (PAZ-909)
Heikki Levanto [Tue, 17 Dec 2013 09:34:27 +0000 (10:34 +0100)]
Towards normalized rankings (PAZ-909)
Can extract native ranks, and normalize them (also normalizes
our TF/IDF and position-based pseudorankings to the same level).
Does not yet merge individual record ranks into cluster ranks.
Default behavior should be the same as before.

10 years agoCluster test
Adam Dickmeiss [Mon, 16 Dec 2013 21:07:24 +0000 (22:07 +0100)]
Cluster test

10 years agoRemove a few YLOG_LOG stmts
Adam Dickmeiss [Mon, 16 Dec 2013 09:54:55 +0000 (10:54 +0100)]
Remove a few YLOG_LOG stmts

10 years agoHandle metadata_type in a few more places
Adam Dickmeiss [Fri, 13 Dec 2013 13:11:01 +0000 (14:11 +0100)]
Handle metadata_type in a few more places

10 years agoReformat a bit
Adam Dickmeiss [Fri, 13 Dec 2013 13:08:35 +0000 (14:08 +0100)]
Reformat a bit

10 years agoNew metadata type, float, for metadata score PAZ-908
Adam Dickmeiss [Fri, 13 Dec 2013 12:57:52 +0000 (13:57 +0100)]
New metadata type, float, for metadata score PAZ-908

10 years agoTypo.
Mike Taylor [Mon, 9 Dec 2013 22:12:55 +0000 (22:12 +0000)]
Typo.
]

10 years agopz2.js: Allow overidding cookie do
Adam Dickmeiss [Mon, 9 Dec 2013 12:17:42 +0000 (13:17 +0100)]
pz2.js: Allow overidding cookie do

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 4 Dec 2013 14:41:44 +0000 (15:41 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agoFix warning: ‘struct relevance’ declared inside parameter list
Adam Dickmeiss [Wed, 4 Dec 2013 14:41:17 +0000 (15:41 +0100)]
Fix warning: ‘struct relevance’ declared inside parameter list

10 years agopass score into metadata, if there.
Heikki Levanto [Wed, 4 Dec 2013 14:37:19 +0000 (15:37 +0100)]
pass score into metadata, if there.

dbc-opensearch-gw now tries to fetch the score too, and massages it into
a good place. This change passes it on so we can see it in pz2, and use
for sorting or merging scores

10 years agoFixes for record cluster merge, PAZ-901
Adam Dickmeiss [Tue, 3 Dec 2013 12:05:23 +0000 (13:05 +0100)]
Fixes for record cluster merge, PAZ-901

10 years agoRemove unused code section
Adam Dickmeiss [Tue, 3 Dec 2013 08:55:36 +0000 (09:55 +0100)]
Remove unused code section

10 years agoCluster merge working PAZ-901
Adam Dickmeiss [Mon, 2 Dec 2013 13:48:32 +0000 (14:48 +0100)]
Cluster merge working PAZ-901

Note that metadata and sortkeys from cluster is not yet merged.
Existing cluster metadata and sortkeys will be effective values.

10 years agoWork on cluster merging; part of PAZ-901
Adam Dickmeiss [Fri, 29 Nov 2013 13:21:53 +0000 (14:21 +0100)]
Work on cluster merging; part of PAZ-901

10 years agoFix setting recid (tests pass again)
Adam Dickmeiss [Thu, 28 Nov 2013 14:11:43 +0000 (15:11 +0100)]
Fix setting recid (tests pass again)

10 years agoStart work on multiple mergekeys - tests do not pass
Adam Dickmeiss [Wed, 27 Nov 2013 12:11:36 +0000 (13:11 +0100)]
Start work on multiple mergekeys - tests do not pass

10 years agoClient state to "working" when waiting for resolver PAZ-907
Adam Dickmeiss [Wed, 27 Nov 2013 09:49:45 +0000 (10:49 +0100)]
Client state to "working" when waiting for resolver PAZ-907

10 years agoDoc: relevance section refer to config description
Adam Dickmeiss [Thu, 21 Nov 2013 10:40:44 +0000 (11:40 +0100)]
Doc: relevance section refer to config description

10 years agoEnable Solr tests again PAZ-894
Adam Dickmeiss [Wed, 20 Nov 2013 09:46:45 +0000 (10:46 +0100)]
Enable Solr tests again PAZ-894

Also some tests results due to other order of records within
cluster PAZ-902.

10 years agoLog when session terminates PAZ-905
Adam Dickmeiss [Tue, 19 Nov 2013 09:16:10 +0000 (10:16 +0100)]
Log when session terminates PAZ-905

And remove logging about service_incref.

10 years agoFix LSB/HS conformance for /etc/init.d/pazpar2 PAZ-904
Adam Dickmeiss [Mon, 18 Nov 2013 12:44:40 +0000 (13:44 +0100)]
Fix LSB/HS conformance for /etc/init.d/pazpar2 PAZ-904

Debian: add support for /etc/init.d/pazpar2 status

10 years agoVersion 1.6.37 v1.6.37
Adam Dickmeiss [Mon, 18 Nov 2013 09:40:48 +0000 (10:40 +0100)]
Version 1.6.37

10 years agoFix 'Record Missing' PAZ-903
Adam Dickmeiss [Fri, 15 Nov 2013 18:47:21 +0000 (19:47 +0100)]
Fix 'Record Missing' PAZ-903

The problem was that the sorted_next is not updated when a new cluster
is added. This resets sorted_list and sorted_ptr which makes
reclist_limit re-make the sorted_list again.

10 years agoPreserve order of records within cluster PAZ-902
Adam Dickmeiss [Wed, 13 Nov 2013 12:59:46 +0000 (13:59 +0100)]
Preserve order of records within cluster PAZ-902

10 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 13 Nov 2013 12:50:17 +0000 (13:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

10 years agotesting: add missing sh test
Adam Dickmeiss [Wed, 13 Nov 2013 12:50:13 +0000 (13:50 +0100)]
testing: add missing sh test

10 years agoUpdate WIN makefile for YAZ 5.
Adam Dickmeiss [Wed, 13 Nov 2013 12:37:30 +0000 (13:37 +0100)]
Update WIN makefile for YAZ 5.

10 years agotesting: use yaz-ztest -V if possible
Adam Dickmeiss [Wed, 13 Nov 2013 12:29:35 +0000 (13:29 +0100)]
testing: use yaz-ztest -V if possible

10 years agotesting: use yaz-ztest in sibling directory
Adam Dickmeiss [Wed, 13 Nov 2013 12:05:48 +0000 (13:05 +0100)]
testing: use yaz-ztest in sibling directory

10 years agotesting: display test name in all msgs
Adam Dickmeiss [Wed, 13 Nov 2013 11:49:43 +0000 (12:49 +0100)]
testing: display test name in all msgs

10 years agotesting: suppress diff warning + minor refactor
Adam Dickmeiss [Wed, 13 Nov 2013 11:40:00 +0000 (12:40 +0100)]
testing: suppress diff warning + minor refactor

10 years agoTesting fixes: handle without icu/ztest cases better
Adam Dickmeiss [Wed, 13 Nov 2013 10:30:30 +0000 (11:30 +0100)]
Testing fixes: handle without icu/ztest cases better

10 years agoRemove unreachable code from relevance_snippet
Adam Dickmeiss [Wed, 13 Nov 2013 10:14:30 +0000 (11:14 +0100)]
Remove unreachable code from relevance_snippet

10 years agoClean up test scripts
Adam Dickmeiss [Tue, 12 Nov 2013 15:42:40 +0000 (16:42 +0100)]
Clean up test scripts

yaz-ztest daemon handling and ICU check is now handled in
run_pazpar2.sh.

10 years agoDoc: minor reformatting changes
Adam Dickmeiss [Tue, 12 Nov 2013 12:39:49 +0000 (13:39 +0100)]
Doc: minor reformatting changes

10 years agoCluster record example dkabm.xsl
Adam Dickmeiss [Tue, 12 Nov 2013 12:37:08 +0000 (13:37 +0100)]
Cluster record example dkabm.xsl

Used by etc/settings/bibliotek.dk.xml .

10 years agocluster record ingestion complete PAZ-900
Adam Dickmeiss [Tue, 12 Nov 2013 12:36:45 +0000 (13:36 +0100)]
cluster record ingestion complete PAZ-900

10 years agovoid function cannot return value
Adam Dickmeiss [Tue, 12 Nov 2013 11:02:43 +0000 (12:02 +0100)]
void function cannot return value

10 years agoFirst work on PAZ-900
Adam Dickmeiss [Mon, 11 Nov 2013 14:18:05 +0000 (15:18 +0100)]
First work on PAZ-900

10 years agoVersion 1.6.36 v1.6.36
Adam Dickmeiss [Mon, 11 Nov 2013 12:59:41 +0000 (13:59 +0100)]
Version 1.6.36

10 years agoBetter error message for CCL parse errors PAZ-887
Adam Dickmeiss [Mon, 11 Nov 2013 12:55:37 +0000 (13:55 +0100)]
Better error message for CCL parse errors PAZ-887

10 years agoAdd test_sru.cfg to dist (fixes make distcheck)
Adam Dickmeiss [Mon, 11 Nov 2013 11:55:18 +0000 (12:55 +0100)]
Add test_sru.cfg to dist (fixes make distcheck)

10 years agotest_sru_3: wait before show
Adam Dickmeiss [Sun, 10 Nov 2013 08:50:15 +0000 (09:50 +0100)]
test_sru_3: wait before show

11 years agoRemove unmaintained tests
Adam Dickmeiss [Fri, 8 Nov 2013 18:29:40 +0000 (19:29 +0100)]
Remove unmaintained tests

11 years agotest_sru tests against local yaz-test
Adam Dickmeiss [Fri, 8 Nov 2013 18:26:25 +0000 (19:26 +0100)]
test_sru tests against local yaz-test

11 years agoFix check for auth slash split PAZ-899
Adam Dickmeiss [Fri, 8 Nov 2013 18:07:34 +0000 (19:07 +0100)]
Fix check for auth slash split PAZ-899

11 years agoPackage with libyaz5 PAZ-897
Adam Dickmeiss [Wed, 6 Nov 2013 14:15:48 +0000 (15:15 +0100)]
Package with libyaz5 PAZ-897

11 years agoUpgrade to debhelper version 7 PAZ-898
Adam Dickmeiss [Wed, 6 Nov 2013 13:37:56 +0000 (14:37 +0100)]
Upgrade to debhelper version 7 PAZ-898

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 14 Oct 2013 13:12:39 +0000 (15:12 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoFix description of charset for pz:nativesyntax
Adam Dickmeiss [Mon, 14 Oct 2013 13:11:07 +0000 (15:11 +0200)]
Fix description of charset for pz:nativesyntax

Thanks for Hans Erik Büscher for reporting this.

11 years agotest_facets require YAZ 4.2.68
Adam Dickmeiss [Tue, 1 Oct 2013 16:26:59 +0000 (18:26 +0200)]
test_facets require YAZ 4.2.68

The subtle reason is that YAZ 4.2.68 recognizes facets in both
additionalSearchInfo and otherInfo of a searchRequest.

11 years agoRemove unused third-party JSON implementation
Jason Skomorowski [Tue, 24 Sep 2013 12:52:13 +0000 (08:52 -0400)]
Remove unused third-party JSON implementation

11 years agopz2.js briefly tracked elsewhere; add support for CORS and server-side sessions
Jason Skomorowski [Tue, 24 Sep 2013 12:47:42 +0000 (08:47 -0400)]
pz2.js briefly tracked elsewhere; add support for CORS and server-side sessions

11 years agoAdd VERSION to parpar2-js dist
Jason Skomorowski [Tue, 24 Sep 2013 12:29:55 +0000 (08:29 -0400)]
Add VERSION to parpar2-js dist

11 years agoVersion 1.6.35 v1.6.35
Adam Dickmeiss [Mon, 23 Sep 2013 09:31:07 +0000 (11:31 +0200)]
Version 1.6.35

11 years agoSupport pz:authentication_mode.
Adam Dickmeiss [Mon, 23 Sep 2013 09:27:39 +0000 (11:27 +0200)]
Support pz:authentication_mode.

11 years agoRequire YAZ 4.2.68
Adam Dickmeiss [Mon, 23 Sep 2013 08:38:15 +0000 (10:38 +0200)]
Require YAZ 4.2.68

11 years agoMake js-dist rule
Adam Dickmeiss [Thu, 19 Sep 2013 13:59:59 +0000 (15:59 +0200)]
Make js-dist rule

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Sun, 8 Sep 2013 06:49:39 +0000 (08:49 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoDisabling Solr tests
Adam Dickmeiss [Sun, 8 Sep 2013 06:49:25 +0000 (08:49 +0200)]
Disabling Solr tests

11 years agoTweak test_post.sh which fails on slow net
Adam Dickmeiss [Sun, 8 Sep 2013 06:41:10 +0000 (08:41 +0200)]
Tweak test_post.sh which fails on slow net

11 years agorpm: pazpar2 daemon runs as nobody PAZ-893
Adam Dickmeiss [Fri, 6 Sep 2013 09:02:26 +0000 (11:02 +0200)]
rpm: pazpar2 daemon runs as nobody PAZ-893

11 years agoBump to 2indexdata for Deb version
Adam Dickmeiss [Mon, 2 Sep 2013 11:39:31 +0000 (13:39 +0200)]
Bump to 2indexdata for Deb version

11 years agoRemove call to connection_connect
Adam Dickmeiss [Mon, 2 Sep 2013 11:34:28 +0000 (13:34 +0200)]
Remove call to connection_connect

It seems redundant (we make two calls in case of resolving
delay).

11 years agoRephrase logs about start-search
Adam Dickmeiss [Mon, 2 Sep 2013 10:47:54 +0000 (12:47 +0200)]
Rephrase logs about start-search

11 years agoRemove msg: session_start_search done
Adam Dickmeiss [Mon, 2 Sep 2013 10:41:44 +0000 (12:41 +0200)]
Remove msg: session_start_search done

11 years agoStrip #-suffix for ZOOM URLs PAZ-892
Adam Dickmeiss [Mon, 2 Sep 2013 10:39:51 +0000 (12:39 +0200)]
Strip #-suffix for ZOOM URLs PAZ-892

11 years agoVersion 1.6.34 v1.6.34
Adam Dickmeiss [Fri, 30 Aug 2013 11:45:48 +0000 (13:45 +0200)]
Version 1.6.34

11 years agoUpdate NEWS
Adam Dickmeiss [Fri, 30 Aug 2013 11:45:02 +0000 (13:45 +0200)]
Update NEWS

11 years agoFix problem show/bytarget hangs for filtered search PAZ-889
Adam Dickmeiss [Fri, 30 Aug 2013 11:35:56 +0000 (13:35 +0200)]
Fix problem show/bytarget hangs for filtered search PAZ-889

11 years agoAdd support for 'date' type
Dennis Schafroth [Fri, 23 Aug 2013 08:30:33 +0000 (10:30 +0200)]
Add support for 'date' type

11 years agoVersion 1.6.33 v1.6.33
Adam Dickmeiss [Tue, 13 Aug 2013 12:43:42 +0000 (14:43 +0200)]
Version 1.6.33

11 years agoProper nextrecid for this test
Adam Dickmeiss [Tue, 13 Aug 2013 12:36:47 +0000 (14:36 +0200)]
Proper nextrecid for this test

11 years agoEnsure sorted reclists even if now show is performed
Adam Dickmeiss [Tue, 13 Aug 2013 12:35:43 +0000 (14:35 +0200)]
Ensure sorted reclists even if now show is performed

This is part of PAZ-884

11 years agoAdd test for {prev,next}recid
Adam Dickmeiss [Tue, 13 Aug 2013 12:09:11 +0000 (14:09 +0200)]
Add test for {prev,next}recid

11 years agoFix {prev,next}recid PAZ-884
Adam Dickmeiss [Tue, 13 Aug 2013 12:07:18 +0000 (14:07 +0200)]
Fix {prev,next}recid PAZ-884

These were incorrect in versions 1.6.23 thru 1.6.32.

11 years agopz:authentication may carry user group password PAZ-885
Adam Dickmeiss [Tue, 13 Aug 2013 09:07:28 +0000 (11:07 +0200)]
pz:authentication may carry user group password PAZ-885

If pz:authentication has at least one blank in it, that forces
Pazpar2 to use idPass Z39.50 authentication. Two forms are allowed
 user password
 user group password
If no blanks are present, open authentication is in use.

11 years agoRemove unused variable
Adam Dickmeiss [Mon, 12 Aug 2013 10:54:21 +0000 (12:54 +0200)]
Remove unused variable

11 years agoRevert "Remove unused variable"
Adam Dickmeiss [Mon, 12 Aug 2013 10:53:47 +0000 (12:53 +0200)]
Revert "Remove unused variable"

This reverts commit 6a6070281460bf841290c92315bd2ce1b358d89c.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 12 Aug 2013 10:48:19 +0000 (12:48 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoAssigns 'other' io literal to all unhandled media types
Niels Erik G. Nielsen [Thu, 18 Jul 2013 18:27:45 +0000 (14:27 -0400)]
Assigns 'other' io literal to all unhandled media types

To avoid multiple 'Miscellaneous Media' in UI facet

11 years agoUse yaz_strcmp_null, requite YAZ 4.2.63
Adam Dickmeiss [Wed, 17 Jul 2013 12:41:09 +0000 (14:41 +0200)]
Use yaz_strcmp_null, requite YAZ 4.2.63

11 years agoMake a few internal funcs static
Adam Dickmeiss [Wed, 17 Jul 2013 11:10:46 +0000 (13:10 +0200)]
Make a few internal funcs static

11 years agoMove struct datbase def to settings.h from session.h
Adam Dickmeiss [Wed, 17 Jul 2013 11:09:05 +0000 (13:09 +0200)]
Move struct datbase def to settings.h from session.h

11 years agoRemove unused variable
Adam Dickmeiss [Wed, 17 Jul 2013 10:53:53 +0000 (12:53 +0200)]
Remove unused variable