| Package | Description |
|---|---|
| edu.cornell.mannlib.vitro.webapp.utils.searchengine |
| Modifier and Type | Method and Description |
|---|---|
static FieldMap |
SearchQueryUtils.fieldMap()
Create a builder object that can assemble a map of search result field
names to JSON field names.
|
FieldMap |
FieldMap.put(String searchResultFieldName,
String jsonFieldName)
Add a row to the map
|
| Modifier and Type | Method and Description |
|---|---|
static List<Map<String,String>> |
SearchQueryUtils.parseAndFilterResponse(SearchResponse queryResponse,
FieldMap fieldMap,
SearchResponseFilter filter,
int maxNumberOfResults)
Parse a response into a list of maps, accepting only those maps that pass
a filter, and only up to a maximum number of records.
|
static List<Map<String,String>> |
SearchQueryUtils.parseResponse(SearchResponse queryResponse,
FieldMap fieldMap)
Parse a response into a list of maps, one map for each document.
|
| Constructor and Description |
|---|
SearchResultsParser(SearchResponse queryResponse,
FieldMap fieldMap) |
Copyright © 2022. All rights reserved.