Permalink
Browse files

remove spurious double-fetch (closes #119)

  • Loading branch information...
1 parent 0081272 commit 566f813026fb7ace267db19026f81da9f23f9e30 Robert Newson committed May 27, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
@@ -576,7 +576,6 @@ public void search(final HttpServletRequest req,
}
// Fetch documents (if requested).
if (include_docs && fetch_ids.length > 0) {
- database.getDocuments(fetch_ids);
final List<CouchDocument> fetched_docs = database
.getDocuments(fetch_ids);
for (int j = 0; j < max; j++) {

0 comments on commit 566f813

Please sign in to comment.