fix #232
This commit is contained in:
parent
821b7501e3
commit
623b66e21f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue