projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completes. But still wrong tests
[pazpar2-moved-to-github.git]
/
src
/
relevance.h
diff --git
a/src/relevance.h
b/src/relevance.h
index
16682e6
..
125f50e
100644
(file)
--- a/
src/relevance.h
+++ b/
src/relevance.h
@@
-1,5
+1,5
@@
/* This file is part of Pazpar2.
/* This file is part of Pazpar2.
- Copyright (C) 2006-2011 Index Data
+ Copyright (C) 2006-2012 Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-29,11
+29,14
@@
struct record_cluster;
struct reclist;
struct relevance *relevance_create_ccl(pp2_charset_fact_t pft,
struct reclist;
struct relevance *relevance_create_ccl(pp2_charset_fact_t pft,
- NMEM nmem, struct ccl_rpn_node *query);
+ struct ccl_rpn_node *query,
+ int rank_cluster, double follow_factor,
+ double lead_decay, int length_divide);
void relevance_destroy(struct relevance **rp);
void relevance_newrec(struct relevance *r, struct record_cluster *cluster);
void relevance_countwords(struct relevance *r, struct record_cluster *cluster,
void relevance_destroy(struct relevance **rp);
void relevance_newrec(struct relevance *r, struct record_cluster *cluster);
void relevance_countwords(struct relevance *r, struct record_cluster *cluster,
- const char *words, int multiplier, const char *name);
+ const char *words, const char *multiplier,
+ const char *name);
void relevance_donerecord(struct relevance *r, struct record_cluster *cluster);
void relevance_prepare_read(struct relevance *rel, struct reclist *rec);
void relevance_donerecord(struct relevance *r, struct record_cluster *cluster);
void relevance_prepare_read(struct relevance *rel, struct reclist *rec);