[Xapian-discuss] allterms_begin(prefix) on a WritableDatabase
Matthew Somerville
matthew at mysociety.org
Fri Feb 15 12:03:40 GMT 2008
Olly Betts wrote:
>> I'm happy to supply a patch if that's helpful
>
> Yes, that would be handy.
http://bitter.ukcod.org.uk/~matthew/temp/xapian-patches/WritableDatabase.xs.patch
> A small regression test would be useful too (assuming there's one for
> Database, just repeating that for WritableDatabase would be fine.
I added the relevant lines from the search.t test to the index.t file in
what looked like an appropriate place:
http://bitter.ukcod.org.uk/~matthew/temp/xapian-patches/index.t.patch
I haven't actually patched my copy of Search::Xapian, but it looks like it
should run okay. :-)
ATB,
Matthew
More information about the Xapian-discuss
mailing list