modify paging

This commit is contained in:
Shinsuke Sugaya 2015-11-21 23:07:52 +09:00
parent 469a0e8710
commit 4ab847671e
3 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
final int from;
final int size;
if (cb.isFetchScopeEffective()) {
from = cb.getFetchStartIndex();
from = cb.getPageStartIndex();
size = cb.getFetchSize();
} else {
from = 0;

View file

@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
final int from;
final int size;
if (cb.isFetchScopeEffective()) {
from = cb.getFetchStartIndex();
from = cb.getPageStartIndex();
size = cb.getFetchSize();
} else {
from = 0;

View file

@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
final int from;
final int size;
if (cb.isFetchScopeEffective()) {
from = cb.getFetchStartIndex();
from = cb.getPageStartIndex();
size = cb.getFetchSize();
} else {
from = 0;