Added support for static ranking. Bug #174. The staticrank is enabled
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Aug 2005 12:50:17 +0000 (12:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Aug 2005 12:50:17 +0000 (12:50 +0000)
commit44082770642275dd993aa621d9dc5c5b0dc454d3
treeec14d23c96b3e3038c3ff5d9b9d2dabe50c38f9c
parent92522f476051e879371444a91f598e8213d34701
Added support for static ranking. Bug #174. The staticrank is enabled
by specifying staticrank:1 in .cfg. The xslt1 was removed. Filter xslt
can do it all and support specifying split=1. XSLT filter can specify
staticrank using attribute 'z:rank'. Added tests for staticrank and
record ID match in xslt3.c, xslt4.c.
22 files changed:
include/idzebra/recctrl.h
index/extract.c
index/index.h
index/zebraapi.c
index/zinfo.c
index/zinfo.h
index/zsets.c
recctrl/xslt.c
test/api/testlib.c
test/xslt/Makefile.am
test/xslt/index.xsl
test/xslt/marc-col.xml
test/xslt/marc-one.xml
test/xslt/marcschema-col.xml [new file with mode: 0644]
test/xslt/marcschema-one.xml [new file with mode: 0644]
test/xslt/marcschema.xml [deleted file]
test/xslt/xslt1.c
test/xslt/xslt2.c
test/xslt/xslt3.c
test/xslt/xslt4.c [new file with mode: 0644]
test/xslt/zebra.cfg
test/xslt/zebrastaticrank.cfg [new file with mode: 0644]