xapian-bridge C port

endlessm/eos-sdk#2463
Seems like this should be a `g_warning` since we wouldn't expect it during normal operation.