Re: GSOC 2018: Diversification of Search Results

Uppinder Chugh <[email protected]> Mon, 26 Feb 2018 02:14:58 +0530
Newsgroups gmane.comp.search.xapian.devel
Message-ID <CAL3if+DE1J5HrRnYP3y0_NsrAwKvpWraZ+drtN6RuhZBN_9Q+w@mail.gmail.com>
In particular, I have the following doubts:

a) Is wrapping Xapian::Mset matcher::get_set(..) suitable in this scenario
and with the api? Also, how can I allow the user to manually allow
diversification while he configures his result set via Matcher API?

b) Should I include the LC clustering algorithm in xapian-core/cluster (as
there's the base class Cluster which can be inherited) or make it part of
diversification implementation.

c) Apart from the proposed methods, I'd be writing automated tests,
examples and documenting the new feature. Some tips here are appreciated as
I've never written tests for code. Also, for documenting, I believe only
getting-started-with-xapian should be updated with examples for using the
new feature.

Apart from the above, if I'm missing something or didn't go into enough
detail, please let me know. :)