Adam Dickmeiss [Thu, 24 Apr 2014 09:01:31 +0000 (11:01 +0200)]
normalize_record: missing else
Adam Dickmeiss [Thu, 24 Apr 2014 09:01:10 +0000 (11:01 +0200)]
normalize_record: simple rename
Adam Dickmeiss [Wed, 23 Apr 2014 11:53:15 +0000 (13:53 +0200)]
Version 1.6.41
Adam Dickmeiss [Wed, 23 Apr 2014 09:51:38 +0000 (11:51 +0200)]
Fix URL with leading http:// not working PAZ-933
Adam Dickmeiss [Wed, 23 Apr 2014 09:18:32 +0000 (11:18 +0200)]
Adam Dickmeiss [Tue, 22 Apr 2014 15:25:15 +0000 (17:25 +0200)]
Build packages for Ubuntu Trusty Tahr 14.04 LTS
Jakub Skoczen [Mon, 14 Apr 2014 20:07:36 +0000 (22:07 +0200)]
Handle medium override AND md field
Adam Dickmeiss [Thu, 10 Apr 2014 13:28:51 +0000 (15:28 +0200)]
Version 1.6.40
Adam Dickmeiss [Thu, 10 Apr 2014 13:28:02 +0000 (15:28 +0200)]
Upd NEWS
Adam Dickmeiss [Thu, 10 Apr 2014 13:20:17 +0000 (15:20 +0200)]
sortmap relevance always uses increasing=1 PAZ-930
Adam Dickmeiss [Mon, 7 Apr 2014 18:12:00 +0000 (20:12 +0200)]
Ensure medium is also applied if Solr record do not have it PAZ-929
John Malconian [Tue, 11 Mar 2014 14:29:04 +0000 (14:29 +0000)]
add template match 'medium' to cf stylesheet
Adam Dickmeiss [Fri, 7 Mar 2014 12:23:48 +0000 (13:23 +0100)]
Allow deprecated ICU definitions again
Partially reverts
77682ed3596450ab7b3caff707999d2f7977d614.
Adam Dickmeiss [Mon, 3 Mar 2014 15:05:16 +0000 (16:05 +0100)]
Do not use deprecated ICU definitions
Adam Dickmeiss [Mon, 3 Mar 2014 13:51:53 +0000 (14:51 +0100)]
Fix leak in getaddrinfo usage for HTTP listener
Not a big deal because this code is only executed once.
Adam Dickmeiss [Fri, 28 Feb 2014 09:28:21 +0000 (10:28 +0100)]
Yet another wait in test_filter#3
Adam Dickmeiss [Tue, 25 Feb 2014 13:14:00 +0000 (14:14 +0100)]
Remove support for deprecated ICU definitions
Elements <relevance>, <sort>, <mergekey>, <facet> should be replaced
with <icu_chain id="relevance">.. etc. Fixes also PAZ-923
Mike Taylor [Thu, 20 Feb 2014 15:41:16 +0000 (10:41 -0500)]
Fix typos is sortmap documentation
Adam Dickmeiss [Wed, 19 Feb 2014 13:33:20 +0000 (14:33 +0100)]
Doc: fix misplaced variablelist tag.
Adam Dickmeiss [Wed, 19 Feb 2014 12:43:23 +0000 (13:43 +0100)]
Version 1.6.39
Adam Dickmeiss [Wed, 19 Feb 2014 12:43:13 +0000 (13:43 +0100)]
Fix YAZ version for memcached support
Adam Dickmeiss [Wed, 19 Feb 2014 12:41:38 +0000 (13:41 +0100)]
Doc: update information about ID packages for Pazpar2
Adam Dickmeiss [Wed, 19 Feb 2014 12:21:06 +0000 (13:21 +0100)]
Doc: update WRT ICU which is configured for YAZ; not Pazpar2
It's been like that since version 1.1.1 from August 2009.
Adam Dickmeiss [Wed, 19 Feb 2014 12:06:14 +0000 (13:06 +0100)]
Document pz:memcached target setting
Adam Dickmeiss [Wed, 19 Feb 2014 11:57:52 +0000 (12:57 +0100)]
Doc: target settings in alphabetical order
Adam Dickmeiss [Sun, 9 Feb 2014 08:52:00 +0000 (09:52 +0100)]
test: 1st test waits util Pazpar2 is ready PAZ-921
A sleep of 2 seconds is removed by this. In most cases, running tests will
be faster.
Adam Dickmeiss [Mon, 3 Feb 2014 14:03:34 +0000 (15:03 +0100)]
Make test_url.sh test for two-level metadata structure
Adam Dickmeiss [Mon, 3 Feb 2014 13:49:38 +0000 (14:49 +0100)]
Rename service_add_metadata to count_metadata
Adam Dickmeiss [Mon, 3 Feb 2014 13:42:57 +0000 (14:42 +0100)]
Remove XML_PARSE_NOBLANKS from xmlReadFile
With XML_PARSE_NOBLANKS test_url_19 fails.
Adam Dickmeiss [Mon, 3 Feb 2014 13:42:46 +0000 (14:42 +0100)]
Avoid mixed stmt/var declare
Sven-S. Porst [Mon, 1 Oct 2012 16:13:40 +0000 (18:13 +0200)]
add support for a <metadata> container tag
so one can have a setup like
<metadata>
<metadata name="language" brief="yes" merge="unique" termlist="yes"/>
<metadata name="id" brief="yes"/>
<metadata name="lccn" merge="unique"/>
</metadata>
The underlying desire is to be able to include the complete metadata setup with XInclude.
This requires us to have a single container with all elements.
This patch adjust the metadata element counting and evaluation to interpret both metadata tags on their own and containers with metadata tags in them.
Attributes of a metadata container tag are ignored.
Sven-S. Porst [Mon, 1 Oct 2012 16:10:44 +0000 (18:10 +0200)]
add support for XInclude in the main configuration file
Adam Dickmeiss [Wed, 29 Jan 2014 06:34:02 +0000 (07:34 +0100)]
Insert wait for 30, 36 of test_limit_limitmap PAZ-918
Adam Dickmeiss [Tue, 28 Jan 2014 14:44:07 +0000 (15:44 +0100)]
Add client_{lock,unlock} before call to non_block_events
in connection_continue. Problem is that if non_block_events
fire records, then we will not unlock client at all. And as
a result a dead-lock occurs.
Adam Dickmeiss [Tue, 28 Jan 2014 13:53:35 +0000 (14:53 +0100)]
YLOG_DEBUG msg
Adam Dickmeiss [Tue, 28 Jan 2014 13:52:44 +0000 (14:52 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 28 Jan 2014 13:52:06 +0000 (14:52 +0100)]
Add pz:memcached option
Not really in stable YAZ yet, but it does not harm to have it now.
Mike Taylor [Fri, 24 Jan 2014 11:32:33 +0000 (11:32 +0000)]
Pass context.windowid (in most situations) instead of this.windowid
JavaScript `this', from Hell's heart I stab at thee!
Mike Taylor [Fri, 24 Jan 2014 10:42:31 +0000 (10:42 +0000)]
All invocations of callbacks supplied by client code now pass
this.windowid.
Mike Taylor [Fri, 24 Jan 2014 10:19:36 +0000 (10:19 +0000)]
Constructor accepts optional "windowid" parameter, and uses this as
the windowid of all operations. Defaults to window.name if not
specified, mimicking old behaviour.
Heikki Levanto [Mon, 20 Jan 2014 13:14:36 +0000 (14:14 +0100)]
Add relevance-todo-heikki.txt for restarting later
Adam Dickmeiss [Tue, 7 Jan 2014 12:59:40 +0000 (13:59 +0100)]
Version 1.6.38
Adam Dickmeiss [Tue, 7 Jan 2014 12:59:28 +0000 (13:59 +0100)]
Add Debian jessie, Ubuntu saucy, raring
Adam Dickmeiss [Tue, 7 Jan 2014 12:55:30 +0000 (13:55 +0100)]
Upd NEWS
Adam Dickmeiss [Tue, 7 Jan 2014 12:47:46 +0000 (13:47 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 7 Jan 2014 12:46:39 +0000 (13:46 +0100)]
Add test for trailing chars PAZ-915
Adam Dickmeiss [Tue, 7 Jan 2014 12:46:01 +0000 (13:46 +0100)]
Avoid removal of trailing chars if metadata looks like URL PAZ-915
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
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.
Heikki Levanto [Thu, 19 Dec 2013 14:04:33 +0000 (15:04 +0100)]
Towards cluster ranking, minor changes
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...
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
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.
Heikki Levanto [Wed, 18 Dec 2013 13:17:53 +0000 (14:17 +0100)]
normalizing finally seems to converge
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
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
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.
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.
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
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.
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.
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.
Adam Dickmeiss [Mon, 16 Dec 2013 21:07:24 +0000 (22:07 +0100)]
Cluster test
Adam Dickmeiss [Mon, 16 Dec 2013 09:54:55 +0000 (10:54 +0100)]
Remove a few YLOG_LOG stmts
Adam Dickmeiss [Fri, 13 Dec 2013 13:11:01 +0000 (14:11 +0100)]
Handle metadata_type in a few more places
Adam Dickmeiss [Fri, 13 Dec 2013 13:08:35 +0000 (14:08 +0100)]
Reformat a bit
Adam Dickmeiss [Fri, 13 Dec 2013 12:57:52 +0000 (13:57 +0100)]
New metadata type, float, for metadata score PAZ-908
Mike Taylor [Mon, 9 Dec 2013 22:12:55 +0000 (22:12 +0000)]
Typo.
]
Adam Dickmeiss [Mon, 9 Dec 2013 12:17:42 +0000 (13:17 +0100)]
pz2.js: Allow overidding cookie do
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
Adam Dickmeiss [Wed, 4 Dec 2013 14:41:17 +0000 (15:41 +0100)]
Fix warning: ‘struct relevance’ declared inside parameter list
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
Adam Dickmeiss [Tue, 3 Dec 2013 12:05:23 +0000 (13:05 +0100)]
Fixes for record cluster merge, PAZ-901
Adam Dickmeiss [Tue, 3 Dec 2013 08:55:36 +0000 (09:55 +0100)]
Remove unused code section
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.
Adam Dickmeiss [Fri, 29 Nov 2013 13:21:53 +0000 (14:21 +0100)]
Work on cluster merging; part of PAZ-901
Adam Dickmeiss [Thu, 28 Nov 2013 14:11:43 +0000 (15:11 +0100)]
Fix setting recid (tests pass again)
Adam Dickmeiss [Wed, 27 Nov 2013 12:11:36 +0000 (13:11 +0100)]
Start work on multiple mergekeys - tests do not pass
Adam Dickmeiss [Wed, 27 Nov 2013 09:49:45 +0000 (10:49 +0100)]
Client state to "working" when waiting for resolver PAZ-907
Adam Dickmeiss [Thu, 21 Nov 2013 10:40:44 +0000 (11:40 +0100)]
Doc: relevance section refer to config description
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.
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.
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
Adam Dickmeiss [Mon, 18 Nov 2013 09:40:48 +0000 (10:40 +0100)]
Version 1.6.37
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.
Adam Dickmeiss [Wed, 13 Nov 2013 12:59:46 +0000 (13:59 +0100)]
Preserve order of records within cluster PAZ-902
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
Adam Dickmeiss [Wed, 13 Nov 2013 12:50:13 +0000 (13:50 +0100)]
testing: add missing sh test
Adam Dickmeiss [Wed, 13 Nov 2013 12:37:30 +0000 (13:37 +0100)]
Update WIN makefile for YAZ 5.
Adam Dickmeiss [Wed, 13 Nov 2013 12:29:35 +0000 (13:29 +0100)]
testing: use yaz-ztest -V if possible
Adam Dickmeiss [Wed, 13 Nov 2013 12:05:48 +0000 (13:05 +0100)]
testing: use yaz-ztest in sibling directory
Adam Dickmeiss [Wed, 13 Nov 2013 11:49:43 +0000 (12:49 +0100)]
testing: display test name in all msgs
Adam Dickmeiss [Wed, 13 Nov 2013 11:40:00 +0000 (12:40 +0100)]
testing: suppress diff warning + minor refactor
Adam Dickmeiss [Wed, 13 Nov 2013 10:30:30 +0000 (11:30 +0100)]
Testing fixes: handle without icu/ztest cases better
Adam Dickmeiss [Wed, 13 Nov 2013 10:14:30 +0000 (11:14 +0100)]
Remove unreachable code from relevance_snippet
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.
Adam Dickmeiss [Tue, 12 Nov 2013 12:39:49 +0000 (13:39 +0100)]
Doc: minor reformatting changes
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 .
Adam Dickmeiss [Tue, 12 Nov 2013 12:36:45 +0000 (13:36 +0100)]
cluster record ingestion complete PAZ-900
Adam Dickmeiss [Tue, 12 Nov 2013 11:02:43 +0000 (12:02 +0100)]
void function cannot return value