Skip to content

Commit 47b66a7

Browse files
committed
start the request at 0 not 1
1 parent 5150759 commit 47b66a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/ucsb/nceas/mdqengine/MDQEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public ArrayList<String> findDataPids(NodeReference nodeId, String identifier) t
280280
String encodedQuotes = URLEncoder.encode("\"", "UTF-8");
281281
String encodedQuery = "?q=isDocumentedBy:" + encodedQuotes + encodedId + encodedQuotes + "&fl=id";
282282
log.debug("Encoded query: " + encodedQuery);
283-
doc = DataONE.querySolr(encodedQuery, 1, 10000, d1Node, session);
283+
doc = DataONE.querySolr(encodedQuery, 0, 10000, d1Node, session);
284284

285285
doc.getDocumentElement().normalize();
286286

0 commit comments

Comments
 (0)