public class DiscoveryServiceImpl extends Object implements DiscoveryService
AUTHOR_FACET, BATCH_UPLOAD_LINK_SEARCH, BIB_FIELDS, BIB_LINK_FIELDS, BIBLIOGRAPHIC, FORMAT_FACET, GENRE_FACET, HOLDINGS, HOLDINGS_FIELDS, HOLDINGS_LINK_FIELDS, INSTANCE, INSTANCE_FIELDS, INSTANCE_LINK_FIELDS, ITEM, ITEM_FIELDS, ITEM_LINK_FIELDS, LANGUAGE_FACET, PUBLICATION_DATE_FACET, SEARCH_TYPE_ADVANCED, SEARCH_TYPE_FACET, SEARCH_TYPE_FACET_DELETE, SEARCH_TYPE_LINK, SEARCH_TYPE_MORE_FACET, SEARCH_TYPE_NEW, SEARCH_TYPE_QUICK, SUBJECT_FACET
Modifier and Type | Method and Description |
---|---|
String |
buildFilterQuery(Map<String,String> facetTermsMap) |
String |
buildQuery(SearchParams searchParams) |
String |
buildQueryWithFacetParameters(List<String> facetsParametersList,
int facetMinCount,
int facetLimit) |
String |
buildQueryWithFieldListParameters(List<String> fieldsList) |
String |
buildQueryWithSearchParameters(List<SearchCondition> searchFieldsList) |
String |
buildQueryWithSortFields(String sortField,
String sortOrder) |
static String |
convertListToStringFieldValues(Map<String,String> map) |
static String |
getDocSearchUrl() |
String |
getFieldList(String docType) |
static DiscoveryService |
getInstance() |
protected void |
init() |
String |
search(SearchParams searchParams)
Performs a search based on the given search parameters and returns the result in solr xml format.
|
static void |
setDocSearchUrl(String docSearchUrl) |
public static DiscoveryService getInstance()
protected void init()
public String search(SearchParams searchParams)
DiscoveryService
search
in interface DiscoveryService
searchParams
- - search parameterspublic String getFieldList(String docType)
public static void setDocSearchUrl(String docSearchUrl)
public static String getDocSearchUrl()
public String buildQuery(SearchParams searchParams)
buildQuery
in interface DiscoveryService
public String buildQueryWithSearchParameters(List<SearchCondition> searchFieldsList)
public String buildQueryWithFacetParameters(List<String> facetsParametersList, int facetMinCount, int facetLimit)
public String buildQueryWithSortFields(String sortField, String sortOrder)
public String buildQueryWithFieldListParameters(List<String> fieldsList)
public static String convertListToStringFieldValues(Map<String,String> map)
public String buildFilterQuery(Map<String,String> facetTermsMap)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.