public class AttributeSourceSearchClient extends SearchClient
SEARCHTERM_HOLDER| Constructor and Description |
|---|
AttributeSourceSearchClient(org.json.JSONObject config) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
autosuggest(String query) |
SearchResult |
search(String query) |
locationToBBOXpublic AttributeSourceSearchClient(org.json.JSONObject config)
public SearchResult search(String query)
search in class SearchClientquery - 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 query) throws org.json.JSONException
autosuggest in class SearchClientorg.json.JSONExceptionCopyright © 2018. All rights reserved.