public final class MultipageSearchEngineMetadata extends Object
MultipageSearchEngine characteristics.| Modifier and Type | Field and Description |
|---|---|
boolean |
incrementByPage
If
false, the start position of the search is determined by the
result index, which is the case for most search engines. |
int |
maxResultIndex
Maximum reachable result index.
|
int |
resultsPerPage
Maximum number of results returned per page.
|
| Constructor and Description |
|---|
MultipageSearchEngineMetadata(int resultsPerPage,
int maxResultIndex)
Creates search engine metadata with
incrementByPage set to
false. |
MultipageSearchEngineMetadata(int resultsPerPage,
int maxResultIndex,
boolean incrementByPage) |
public final int resultsPerPage
public final int maxResultIndex
public final boolean incrementByPage
false, the start position of the search is determined by the
result index, which is the case for most search engines. If true,
the start position is determined by the page index.public MultipageSearchEngineMetadata(int resultsPerPage,
int maxResultIndex)
incrementByPage set to
false.public MultipageSearchEngineMetadata(int resultsPerPage,
int maxResultIndex,
boolean incrementByPage)