MB-18673: MB-19411: get right directoryForSearch for specific stat
MB-18673: MB-19411: get right directoryForSearch for specific stat

Change-Id: Ie03f52199cb3c2f111533f75abed5bd7d9fa932f
Reviewed-on: http://review.couchbase.org/63087
Reviewed-by: Dave Finlay <7b10a9ed9f70e64c30b07607a671ae61c33f14c8@couchbase.com>
Tested-by: Dave Finlay <7b10a9ed9f70e64c30b07607a671ae61c33f14c8@couchbase.com>

membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,ceejatec/ns_server,ceejatec/ns_server