close(response);
}
}
public Shard getShard(String docId) {
assertNotEmpty(docId, "docId");
<BUG>return client.couchDbClient.get(buildUri(getDBUri()).path("_shards/").path(docId).build(), Shard.class);
}</BUG>
public void createIndex(String indexName, String designDocName, String indexType,
IndexField[] fields) {
String indexDefn = getIndexDefinition(indexName, designDocName, indexType, fields);

close(response);
}
}
public Shard getShard(String docId) {
assertNotEmpty(docId, "docId");
return client.couchDbClient.get(new DatabaseURIHelper(db.getDBUri()).path("_shards")
.path(docId).build(),
Shard.class);
}
public void createIndex(String indexName, String designDocName, String indexType,
IndexField[] fields) {
String indexDefn = getIndexDefinition(indexName, designDocName, indexType, fields);
