Package org.tailormap.api.controller
Class SearchController
java.lang.Object
org.tailormap.api.controller.SearchController
@Validated
@RequestMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/layer/{appLayerId}/search",
produces="application/json")
public class SearchController
extends Object
-
Constructor Summary
ConstructorDescriptionSearchController
(SearchIndexRepository searchIndexRepository, SolrService solrService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Serializable>
search
(AppTreeLayerNode appTreeLayerNode, GeoService service, Application application, String solrQuery, Integer start, String solrFilterQuery, String solrPoint, Double solrDistance)
-
Constructor Details
-
SearchController
-
-
Method Details
-
search
@Transactional(readOnly=true) @RequestMapping(method=GET) public org.springframework.http.ResponseEntity<Serializable> search(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service, @ModelAttribute Application application, @RequestParam(required=false,name="q") String solrQuery, @RequestParam(required=false,defaultValue="0") Integer start, @RequestParam(required=false,name="fq") String solrFilterQuery, @RequestParam(required=false,name="pt") String solrPoint, @RequestParam(required=false,name="d") Double solrDistance)
-