xapian-bridge C port

endlessm/eos-sdk#2463
Original code returned a valid results JSON object here.