xapian-bridge C port

endlessm/eos-sdk#2463
Not necessarily within the scope of this issue, but would there be an opportunity for a speedup if you called this as late as possible, instead of in the constructor?