The xenial Ubuntu default.ini has the database_dir and view_index_dir set to ./data if you change view_index_dir to say ./index and create directory with correct permissioning, restart couchdb, the index direct remains empty. Indexes are created in the data directory.