2021-07-06 00:30:14 +02:00
|
|
|
package it.cavallium.dbengine.lucene.searcher;
|
|
|
|
|
|
|
|
import java.util.Comparator;
|
|
|
|
import org.apache.lucene.search.ScoreDoc;
|
|
|
|
|
|
|
|
public record PaginationInfo(long totalLimit, long firstPageOffset, long firstPageLimit, boolean forceSinglePage) {
|
|
|
|
|
2021-07-17 23:06:26 +02:00
|
|
|
public static final int MAX_SINGLE_SEARCH_LIMIT = 256;
|
2021-07-06 00:30:14 +02:00
|
|
|
public static final int FIRST_PAGE_LIMIT = 10;
|
|
|
|
}
|