<div dir="ltr">In particular, I have the following doubts:<div><br></div><div>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? </div><div><br></div><div>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. </div><div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Apart from the above, if I'm missing something or didn't go into enough detail, please let me know. :)<br><div class="gmail_quote"><br></div></div></div></div>