public class SolrSearchClient extends SearchClient
SEARCHTERM_HOLDER| Constructor and Description |
|---|
SolrSearchClient() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
autosuggest(String term) |
org.json.JSONObject |
getConfig() |
SearchResult |
search(String term) |
void |
setConfig(org.json.JSONObject config) |
void |
setVisibleLayers(List<Long> visibleLayers) |
locationToBBOXpublic SearchResult search(String term)
search in class SearchClientterm - The term which must be found
[
{
location :{
minx: double,
miny: double,
maxx: double,
maxy: double
},
type: {String}, // For openLS this is one of: Street, MunicipalitySubdivision, Municipality,CountrySubdivision, for solr it is the name of the configuration
label: {String}
}
]
public org.json.JSONArray autosuggest(String term) throws org.json.JSONException
autosuggest in class SearchClientorg.json.JSONExceptionpublic org.json.JSONObject getConfig()
public void setConfig(org.json.JSONObject config)
Copyright © 2019. All rights reserved.