for xapian patch