xapian-bridge C port

endlessm/eos-sdk#2463
Yeah I don't see why that wouldn't work (and it actually __does__ work since I'm using this from the tests!)