pazpar2-moved-to-github.git
11 years ago1.6.22-2indexdata
Adam Dickmeiss [Tue, 11 Dec 2012 11:57:30 +0000 (12:57 +0100)]
1.6.22-2indexdata

11 years agoCall bytarget in test script
Adam Dickmeiss [Tue, 11 Dec 2012 11:53:19 +0000 (12:53 +0100)]
Call bytarget in test script

11 years agoProduce diagnostic when database times out
Adam Dickmeiss [Tue, 11 Dec 2012 11:51:11 +0000 (12:51 +0100)]
Produce diagnostic when database times out

Some targets may be quite slow during search or record retrieval.
This commit ensure that "timeout" ZOOM diagnostic 10007 is produced
for those.

11 years agoRemove 2nd pz:apdulog from testserver
Adam Dickmeiss [Tue, 11 Dec 2012 10:05:01 +0000 (11:05 +0100)]
Remove 2nd pz:apdulog from testserver

11 years agolimitmap local:* matches against all metadata fields
Adam Dickmeiss [Fri, 7 Dec 2012 12:55:39 +0000 (13:55 +0100)]
limitmap local:* matches against all metadata fields

11 years agoSplit check_limit_local to two functions
Adam Dickmeiss [Fri, 7 Dec 2012 12:34:33 +0000 (13:34 +0100)]
Split check_limit_local to two functions

11 years agoAllow repeated list in limitmap spec
Adam Dickmeiss [Thu, 6 Dec 2012 16:06:50 +0000 (17:06 +0100)]
Allow repeated list in limitmap spec

Separated by comma. For example: value="local:title,rpn:@attr 1=4".

11 years agoNew element <message> in bytarget response
Adam Dickmeiss [Wed, 5 Dec 2012 11:59:05 +0000 (12:59 +0100)]
New element <message> in bytarget response

Holds diagnostic message of code (say 'Unsupported Use Attribute' for
Bib-1 114).

11 years agoWait longer for slow Solr
Adam Dickmeiss [Fri, 30 Nov 2012 13:55:38 +0000 (14:55 +0100)]
Wait longer for slow Solr

