pazpar2-moved-to-github.git
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 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 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

12 years agoUpdate sort results with indented records
Adam Dickmeiss [Fri, 21 Sep 2012 13:16:40 +0000 (15:16 +0200)]
Update sort results with indented records

12 years agoUpdate NEWS
Dennis Schafroth [Fri, 21 Sep 2012 13:11:11 +0000 (15:11 +0200)]
Update NEWS

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2: Document changes
Dennis Schafroth [Fri, 21 Sep 2012 13:05:49 +0000 (15:05 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2: Document changes

12 years agoUpdate NEWS
Adam Dickmeiss [Fri, 21 Sep 2012 13:03:26 +0000 (15:03 +0200)]
Update NEWS

12 years agorelevance_info printed only if <rank debug="yes"> in service
Adam Dickmeiss [Fri, 21 Sep 2012 13:00:04 +0000 (15:00 +0200)]
relevance_info printed only if <rank debug="yes"> in service

12 years agoIndent record info a little for show/record responses
Adam Dickmeiss [Fri, 21 Sep 2012 12:10:11 +0000 (14:10 +0200)]
Indent record info a little for show/record responses

12 years agoPAZPAR2_OVERRIDE_TEST=true makes test override .res-files
Adam Dickmeiss [Fri, 21 Sep 2012 11:48:07 +0000 (13:48 +0200)]
PAZPAR2_OVERRIDE_TEST=true makes test override .res-files

12 years agoReturn info about relevance score
Adam Dickmeiss [Fri, 21 Sep 2012 11:45:10 +0000 (13:45 +0200)]
Return info about relevance score

A new element, <relevance_info> follows the <relevance> as part
of the show response.

12 years agoAdd test_sort to test suite
Dennis Schafroth [Thu, 20 Sep 2012 13:53:51 +0000 (15:53 +0200)]
Add test_sort to test suite

12 years agoDocument the sort parameter to search. Identical to same parameter to sort
Dennis Schafroth [Thu, 20 Sep 2012 13:53:08 +0000 (15:53 +0200)]
Document the sort parameter to search. Identical to same parameter to sort

12 years agosort-default configuration
Dennis Schafroth [Thu, 20 Sep 2012 13:51:32 +0000 (15:51 +0200)]
sort-default configuration

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 20 Sep 2012 10:56:30 +0000 (12:56 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoIgnore Eclipse settings
Dennis Schafroth [Thu, 20 Sep 2012 10:55:58 +0000 (12:55 +0200)]
Ignore Eclipse settings

12 years agoIgnore some test results
Dennis Schafroth [Thu, 20 Sep 2012 10:55:24 +0000 (12:55 +0200)]
Ignore some test results

12 years agoSolr 3.x test data
Dennis Schafroth [Thu, 20 Sep 2012 10:54:47 +0000 (12:54 +0200)]
Solr 3.x test data

12 years agoConfigure target facetmaps
Dennis Schafroth [Wed, 19 Sep 2012 14:27:13 +0000 (16:27 +0200)]
Configure target facetmaps

12 years agoUpdate result. All test sorts by position:1, due to config change
Dennis Schafroth [Wed, 19 Sep 2012 14:26:40 +0000 (16:26 +0200)]
Update result. All test sorts by position:1, due to config change

12 years agoNew configuration: sort-default to override the default sort (relevance)
Dennis Schafroth [Wed, 19 Sep 2012 14:24:44 +0000 (16:24 +0200)]
New configuration: sort-default to override the default sort (relevance)

12 years agoChange debug logging to match other similar about sort
Dennis Schafroth [Wed, 19 Sep 2012 14:22:50 +0000 (16:22 +0200)]
Change debug logging to match other similar about sort

12 years agoImplement sort-default lookup in search too
Dennis Schafroth [Wed, 19 Sep 2012 14:22:08 +0000 (16:22 +0200)]
Implement sort-default lookup in search too

12 years agoChange session_search to get all sort parameters, so it can configure the correct...
Dennis Schafroth [Wed, 19 Sep 2012 13:59:45 +0000 (15:59 +0200)]
Change session_search to get all sort parameters, so it can configure the correct sort at search time.
This will make session_sort skip the re-search. Added debugging of the sort parameters in session_clear_set

12 years agoConfiguration of default sort order. Default to previous hardcoded "relevance"
Dennis Schafroth [Wed, 19 Sep 2012 13:56:55 +0000 (15:56 +0200)]
Configuration of default sort order. Default to previous hardcoded "relevance"

12 years agoAdd sort parameter to search command. Enabling configuration of default sort order...
Dennis Schafroth [Wed, 19 Sep 2012 13:56:23 +0000 (15:56 +0200)]
Add sort parameter to search command. Enabling configuration of default sort order instead of hard coded "relevance"

12 years agoComment out unused variable.
Dennis Schafroth [Wed, 19 Sep 2012 13:55:13 +0000 (15:55 +0200)]
Comment out unused variable.

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 19 Sep 2012 13:42:48 +0000 (15:42 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoReformat: delete trailing whitespace
Adam Dickmeiss [Wed, 19 Sep 2012 13:37:35 +0000 (15:37 +0200)]
Reformat: delete trailing whitespace

12 years agoDelete
Dennis Schafroth [Tue, 18 Sep 2012 15:50:00 +0000 (17:50 +0200)]
Delete

12 years agoWrongly aded. Deleting
Dennis Schafroth [Tue, 18 Sep 2012 15:49:43 +0000 (17:49 +0200)]
Wrongly aded. Deleting

12 years agoDelete
Dennis Schafroth [Tue, 18 Sep 2012 15:49:10 +0000 (17:49 +0200)]
Delete

12 years agoadd and delete
Dennis Schafroth [Tue, 18 Sep 2012 15:48:51 +0000 (17:48 +0200)]
add and delete

12 years agoSupport for float(like score) and int (not used yet)
Dennis Schafroth [Tue, 18 Sep 2012 15:45:26 +0000 (17:45 +0200)]
Support for float(like score) and int (not used yet)

12 years agoNew test case for sorting
Dennis Schafroth [Tue, 18 Sep 2012 15:44:51 +0000 (17:44 +0200)]
New test case for sorting

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 18 Sep 2012 14:00:33 +0000 (16:00 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoAdd match of score
Dennis Schafroth [Tue, 18 Sep 2012 13:59:47 +0000 (15:59 +0200)]
Add match of score

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 18 Sep 2012 13:08:22 +0000 (15:08 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoVersion 1.6.19 v1.6.19
Adam Dickmeiss [Tue, 18 Sep 2012 12:58:57 +0000 (14:58 +0200)]
Version 1.6.19

12 years agoRemove trailing whitespace
Adam Dickmeiss [Tue, 18 Sep 2012 12:54:07 +0000 (14:54 +0200)]
Remove trailing whitespace

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 18 Sep 2012 12:43:08 +0000 (14:43 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoForce hit count on yaz-ztest searches.
Dennis Schafroth [Tue, 18 Sep 2012 12:42:27 +0000 (14:42 +0200)]
Force hit count on yaz-ztest searches.

12 years agolimitmap: don't use CCL limitmap for relevancy ranking
Adam Dickmeiss [Tue, 18 Sep 2012 12:40:16 +0000 (14:40 +0200)]
limitmap: don't use CCL limitmap for relevancy ranking

Only the CCL from query is in use for relevancy ranking now.

12 years agorelevance: avoid false hits for whitespace tokens
Adam Dickmeiss [Tue, 18 Sep 2012 12:32:29 +0000 (14:32 +0200)]
relevance: avoid false hits for whitespace tokens

For example, & could be turned into an empty string. And that
would occur nowhere else, giving a high inverse document frequency!

12 years agoActually obey option -w dir
Adam Dickmeiss [Mon, 17 Sep 2012 12:45:03 +0000 (14:45 +0200)]
Actually obey option -w dir

Never worked in any Pazpar2 release. Thanks to Sven Porst for
spotting that one.

12 years agotest_tmarc.sh less verbose
Adam Dickmeiss [Mon, 17 Sep 2012 12:44:53 +0000 (14:44 +0200)]
test_tmarc.sh less verbose

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 17 Sep 2012 11:40:49 +0000 (13:40 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoVersion 1.6.18 v1.6.18
Adam Dickmeiss [Mon, 17 Sep 2012 11:07:58 +0000 (13:07 +0200)]
Version 1.6.18

12 years agoTweak rank/relevance algorithm
Adam Dickmeiss [Mon, 17 Sep 2012 10:54:28 +0000 (12:54 +0200)]
Tweak rank/relevance algorithm

Rank algorithm configurable by 'rank' element inside service. So far
only, attribute 'cluster' is recognized. If cluster="yes", multiple
records inside a cluster boosts higher than single records. This
is default behavior and existing behavior. cluster="no" takes the
average score of each record in a cluster.

12 years agoSource specific date transformations
Niels Erik G. Nielsen [Fri, 7 Sep 2012 16:02:40 +0000 (18:02 +0200)]
Source specific date transformations

12 years agoRephase description of sort order
Adam Dickmeiss [Fri, 7 Sep 2012 11:03:02 +0000 (13:03 +0200)]
Rephase description of sort order

12 years agoVersion 1.6.17 v1.6.17
Adam Dickmeiss [Wed, 5 Sep 2012 09:18:16 +0000 (11:18 +0200)]
Version 1.6.17

12 years agoAvoid host reuse if proxy changes
Adam Dickmeiss [Tue, 4 Sep 2012 11:19:26 +0000 (13:19 +0200)]
Avoid host reuse if proxy changes

12 years agoVersion 1.6.16 v1.6.16
Dennis Schafroth [Thu, 23 Aug 2012 14:21:38 +0000 (16:21 +0200)]
Version 1.6.16

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 23 Aug 2012 13:22:27 +0000 (15:22 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoVersion 1.6.6 (for real)
Dennis Schafroth [Thu, 23 Aug 2012 13:21:31 +0000 (15:21 +0200)]
Version 1.6.6 (for real)

12 years agoFix issue that would disable the re-search when doing position sorting
Dennis Schafroth [Thu, 23 Aug 2012 12:52:50 +0000 (14:52 +0200)]
Fix issue that would disable the re-search when doing position sorting

12 years agoChange logging
Dennis Schafroth [Thu, 23 Aug 2012 12:47:25 +0000 (14:47 +0200)]
Change logging

12 years agoResults for tests with date ranges
Dennis Schafroth [Wed, 22 Aug 2012 15:17:14 +0000 (17:17 +0200)]
Results for tests with date ranges

12 years agoResults for tests with date ranges
Dennis Schafroth [Wed, 22 Aug 2012 15:16:32 +0000 (17:16 +0200)]
Results for tests with date ranges

12 years agoOnly reseting on position, when not done before. Otherwise it would reset on every...
Dennis Schafroth [Wed, 22 Aug 2012 14:32:15 +0000 (16:32 +0200)]
Only reseting on position, when not done before. Otherwise it would reset on every pull by the client

12 years agoAdd position to sorted_results
Dennis Schafroth [Wed, 22 Aug 2012 12:20:20 +0000 (14:20 +0200)]
Add position to sorted_results

12 years agoCosmetic: remove eclipse warning
Dennis Schafroth [Wed, 22 Aug 2012 12:19:48 +0000 (14:19 +0200)]
Cosmetic: remove eclipse warning

12 years agoAdd position type to sorted_results
Dennis Schafroth [Wed, 22 Aug 2012 12:19:19 +0000 (14:19 +0200)]
Add position type to sorted_results

12 years agoVersion 1.6.16
Dennis Schafroth [Wed, 22 Aug 2012 09:26:58 +0000 (11:26 +0200)]
Version 1.6.16

12 years agoComment on clear set. Think the parameter should be removed, since we cannot decide...
Dennis Schafroth [Wed, 22 Aug 2012 09:26:22 +0000 (11:26 +0200)]
Comment on clear set. Think the parameter should be removed, since we cannot decide this from outside the session

12 years agoDisable the clear set on position sorting. Every poll will do this
Dennis Schafroth [Wed, 22 Aug 2012 09:25:22 +0000 (11:25 +0200)]
Disable the clear set on position sorting. Every poll will do this

12 years agoExtra check on suggestion string and punctuation in debug to see end
Dennis Schafroth [Tue, 21 Aug 2012 14:41:56 +0000 (16:41 +0200)]
Extra check on suggestion string and punctuation in debug to see end

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 21 Aug 2012 13:24:57 +0000 (15:24 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

12 years agoUpdate m4
Adam Dickmeiss [Tue, 21 Aug 2012 12:42:30 +0000 (14:42 +0200)]
Update m4

12 years agoAvoid empty content in tmarc.xsl output
Adam Dickmeiss [Mon, 20 Aug 2012 09:25:01 +0000 (11:25 +0200)]
Avoid empty content in tmarc.xsl output

12 years agoAdd regression test of etc/tmarc.xsl
Adam Dickmeiss [Mon, 20 Aug 2012 08:46:40 +0000 (10:46 +0200)]
Add regression test of etc/tmarc.xsl

Using 9 tmarc records from YAZ' etc directory as input.

12 years agoFull termlist saved (as before) and also sorted.
Adam Dickmeiss [Wed, 15 Aug 2012 10:59:05 +0000 (12:59 +0200)]
Full termlist saved (as before) and also sorted.

No max of termlist(s) any more. The memory usage is the same
(in fact less - over time), but we have a full quick sort instead
of a smaller quick sort, But NO insertion sort for each term (which
is probably similar to extra quick sort). This makes termlists
stable.

12 years agoRemove unused get_termlist_score
Adam Dickmeiss [Wed, 15 Aug 2012 10:33:19 +0000 (12:33 +0200)]
Remove unused get_termlist_score

Not in use anywhere.

12 years agoIncrease TERMLIST_HIGH_SCORE, update test results
Adam Dickmeiss [Wed, 15 Aug 2012 09:28:07 +0000 (11:28 +0200)]
Increase TERMLIST_HIGH_SCORE, update test results

12 years agoUse m4/id-config.sh
Adam Dickmeiss [Tue, 7 Aug 2012 11:38:45 +0000 (13:38 +0200)]
Use m4/id-config.sh

12 years agoRevert "New results from Solr"
Adam Dickmeiss [Mon, 6 Aug 2012 09:23:42 +0000 (11:23 +0200)]
Revert "New results from Solr"

This reverts commit f36dbaa840c90af23205fd5cd5862616913b7d4a.

Seems like results are "back" again.

12 years agoNew results from Solr
Adam Dickmeiss [Mon, 6 Aug 2012 08:41:41 +0000 (10:41 +0200)]
New results from Solr

12 years agoSolr test: increase wait from 3 to 5 seconds
Adam Dickmeiss [Mon, 6 Aug 2012 08:17:47 +0000 (10:17 +0200)]
Solr test: increase wait from 3 to 5 seconds

If, not, Solr tests 13, 14 and 15 sometimes fail.

12 years agoIncrease pause
Dennis Schafroth [Thu, 12 Jul 2012 14:38:13 +0000 (16:38 +0200)]
Increase pause