Revision 53744
Added by Tsampikos Livisianos about 6 years ago
modules/uoa-search/trunk/src/main/java/eu/dnetlib/data/search/utils/cql/ParameterQueryEnhancer.java | ||
---|---|---|
325 | 325 |
String keywords = request.getParameter("keywords"); |
326 | 326 |
String title = request.getParameter("title"); |
327 | 327 |
String author = request.getParameter("author"); |
328 |
String country = request.getParameter("country"); |
|
328 | 329 |
|
329 | 330 |
addMetadataQueryTerm(null, keywords, queryBuilder); |
330 | 331 |
addMetadataQueryTerm("resulttitle", title, queryBuilder); |
331 | 332 |
addMetadataQueryTerm("relperson", author, queryBuilder); |
333 |
addMetadataQueryTerm("country", country, queryBuilder); |
|
332 | 334 |
} |
333 | 335 |
|
334 | 336 |
public static void enhanceQueryWithProjectMetadataKeywords(StringBuilder queryBuilder, HttpServletRequest request) { |
modules/uoa-search/trunk/src/main/java/eu/dnetlib/data/search/web/api/SearchRequestController.java | ||
---|---|---|
60 | 60 |
|
61 | 61 |
private static final List<String> PUB_N_DATA_COMMON_PARAMETERS = Arrays.asList("author", "doi", "community", "FP7ProjectID", "FP7scientificArea", |
62 | 62 |
"fromDateAccepted", "funder", "fundingStream", "hasECFunding", "hasProject", "hasWTFunding", "keywords", |
63 |
"model", "OA", "openaireProjectID", "openaireProviderID", "projectID", "title", "toDateAccepted"); |
|
63 |
"model", "OA", "openaireProjectID", "openaireProviderID", "projectID", "title", "toDateAccepted", "country");
|
|
64 | 64 |
|
65 | 65 |
private static final List<String> PUB_PARAMETERS = Arrays.asList("openairePublicationID"); |
66 | 66 |
private static final List<String> DATA_PARAMETERS = Arrays.asList("openaireDatasetID"); |
Also available in: Unified diff
add country parameter