11 years agoImproved logging for record ingestion failures
Adam Dickmeiss [Fri, 30 Nov 2012 13:35:00 +0000 (14:35 +0100)]
Improved logging for record ingestion failures

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 15 Nov 2012 12:50:14 +0000 (13:50 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

11 years agoAvoid using 'icu_chain' in non-YAZ_HAVE_ICU mode
Adam Dickmeiss [Thu, 15 Nov 2012 12:47:18 +0000 (13:47 +0100)]
Avoid using 'icu_chain' in non-YAZ_HAVE_ICU mode

Not that it happens often.

12 years agoLower loglevel
Dennis Schafroth [Fri, 2 Nov 2012 18:59:28 +0000 (19:59 +0100)]
Lower loglevel

12 years agoEnable the yaz-ztest in the test
Dennis Schafroth [Mon, 5 Nov 2012 14:28:53 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test

12 years agoEnable the yaz-ztest in the test
Dennis Schafroth [Mon, 5 Nov 2012 14:28:49 +0000 (15:28 +0100)]
Enable the yaz-ztest in the test

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 29 Oct 2012 11:26:04 +0000 (12:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agotest_filter: use fast ztest, adjust 1st query
Adam Dickmeiss [Fri, 26 Oct 2012 19:04:55 +0000 (21:04 +0200)]
test_filter: use fast ztest, adjust 1st query

12 years agoDefine log2(x) on Windows
Adam Dickmeiss [Mon, 22 Oct 2012 08:37:38 +0000 (10:37 +0200)]
Define log2(x) on Windows

This is because log2 is not defined by math.h on Windows.

12 years agoInclude windows.h on Windows
Adam Dickmeiss [Mon, 22 Oct 2012 08:36:38 +0000 (10:36 +0200)]
Include windows.h on Windows

This is to ensure that struct timeval is defined.

12 years agoUse dpkg-buildflags in build process
Adam Dickmeiss [Fri, 19 Oct 2012 13:14:24 +0000 (15:14 +0200)]
Use dpkg-buildflags in build process

This is to use hardening options for the libraries and programs.
Refer to http://wiki.debian.org/Hardening for more information.

12 years agoFix spelling
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:50 +0000 (15:09 +0200)]
Fix spelling

12 years agoRemove boilerplate stuff from copyright
Adam Dickmeiss [Fri, 19 Oct 2012 13:09:03 +0000 (15:09 +0200)]
Remove boilerplate stuff from copyright

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 11 Oct 2012 09:13:57 +0000 (11:13 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoLower logging to debug. Should be put into a config logging module
Dennis Schafroth [Thu, 11 Oct 2012 09:13:48 +0000 (11:13 +0200)]
Lower logging to debug. Should be put into a config logging module

12 years agoVersion 1.6.22 v1.6.22
Adam Dickmeiss [Thu, 11 Oct 2012 07:56:13 +0000 (09:56 +0200)]
Version 1.6.22

12 years agoMention 1.6.22 as release where ranking stuff was changed.
Adam Dickmeiss [Thu, 11 Oct 2012 07:55:04 +0000 (09:55 +0200)]
Mention 1.6.22 as release where ranking stuff was changed.

12 years agoAvoid session memory for client sort stuff
Adam Dickmeiss [Wed, 10 Oct 2012 19:21:33 +0000 (21:21 +0200)]
Avoid session memory for client sort stuff

The session mem gets reset and results in sort_strategy and sort_critiera
being corrupted - to empty strings or even vialation.

12 years agoUpdate
Dennis Schafroth [Wed, 10 Oct 2012 13:52:33 +0000 (15:52 +0200)]
Update

12 years agoMerge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834
Dennis Schafroth [Wed, 10 Oct 2012 12:57:26 +0000 (14:57 +0200)]
Merge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834

12 years agoMerge with master. Kept new solr test results
Dennis Schafroth [Wed, 10 Oct 2012 12:57:11 +0000 (14:57 +0200)]
Merge with master. Kept new solr test results

12 years agoResult from paz-834 branch
Dennis Schafroth [Wed, 10 Oct 2012 11:21:31 +0000 (13:21 +0200)]
Result from paz-834 branch

12 years agoNew results for new test. Two sessions towards one target (connection sharing).
Dennis Schafroth [Wed, 10 Oct 2012 11:19:19 +0000 (13:19 +0200)]
New results for new test. Two sessions towards one target (connection sharing).

12 years agoNew tests: Two sessions towards same target. Crash on show in 1.6.21 in test 14
Dennis Schafroth [Wed, 10 Oct 2012 11:17:44 +0000 (13:17 +0200)]
New tests: Two sessions towards same target. Crash on show in 1.6.21 in test 14

12 years agoTest result now sorted correctly
Dennis Schafroth [Wed, 10 Oct 2012 10:58:16 +0000 (12:58 +0200)]
Test result now sorted correctly

12 years agoNew test result: Now actually sort as requested
Dennis Schafroth [Wed, 10 Oct 2012 10:47:28 +0000 (12:47 +0200)]
New test result: Now actually sort as requested

12 years agoUse CURRENT sort parameters to check with previous
Dennis Schafroth [Wed, 10 Oct 2012 10:44:21 +0000 (12:44 +0200)]
Use CURRENT sort parameters to check with previous

12 years agoDo not reingest/search if no client requires research
Dennis Schafroth [Wed, 10 Oct 2012 10:17:25 +0000 (12:17 +0200)]
Do not reingest/search if no client requires research

12 years agoNew result due to change in behavior
Dennis Schafroth [Wed, 10 Oct 2012 09:25:31 +0000 (11:25 +0200)]
New result due to change in behavior

12 years agoNew result due to change in behavior
Dennis Schafroth [Wed, 10 Oct 2012 09:25:27 +0000 (11:25 +0200)]
New result due to change in behavior

12 years agoMerge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834
Dennis Schafroth [Wed, 10 Oct 2012 09:03:23 +0000 (11:03 +0200)]
Merge branch 'paz-834' of ssh://git.indexdata.com/home/git/pub/pazpar2 into paz-834

12 years agoReturn 1 on research. 0 on no research
Dennis Schafroth [Wed, 10 Oct 2012 08:59:54 +0000 (10:59 +0200)]
Return 1 on research. 0 on no research

12 years agoRequire YAZ 4.2.40 or later.
Adam Dickmeiss [Tue, 9 Oct 2012 12:38:28 +0000 (14:38 +0200)]
Require YAZ 4.2.40 or later.

12 years agoCompletes. But still wrong tests
Dennis Schafroth [Tue, 9 Oct 2012 13:00:05 +0000 (15:00 +0200)]
Completes. But still wrong tests

12 years agoRequire YAZ 4.2.40 or later.
Adam Dickmeiss [Tue, 9 Oct 2012 12:38:28 +0000 (14:38 +0200)]
Require YAZ 4.2.40 or later.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 8 Oct 2012 21:41:42 +0000 (23:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoReverted e671bfc150dd0a556f3eca344526b5eb7696ee1a: OS X builds differently
Dennis Schafroth [Mon, 8 Oct 2012 21:29:00 +0000 (23:29 +0200)]
Reverted e671bfc150dd0a556f3eca344526b5eb7696ee1a: OS X builds differently

12 years agoRevert e671bfc150dd0a556f3eca344526b5eb7696ee1a
Dennis Schafroth [Mon, 8 Oct 2012 21:26:05 +0000 (23:26 +0200)]
Revert e671bfc150dd0a556f3eca344526b5eb7696ee1a

12 years agoremove new result if same
Dennis Schafroth [Mon, 8 Oct 2012 20:32:58 +0000 (22:32 +0200)]
remove new result if same

12 years agoUpdate test
Dennis Schafroth [Mon, 8 Oct 2012 20:32:11 +0000 (22:32 +0200)]
Update test

12 years agoFix: set research flag on new query/limit. More logging.
Dennis Schafroth [Mon, 8 Oct 2012 20:17:58 +0000 (22:17 +0200)]
Fix: set research flag on new query/limit. More logging.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 8 Oct 2012 18:27:15 +0000 (20:27 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoTypo
Dennis Schafroth [Mon, 8 Oct 2012 18:26:54 +0000 (20:26 +0200)]
Typo

12 years agoAdd limits (PQF) to log
Dennis Schafroth [Mon, 8 Oct 2012 14:28:04 +0000 (16:28 +0200)]
Add limits (PQF) to log

12 years agoFix comment. Fix sort fields
Dennis Schafroth [Mon, 8 Oct 2012 13:24:11 +0000 (15:24 +0200)]
Fix comment. Fix sort fields

12 years agorefactor the search/show to command to use common code path
Dennis Schafroth [Mon, 8 Oct 2012 13:23:29 +0000 (15:23 +0200)]
refactor the search/show to command to use common code path

12 years agoRewrote the search parsing and moved the ZOOM option sortby2 configuration to later
Dennis Schafroth [Mon, 8 Oct 2012 13:22:34 +0000 (15:22 +0200)]
Rewrote the search parsing and moved the ZOOM option sortby2 configuration to later

12 years agoHeaders for new methods
Dennis Schafroth [Mon, 8 Oct 2012 13:21:33 +0000 (15:21 +0200)]
Headers for new methods

12 years agoRefactor code out to stand-alone functions. This is to support one code path
Dennis Schafroth [Mon, 8 Oct 2012 09:04:31 +0000 (11:04 +0200)]
Refactor code out to stand-alone functions. This is to support one code path
for both search and show command.

12 years agoRefactor interfaces to handle the differences between search and show command
Dennis Schafroth [Mon, 8 Oct 2012 09:03:30 +0000 (11:03 +0200)]
Refactor interfaces to handle the differences between search and show command
to obtain one code path for these.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:55 +0000 (14:57 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoSeparate chapter about ranking
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:34 +0000 (14:57 +0200)]
Separate chapter about ranking

12 years agoFix spelling
Adam Dickmeiss [Fri, 5 Oct 2012 12:57:27 +0000 (14:57 +0200)]
Fix spelling

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Fri, 5 Oct 2012 01:41:56 +0000 (03:41 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoAdd settings file
Dennis Schafroth [Fri, 5 Oct 2012 01:41:47 +0000 (03:41 +0200)]
Add settings file

12 years agoFix to re-do search on sort order change
Dennis Schafroth [Thu, 4 Oct 2012 21:21:56 +0000 (23:21 +0200)]
Fix to re-do search on sort order change

12 years agoRequire YAZ 4.2.40
Dennis Schafroth [Thu, 4 Oct 2012 21:21:06 +0000 (23:21 +0200)]
Require YAZ 4.2.40

12 years agoMerge with master
Dennis Schafroth [Thu, 4 Oct 2012 17:36:43 +0000 (19:36 +0200)]
Merge with master

12 years agoAllow Z39.50 masking on date and author
Dennis Schafroth [Thu, 4 Oct 2012 17:31:31 +0000 (19:31 +0200)]
Allow Z39.50 masking on date and author

12 years agoFix missing init
Dennis Schafroth [Thu, 4 Oct 2012 17:28:35 +0000 (19:28 +0200)]
Fix missing init

12 years agoFix compare
Dennis Schafroth [Thu, 4 Oct 2012 17:27:55 +0000 (19:27 +0200)]
Fix compare

12 years agoChange tests
Dennis Schafroth [Thu, 4 Oct 2012 17:26:00 +0000 (19:26 +0200)]
Change tests

12 years agoChange tests to ensure date/author values when sorting
Dennis Schafroth [Thu, 4 Oct 2012 17:25:26 +0000 (19:25 +0200)]
Change tests to ensure date/author values when sorting

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 4 Oct 2012 15:48:07 +0000 (17:48 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoDiffer when built on mac?
Dennis Schafroth [Thu, 4 Oct 2012 11:43:27 +0000 (13:43 +0200)]
Differ when built on mac?

12 years agoremove empty line
Dennis Schafroth [Thu, 4 Oct 2012 11:38:00 +0000 (13:38 +0200)]
remove empty line

12 years agoConfigure sortmaps to solr target
Dennis Schafroth [Wed, 3 Oct 2012 21:22:04 +0000 (23:22 +0200)]
Configure sortmaps to solr target

12 years agoNew test for native solr sorting
Dennis Schafroth [Wed, 3 Oct 2012 21:21:11 +0000 (23:21 +0200)]
New test for native solr sorting

12 years agoAdd sortkey attribute to author metafield
Dennis Schafroth [Wed, 3 Oct 2012 21:20:46 +0000 (23:20 +0200)]
Add sortkey attribute to author metafield

12 years agoNew test for native sorting in Solr
Dennis Schafroth [Wed, 3 Oct 2012 21:19:09 +0000 (23:19 +0200)]
New test for native sorting in Solr

12 years agoAdd logic to detect sort order changes and trigger new searching if required. Using...
Dennis Schafroth [Wed, 3 Oct 2012 14:31:43 +0000 (16:31 +0200)]
Add logic to detect sort order changes and trigger new searching if required. Using reclist_sortparms in functions

12 years agoReplace session_sorted_results structure with reclist_sortparms. After saving type...
Dennis Schafroth [Wed, 3 Oct 2012 14:29:57 +0000 (16:29 +0200)]
Replace session_sorted_results structure with reclist_sortparms. After saving type instead of (is)position, it became the same

12 years agoFunction to compare reclist_sortparm structure
Dennis Schafroth [Wed, 3 Oct 2012 14:27:08 +0000 (16:27 +0200)]
Function to compare reclist_sortparm structure

12 years agoUsing reclist_sortparm structure to pass sort parameters
Dennis Schafroth [Wed, 3 Oct 2012 14:26:22 +0000 (16:26 +0200)]
Using reclist_sortparm structure to pass sort parameters

12 years agoNew method to detect re-search required. Cosmetic: Rename q to query. in client_start...
Dennis Schafroth [Wed, 3 Oct 2012 14:25:48 +0000 (16:25 +0200)]
New method to detect re-search required. Cosmetic: Rename q to query. in client_start_search

12 years agoMethod to detect if re-search is required due to sort order: 1 on yes. 0 on no
Dennis Schafroth [Wed, 3 Oct 2012 14:24:28 +0000 (16:24 +0200)]
Method to detect if re-search is required due to sort order: 1 on yes. 0 on no

12 years agoCosmetic
Dennis Schafroth [Wed, 3 Oct 2012 11:39:37 +0000 (13:39 +0200)]
Cosmetic

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 2 Oct 2012 10:48:14 +0000 (12:48 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoAdd sort parameter to search
Dennis Schafroth [Tue, 2 Oct 2012 10:47:55 +0000 (12:47 +0200)]
Add sort parameter to search

12 years agoRequire YAZ 4.2.39
Adam Dickmeiss [Fri, 28 Sep 2012 12:10:46 +0000 (14:10 +0200)]
Require YAZ 4.2.39

due to new function ccl_qual_fitem2.

12 years agoFix bug introduced by previous commit
Adam Dickmeiss [Thu, 27 Sep 2012 13:45:07 +0000 (15:45 +0200)]
Fix bug introduced by previous commit

Improved check for client_parse_query return value.

12 years agoMake an internal diagnostic for bad CCL map
Adam Dickmeiss [Thu, 27 Sep 2012 13:19:23 +0000 (15:19 +0200)]
Make an internal diagnostic for bad CCL map

They'll show up via bytarget as diagnostic id =
ZOOM_ERROR_CCL_CONFIG = 10013 and additional info as returned
by new YAZ function ccl_qual_fitem2.

12 years agoFix spelling in doc
Adam Dickmeiss [Thu, 27 Sep 2012 13:13:06 +0000 (15:13 +0200)]
Fix spelling in doc

12 years agoChange rank debug display
Adam Dickmeiss [Tue, 25 Sep 2012 11:15:43 +0000 (13:15 +0200)]
Change rank debug display

Rename a few variables and print leading contents of field that we
match against.

12 years agoFollow rank algorithm altered
Adam Dickmeiss [Tue, 25 Sep 2012 10:03:36 +0000 (12:03 +0200)]
Follow rank algorithm altered

mult += mult * follow / (1 + log2(d))
where d is the distance. follow is a float (factor).

12 years agoVersion 1.6.21 v1.6.21
Adam Dickmeiss [Mon, 24 Sep 2012 17:48:38 +0000 (19:48 +0200)]
Version 1.6.21

12 years agoUpdate test results due to changed rank debug output
Adam Dickmeiss [Mon, 24 Sep 2012 17:45:21 +0000 (19:45 +0200)]
Update test results due to changed rank debug output

12 years agoChange semantics of rank lead.
Adam Dickmeiss [Mon, 24 Sep 2012 17:28:54 +0000 (19:28 +0200)]
Change semantics of rank lead.

12 years agoNew rank tweaks: follow, lead, length
Adam Dickmeiss [Mon, 24 Sep 2012 10:48:11 +0000 (12:48 +0200)]
New rank tweaks: follow, lead, length

Rank tweak: follow=number will increase mult by number if two terms
occur next to each other; number-1 if they are one term apart , .. 0
if they are number a part (all in order). Default is 0 (following
terms has no effect).

Rank tweak: lead=number will increase mult by number if term is first
term in field, number-1 if second, ... 0 if term is at offset
number of more. Default value is 0 (position irrelevant).

Rank tweak: length=strategy. length="linear" if mult is to be divided
by length (existing, default behavior), length="log" if mult is to be
divided by log2(1+length), length="none" if mult is not to be affected
by length.

12 years agoSolaris crashes on %s with NULL ptr
Adam Dickmeiss [Sat, 22 Sep 2012 16:53:51 +0000 (18:53 +0200)]
Solaris crashes on %s with NULL ptr

12 years agoVersion 1.6.20 v1.6.20
Adam Dickmeiss [Fri, 21 Sep 2012 13:19:53 +0000 (15:19 +0200)]
Version 1.6.20