11 lines
344 B
Java
11 lines
344 B
Java
|
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) {
|
||
|
|
||
|
public static final int MAX_SINGLE_SEARCH_LIMIT = 1000;
|
||
|
public static final int FIRST_PAGE_LIMIT = 10;
|
||
|
}
|