[Xapian-discuss] Counting and statistics
Olly Betts
olly at survex.com
Thu Mar 29 16:27:57 BST 2007
On Thu, Mar 29, 2007 at 01:39:12PM +0200, Andreas Marienborg wrote:
> Attached is an attempt to implement it. It's based heavily on
> MatchDecider, but adapted where I thought it would need it.
>
> I haven't written tests yet, but basicly wanted to know if it looks
> semi-sane before doing so.
Yes, that certainly looks about right. Thanks for looking at this.
> I have tested it on my own code, and that seems to work, so I can
> probably create a test-case as well.
If you can read Python or Java, they both have ExpandDecider test cases
which might be a good starting point:
http://svn.xapian.org/trunk/xapian-bindings/python/smoketest.py?view=markup
http://svn.xapian.org/trunk/xapian-bindings/java/SmokeTest.java?view=markup
Cheers,
Olly
More information about the Xapian-discuss
mailing list