xapian-bridge C port

endlessm/eos-sdk#2463
It's very easy to overlook the fact that `lang == NULL` means use all databases. Consider a comment.