Shinsuke Sugaya 10 年之前
父节点
当前提交
6957a8a068
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/jp/sf/fess/helper/IndexingHelper.java

+ 2 - 2
src/main/java/jp/sf/fess/helper/IndexingHelper.java

@@ -130,7 +130,7 @@ public class IndexingHelper {
         }
         sq.setRows(row);
         final SolrDocumentList docList = solrGroup.query(sq).getResults();
-        if (docList.getNumFound() < row) {
+        if (docList.getNumFound() <= row) {
             return docList;
         }
         return getSolrDocumentList(solrGroup, fq, q, fields,
@@ -303,7 +303,7 @@ public class IndexingHelper {
         solrQuery.setRows(row);
         final SolrDocumentList docList = solrGroup.query(solrQuery)
                 .getResults();
-        if (docList.getNumFound() < row) {
+        if (docList.getNumFound() <= row) {
             return docList;
         }
         return getChildSolrDocumentList(solrGroup, id, fields,