public abstract class SearchClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SEARCHTERM_HOLDER |
| Constructor and Description |
|---|
SearchClient() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.json.JSONArray |
autosuggest(String query) |
org.json.JSONObject |
locationToBBOX(int zoomboxSize,
double x,
double y) |
abstract SearchResult |
search(String query) |
public static final String SEARCHTERM_HOLDER
public abstract SearchResult search(String query)
query - 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 abstract org.json.JSONArray autosuggest(String query) throws org.json.JSONException
org.json.JSONExceptionpublic org.json.JSONObject locationToBBOX(int zoomboxSize,
double x,
double y)
throws org.json.JSONException
org.json.JSONExceptionCopyright © 2017. All rights reserved.