yaz-moved-to-github.git
14 years agoVersion 4.1.1 v4.1.1
Adam Dickmeiss [Tue, 5 Oct 2010 13:01:19 +0000 (15:01 +0200)]
Version 4.1.1

For 4.1.0: utility yaz-config did not reports flags and libraries
correctly.

14 years agoFix yaz-config (echo_source not set)
Adam Dickmeiss [Tue, 5 Oct 2010 13:00:20 +0000 (15:00 +0200)]
Fix yaz-config (echo_source not set)

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz v4.1.0
Adam Dickmeiss [Tue, 5 Oct 2010 09:58:27 +0000 (11:58 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoFix obj filename
Adam Dickmeiss [Tue, 5 Oct 2010 09:58:09 +0000 (11:58 +0200)]
Fix obj filename

14 years agoVersion 4.1.0
Adam Dickmeiss [Tue, 5 Oct 2010 08:13:48 +0000 (10:13 +0200)]
Version 4.1.0

14 years agozoomsh: display piggyback recs again
Adam Dickmeiss [Thu, 23 Sep 2010 12:53:22 +0000 (14:53 +0200)]
zoomsh: display piggyback recs again

Was removed by accident in previous commit.

14 years agoGFS: no-keepalive option, mostly for testing
Adam Dickmeiss [Thu, 23 Sep 2010 12:37:07 +0000 (14:37 +0200)]
GFS: no-keepalive option, mostly for testing

The no-keepalive option is enabled for GFS by supplying option -K.

14 years agoAvoid lost events (bug #3694)
Adam Dickmeiss [Thu, 23 Sep 2010 12:28:52 +0000 (14:28 +0200)]
Avoid lost events (bug #3694)

The ZOOM_connection_insert_task function no longer calls clear_error.
This ensures that events are not lost when a server don't do keepalive.

14 years agozoomsh: print events if in async mode
Adam Dickmeiss [Thu, 23 Sep 2010 12:27:54 +0000 (14:27 +0200)]
zoomsh: print events if in async mode

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 23 Sep 2010 12:27:10 +0000 (14:27 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agozoomtst3: print event name
Adam Dickmeiss [Thu, 23 Sep 2010 08:49:07 +0000 (10:49 +0200)]
zoomtst3: print event name

14 years agoUsing YAZ_OPTIONS_-defines
Adam Dickmeiss [Thu, 23 Sep 2010 08:48:44 +0000 (10:48 +0200)]
Using YAZ_OPTIONS_-defines

14 years agoNot using GNU threads anymore
Adam Dickmeiss [Thu, 23 Sep 2010 08:48:11 +0000 (10:48 +0200)]
Not using GNU threads anymore

14 years agoAdded debug logging to verify ZOOM_EVENT_RECV_SEARCH
Dennis Schafroth [Wed, 22 Sep 2010 14:15:26 +0000 (16:15 +0200)]
Added debug logging to verify ZOOM_EVENT_RECV_SEARCH

14 years agoCosmetic
Dennis Schafroth [Wed, 22 Sep 2010 14:13:27 +0000 (16:13 +0200)]
Cosmetic

14 years agoAdd SOLR material for ZOOM and yaz-client
Adam Dickmeiss [Wed, 15 Sep 2010 12:30:09 +0000 (14:30 +0200)]
Add SOLR material for ZOOM and yaz-client

14 years agoUpdate doc/common
Adam Dickmeiss [Wed, 15 Sep 2010 12:17:49 +0000 (14:17 +0200)]
Update doc/common

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 15 Sep 2010 08:56:52 +0000 (10:56 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoSimplify yaz-config a bit
Adam Dickmeiss [Wed, 15 Sep 2010 08:56:34 +0000 (10:56 +0200)]
Simplify yaz-config a bit

src_root, build_root values can be taken from automake value.

14 years agoAdd record syntax JSON / private Index Data OID
Adam Dickmeiss [Mon, 13 Sep 2010 18:13:13 +0000 (20:13 +0200)]
Add record syntax JSON / private Index Data OID

14 years agoAdd facet.mincount=1 to avoid "ghost" facets
Dennis Schafroth [Thu, 9 Sep 2010 15:36:09 +0000 (17:36 +0200)]
Add facet.mincount=1 to avoid "ghost" facets

14 years agoWork-around for bogus SOLR facets when zero hits
Dennis Schafroth [Thu, 9 Sep 2010 14:15:10 +0000 (16:15 +0200)]
Work-around for bogus SOLR facets when zero hits

14 years agoyaz-client: add nl for cs_put error
Adam Dickmeiss [Thu, 9 Sep 2010 12:54:46 +0000 (14:54 +0200)]
yaz-client: add nl for cs_put error

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 9 Sep 2010 09:35:01 +0000 (11:35 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoInitialize facetList
Adam Dickmeiss [Thu, 9 Sep 2010 09:34:48 +0000 (11:34 +0200)]
Initialize facetList

14 years agoFix yaz URL
Adam Dickmeiss [Wed, 8 Sep 2010 18:29:12 +0000 (20:29 +0200)]
Fix yaz URL

14 years agoRPM: call ldconfig for libyaz4, not yaz
Adam Dickmeiss [Wed, 8 Sep 2010 18:23:34 +0000 (20:23 +0200)]
RPM: call ldconfig for libyaz4, not yaz

14 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Wed, 8 Sep 2010 08:22:22 +0000 (10:22 +0200)]
Avoid mixed stmt/var declare

14 years agoMerge branch 'solr_facets' of ssh://git.indexdata.com/home/git/pub/yaz into solr_facets
Dennis Schafroth [Wed, 1 Sep 2010 12:20:39 +0000 (14:20 +0200)]
Merge branch 'solr_facets' of ssh://git.indexdata.com/home/git/pub/yaz into solr_facets

14 years agoUse postfix "_exact" fields for SOLR facet requests.
Dennis Schafroth [Wed, 1 Sep 2010 12:19:46 +0000 (14:19 +0200)]
Use postfix "_exact" fields for SOLR facet requests.

14 years agoMerge branch 'master' into solr_facets
Dennis Schafroth [Tue, 31 Aug 2010 11:14:42 +0000 (13:14 +0200)]
Merge branch 'master' into solr_facets

14 years agoFix: No default of 10 terms. Dont send terms unless limit is set.
Dennis Schafroth [Tue, 31 Aug 2010 10:42:04 +0000 (12:42 +0200)]
Fix: No default of 10 terms. Dont send terms unless limit is set.

14 years agoExtract handlie_facet_list to function. Used for SOLR as well
Dennis Schafroth [Mon, 30 Aug 2010 13:46:22 +0000 (15:46 +0200)]
Extract handlie_facet_list to function. Used for SOLR as well

14 years agoSupport for facets for SRW targets (SOLR only)
Dennis Schafroth [Mon, 30 Aug 2010 13:41:59 +0000 (15:41 +0200)]
Support for facets for SRW targets (SOLR only)

Using method handle_facet_list in zoom-z3950

14 years agoFix: Initialize facets to empty
Dennis Schafroth [Mon, 30 Aug 2010 13:37:08 +0000 (15:37 +0200)]
Fix: Initialize facets to empty

14 years agoFix: allocating string on odr memory
Dennis Schafroth [Mon, 30 Aug 2010 13:36:23 +0000 (15:36 +0200)]
Fix: allocating string on odr memory

14 years agoFinal bits to get facets from SOLR targets decoded
Dennis Schafroth [Fri, 27 Aug 2010 11:28:39 +0000 (13:28 +0200)]
Final bits to get facets from SOLR targets decoded

14 years agoShow facets if present in search response
Dennis Schafroth [Fri, 27 Aug 2010 11:27:30 +0000 (13:27 +0200)]
Show facets if present in search response

14 years agoImplement SOLR xml int reader (for term + freq)
Dennis Schafroth [Thu, 26 Aug 2010 14:49:30 +0000 (16:49 +0200)]
Implement SOLR xml int reader (for term + freq)

14 years agoCheck for presense of numFound.
Dennis Schafroth [Thu, 26 Aug 2010 14:31:43 +0000 (16:31 +0200)]
Check for presense of numFound.

14 years agomaximumRecords back to 0. Facets: warn on SRU/W of missing support.
Dennis Schafroth [Thu, 26 Aug 2010 14:30:29 +0000 (16:30 +0200)]
maximumRecords back to 0. Facets: warn on SRU/W of missing support.

14 years agoMerge branch 'solr_facets' of ssh://git.indexdata.com/home/git/pub/yaz into solr_facets
Dennis Schafroth [Thu, 26 Aug 2010 13:31:35 +0000 (15:31 +0200)]
Merge branch 'solr_facets' of ssh://git.indexdata.com/home/git/pub/yaz into solr_facets

14 years agoSetting maximum records to 20 (testing)
Dennis Schafroth [Thu, 26 Aug 2010 13:31:31 +0000 (15:31 +0200)]
Setting maximum records to 20 (testing)

14 years agoadd new test function: is_SRW
Dennis Schafroth [Thu, 26 Aug 2010 13:24:53 +0000 (15:24 +0200)]
add new test function: is_SRW

14 years agore-impl. status check
Dennis Schafroth [Thu, 26 Aug 2010 13:23:59 +0000 (15:23 +0200)]
re-impl. status check

14 years agoFix: facet_list -> facetList in SRW request/response
Dennis Schafroth [Thu, 26 Aug 2010 11:53:14 +0000 (13:53 +0200)]
Fix: facet_list -> facetList in SRW request/response

14 years agoImplement encoding of Z_FacetList into SOLR request
Dennis Schafroth [Thu, 26 Aug 2010 10:10:45 +0000 (12:10 +0200)]
Implement encoding of Z_FacetList into SOLR request

14 years agoAdd FacetList to SRW request/response. Change in public API.
Dennis Schafroth [Thu, 26 Aug 2010 10:08:56 +0000 (12:08 +0200)]
Add FacetList to SRW request/response. Change in public API.

14 years agoSet facets on SRW request. Only implemented for SOLR.
Dennis Schafroth [Thu, 26 Aug 2010 10:07:57 +0000 (12:07 +0200)]
Set facets on SRW request. Only implemented for SOLR.

14 years agoDecode SOLR Facet response into Z_FacetList
Dennis Schafroth [Wed, 25 Aug 2010 14:47:50 +0000 (16:47 +0200)]
Decode SOLR Facet response into Z_FacetList

14 years agoAdd facet list for request and response
Dennis Schafroth [Wed, 25 Aug 2010 14:46:55 +0000 (16:46 +0200)]
Add facet list for request and response

14 years agoRemove the extensive logging
Dennis Schafroth [Tue, 24 Aug 2010 15:52:44 +0000 (17:52 +0200)]
Remove the extensive logging

14 years agoRemove the extensive logging
Dennis Schafroth [Tue, 24 Aug 2010 15:51:55 +0000 (17:51 +0200)]
Remove the extensive logging

14 years agoFix: Work-around since zoom-sru handle_srw_response does not work with zero-based...
Dennis Schafroth [Tue, 24 Aug 2010 15:37:35 +0000 (17:37 +0200)]
Fix: Work-around since zoom-sru handle_srw_response does not work with zero-based records

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Thu, 19 Aug 2010 08:25:18 +0000 (10:25 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoMerge single change from local solr_client branch
Dennis Schafroth [Thu, 19 Aug 2010 08:14:01 +0000 (10:14 +0200)]
Merge single change from local solr_client branch

14 years agoVersion 4.0.13 in progress
Adam Dickmeiss [Thu, 19 Aug 2010 08:10:45 +0000 (10:10 +0200)]
Version 4.0.13 in progress

14 years agoMerge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client
Adam Dickmeiss [Tue, 17 Aug 2010 11:17:12 +0000 (13:17 +0200)]
Merge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client

14 years agoMerge branch 'master' into solr_client
Adam Dickmeiss [Tue, 17 Aug 2010 11:16:54 +0000 (13:16 +0200)]
Merge branch 'master' into solr_client

14 years agoVersion 4.0.12 v4.0.12 v4.0.12-2
Adam Dickmeiss [Tue, 17 Aug 2010 10:41:50 +0000 (12:41 +0200)]
Version 4.0.12

14 years agoMerge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client
Dennis Schafroth [Mon, 16 Aug 2010 09:01:09 +0000 (11:01 +0200)]
Merge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client

Conflicts:
test/Makefile.am

14 years agoeclipse update
Dennis Schafroth [Mon, 16 Aug 2010 08:58:00 +0000 (10:58 +0200)]
eclipse update

14 years agoAdd query with sort
Dennis Schafroth [Mon, 16 Aug 2010 08:57:05 +0000 (10:57 +0200)]
Add query with sort

14 years agoAdded test_rpm2solr.c
Dennis Schafroth [Mon, 16 Aug 2010 08:54:39 +0000 (10:54 +0200)]
Added test_rpm2solr.c

14 years agoSOLR: Map SRU recordSchema to "fl"
Adam Dickmeiss [Fri, 13 Aug 2010 12:33:50 +0000 (14:33 +0200)]
SOLR: Map SRU recordSchema to "fl"

14 years agoRename yaz_solr_encode -> yaz_solr_encode_request
Adam Dickmeiss [Thu, 12 Aug 2010 13:27:24 +0000 (15:27 +0200)]
Rename yaz_solr_encode -> yaz_solr_encode_request

14 years agoRename SOLR HTTP response function
Adam Dickmeiss [Thu, 12 Aug 2010 13:22:16 +0000 (15:22 +0200)]
Rename SOLR HTTP response function

From yaz_solr_decode to yaz_solr_decode_response; it only deals
with HTTP response decoding.

14 years agoAdd test test_rpn2solr
Adam Dickmeiss [Thu, 12 Aug 2010 11:49:59 +0000 (13:49 +0200)]
Add test test_rpn2solr

14 years agoDisable tests that do not yet work
Adam Dickmeiss [Thu, 12 Aug 2010 11:49:57 +0000 (13:49 +0200)]
Disable tests that do not yet work

14 years agoMake some internal functions static
Adam Dickmeiss [Thu, 12 Aug 2010 11:38:06 +0000 (13:38 +0200)]
Make some internal functions static

These functions were defined non-static by mistake (they were
never defined in a header): emit_term, emit_terms, emit-wordlist.

14 years agoAdd new SOLR headers to header list
Adam Dickmeiss [Thu, 12 Aug 2010 11:20:33 +0000 (13:20 +0200)]
Add new SOLR headers to header list

14 years agoMerge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client
Adam Dickmeiss [Thu, 12 Aug 2010 11:15:36 +0000 (13:15 +0200)]
Merge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client

14 years agoAdd SOLR (rpn2solr) support.
Dennis Schafroth [Thu, 12 Aug 2010 11:15:12 +0000 (13:15 +0200)]
Add SOLR (rpn2solr) support.

14 years agoMerge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client
Adam Dickmeiss [Thu, 12 Aug 2010 11:13:30 +0000 (13:13 +0200)]
Merge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client

14 years agoSOLR support for ZOOM and yaz-client
Adam Dickmeiss [Thu, 12 Aug 2010 11:08:34 +0000 (13:08 +0200)]
SOLR support for ZOOM and yaz-client

The SOLR requests and responses (search only) are encoded in the
same structures as SRW/SRU, because they are semantically so equal.
It also means minimal change to existing software. However, at this
time decoding of a SOLR search response must be instructed by the client.
Had the SOLR Webservice used a namespace we might have a cleaner
model. For ZOOM, option "sru" may be set to "solr" in which case
ZOOM will contact a SOLR server with the URL with suffix "/select".
So far the following SRU parameters are mapped: query, startRecord,
maximumRecords.

14 years agoMerge branch 'master' into solr_client
Adam Dickmeiss [Thu, 12 Aug 2010 08:20:33 +0000 (10:20 +0200)]
Merge branch 'master' into solr_client

14 years agoFix compilation for without libxml2
Adam Dickmeiss [Thu, 12 Aug 2010 08:20:19 +0000 (10:20 +0200)]
Fix compilation for without libxml2

14 years agoRefactor ZOOM event, hide more definitions
Adam Dickmeiss [Thu, 12 Aug 2010 07:59:29 +0000 (09:59 +0200)]
Refactor ZOOM event, hide more definitions

14 years agoMerge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client
Dennis Schafroth [Wed, 11 Aug 2010 14:37:06 +0000 (16:37 +0200)]
Merge branch 'solr_client' of ssh://git.indexdata.com/home/git/pub/yaz into solr_client

14 years agoTest cases for RPN to SOLR conversion
Dennis Schafroth [Wed, 11 Aug 2010 14:36:56 +0000 (16:36 +0200)]
Test cases for RPN to SOLR conversion

14 years agoAdd SOLR (rpn2solr) support
Dennis Schafroth [Wed, 11 Aug 2010 14:33:30 +0000 (16:33 +0200)]
Add SOLR (rpn2solr) support

Not 100% working, only basic stuff.
TODO: also clean out stuff not needed (based on the CQF files)

14 years agoAdd new SOLR files for parsing from rpn2solr. (based on the rpn2cpf)
Dennis Schafroth [Wed, 11 Aug 2010 14:22:30 +0000 (16:22 +0200)]
Add new SOLR files for parsing from rpn2solr. (based on the rpn2cpf)

Not working 100%. Only very basic parsing.
TODO: clean out unused code.

14 years agoRefactor ZOOM SRU stuff to separate source
Adam Dickmeiss [Wed, 11 Aug 2010 13:59:03 +0000 (15:59 +0200)]
Refactor ZOOM SRU stuff to separate source

14 years agoFix filename in Doxygen comment
Adam Dickmeiss [Wed, 11 Aug 2010 12:26:13 +0000 (14:26 +0200)]
Fix filename in Doxygen comment

14 years agoRefactor record render to separate source
Adam Dickmeiss [Wed, 11 Aug 2010 12:24:15 +0000 (14:24 +0200)]
Refactor record render to separate source

14 years agoRefactor record cache to separate source
Adam Dickmeiss [Wed, 11 Aug 2010 12:03:18 +0000 (14:03 +0200)]
Refactor record cache to separate source

14 years agoRefactor ZOOM_query to separate source
Adam Dickmeiss [Wed, 11 Aug 2010 11:39:37 +0000 (13:39 +0200)]
Refactor ZOOM_query to separate source

14 years agoRefactor ZOOM Z39.50 functions to zoom-z3950.c
Adam Dickmeiss [Wed, 11 Aug 2010 11:09:37 +0000 (13:09 +0200)]
Refactor ZOOM Z39.50 functions to zoom-z3950.c

14 years agoRename some functions to indicate Z39.50 handling
Adam Dickmeiss [Wed, 11 Aug 2010 08:02:15 +0000 (10:02 +0200)]
Rename some functions to indicate Z39.50 handling

14 years agoMerge branch 'master' into solr_client
Adam Dickmeiss [Wed, 11 Aug 2010 07:27:40 +0000 (09:27 +0200)]
Merge branch 'master' into solr_client

14 years agoAvoid buffer[length] construct in yaz-ztest
Adam Dickmeiss [Tue, 10 Aug 2010 13:46:38 +0000 (15:46 +0200)]
Avoid buffer[length] construct in yaz-ztest

14 years agoUpdate Windows makefile for facets
Adam Dickmeiss [Tue, 10 Aug 2010 13:44:27 +0000 (15:44 +0200)]
Update Windows makefile for facets

14 years agoFix leak in parse_facet + compilation on Windows
Adam Dickmeiss [Tue, 10 Aug 2010 13:41:16 +0000 (15:41 +0200)]
Fix leak in parse_facet + compilation on Windows

yaz_pqf_destroy not called. Constructs such as buffer[length] not
supported on Visual Studio 2008.

14 years agoRevert recursive mutex patch
Adam Dickmeiss [Tue, 10 Aug 2010 10:29:21 +0000 (12:29 +0200)]
Revert recursive mutex patch

We don't need recursive mutexes. Interestingly, PTHREAD_MUTEX_NORMAL
and PTHREAD_MUTEX_RECURSIVE from man page pthread_mutexattr_settype
are not defined in header pthread.h by default on my Ubuntu Linux
(possibly others). Some defines may do trigger a definition of it, but
what impact do they have then on other pthread-implementations?
It crashed on FreeBSD - it could be fixed by using PTHREAD_MUTEX_NORMAL
(rather than 0) for pthread_settype (normal mutex).

14 years agoDaemon: make core files work if setuid is in use
Adam Dickmeiss [Mon, 9 Aug 2010 12:29:09 +0000 (14:29 +0200)]
Daemon: make core files work if setuid is in use

14 years agoGFS is using yaz_daemon
Adam Dickmeiss [Mon, 9 Aug 2010 10:12:27 +0000 (12:12 +0200)]
GFS is using yaz_daemon

14 years agoFix wrapper function for creating standard mutex. Fix destruction of Mutex attribute.
Dennis Schafroth [Sat, 7 Aug 2010 10:00:22 +0000 (12:00 +0200)]
Fix wrapper function for creating standard mutex. Fix destruction of Mutex attribute.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Sat, 7 Aug 2010 09:53:31 +0000 (11:53 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoAdd new mutex create where mutex attribute can be set
Dennis Schafroth [Sat, 7 Aug 2010 09:53:07 +0000 (11:53 +0200)]
Add new mutex create where mutex attribute can be set

14 years agoyaz-client: seacrh and show for SOLR
Adam Dickmeiss [Thu, 5 Aug 2010 12:27:32 +0000 (14:27 +0200)]
yaz-client: seacrh and show for SOLR