Add a method for building the xapian index. This is simple, and will need to be improved when we want to make changes to the index during tests etc.
Add some tests to express the fact that we want email to be searchable from the admin interface but not from the front end.
Index only public text by default, add extra fields to be searchable in admin interface as extra terms.
Restrict private field search to queries that come from the admin interface.