mutex around reader update. print full details of sorting in app and debug mode.
mutex around reader update. print full details of sorting in app and debug mode.

ehealthafrica-ci/couchdb-lucene,ehealthafrica-ci/couchdb-lucene,eHealthAfrica/couchdb-lucene,eHealthAfrica/couchdb-lucene,eHealthAfrica/couchdb-lucene,rnewson/couchdb-lucene,rnewson/couchdb-lucene,rnewson/couchdb-lucene,ehealthafrica-ci/couchdb-lucene