public class SearchResultResponse extends Object implements Serializable
Constructor and Description |
---|
SearchResultResponse(String query,
int pageOffset,
int pageSize,
int returnedHits,
int totalHits,
List<Map<String,String>> results) |
Modifier and Type | Method and Description |
---|---|
int |
getPageOffset()
Get the page Offset of search results.
|
int |
getPageSize()
Get the page size of search results.
|
String |
getQuery()
Get the query string for the search.
|
List<Map<String,String>> |
getResults()
A list of search results as a map of properties in the returned document.
|
int |
getReturnedHits()
Get the number of hits returned.
|
Map<String,String> |
getTopResult()
Return the top scoring search result.
|
int |
getTotalHits()
Get the total number of hits from query.
|
public int getReturnedHits()
public List<Map<String,String>> getResults()
public int getTotalHits()
public Map<String,String> getTopResult()
public int getPageOffset()
public int getPageSize()
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.