[VIVO-1379] Add CTSA search endpoints to VIVO

This commit is contained in:
Graham Triggs 2017-09-06 19:26:00 +01:00
parent e3c804088c
commit d508f09ed9
3 changed files with 147 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
<?xml version="1.0" encoding="UTF-8"?>
<site-description>
<name>${ApplicationName}</name>
<aggregate-query>${serverBase}${urls.base}/ctsasearch?querytext=</aggregate-query>
</site-description>

View file

@ -0,0 +1,8 @@
<#-- $This file is distributed under the terms of the license in LICENSE$ -->
<?xml version="1.0" encoding="UTF-8"?>
<aggregation-result>
<count>${hitCount}</count>
<population-type>${populationType}</population-type>
<preview-URL>${serverBase}${urls.base}/search?classgroup=${classgroup?url}&amp;querytext=${querytext?url}</preview-URL>
<search-results-URL>${serverBase}${urls.base}/search?classgroup=${classgroup?url}&amp;querytext=${querytext?url}</search-results-URL>
</aggregation-result>