Getting search to work required changes to the content provider, namely on its URI matcher and the query method.