Add diversification module
commit34ff67408f39adfecf401ec47113e695211e78b0
authorUppinder Chugh <uppinderchugh@gmail.com>
Tue, 12 Jun 2018 06:01:25 +0000 (12 18:01 +1200)
committerOlly Betts <olly@survex.com>
Tue, 12 Jun 2018 06:05:09 +0000 (12 18:05 +1200)
treeb06abbbd7991a800350a86c56e1eb7e75b92ec71
parent3cc6d5e731a3badcbe8c0c38229bf4d04c19fa4e
Add diversification module

Contains an implementation of GLS-MPT that returns a top-k diversified
document set.

Closes https://github.com/xapian/xapian/pull/198
17 files changed:
xapian-core/Makefile.am
xapian-core/diversify/.gitignore [new file with mode: 0644]
xapian-core/diversify/Makefile [new file with mode: 0644]
xapian-core/diversify/Makefile.mk [new file with mode: 0644]
xapian-core/diversify/diversify.cc [new file with mode: 0644]
xapian-core/include/Makefile.mk
xapian-core/include/xapian.h
xapian-core/include/xapian/diversify.h [new file with mode: 0644]
xapian-core/tests/.gitignore
xapian-core/tests/Makefile.am
xapian-core/tests/api_diversify.cc [new file with mode: 0644]
xapian-core/tests/perftest/.gitignore
xapian-core/tests/perftest/Makefile.mk
xapian-core/tests/perftest/perftest.cc
xapian-core/tests/perftest/perftest.h
xapian-core/tests/perftest/perftest_diversify.cc [new file with mode: 0644]
xapian-core/tests/testdata/apitest_diversify.txt [new file with mode: 0644]