Add a public_requestor_name method which only returns the requestor name if it has been flagged as public, store this as a text field in xapian.
Get more recent version of acts_as_xapian gem from mysociety repo.
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.
Merge branch 'feature/restrict-public-search-of-private-attributes'