public class SearchResultsParser extends Object
| Constructor and Description |
|---|
SearchResultsParser(SearchResponse queryResponse,
FieldMap fieldMap) |
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,String>> |
parse()
Parse the entire response into a list of maps.
|
List<Map<String,String>> |
parseAndFilterResponse(SearchResponseFilter filter,
int maxNumberOfResults)
Parse the response, accepting only those maps that are acceptable to the
filter, until we reach the maximum desired number of results (or until we
have parsed the entire response).
|
public SearchResultsParser(SearchResponse queryResponse, FieldMap fieldMap)
public List<Map<String,String>> parseAndFilterResponse(SearchResponseFilter filter, int maxNumberOfResults)
Copyright © 2022. All rights reserved.