public class FuzzySearchQuery
extends com.tomtom.online.sdk.common.jni.BaseRequestQuery
FuzzySearchQuery
.Constructor and Description |
---|
FuzzySearchQuery(java.lang.String term,
java.lang.Integer limit,
java.lang.Integer offset,
LatLng position,
com.tomtom.online.sdk.common.location.LatLngAcc preciseness,
java.lang.String country,
java.lang.String extendedPostalCodes,
java.lang.String idx,
com.tomtom.online.sdk.common.location.BoundingBox boundingBox,
java.lang.Boolean typeAhead,
java.lang.Boolean category,
java.lang.String language,
java.lang.Integer minFuzzyLevel,
java.lang.Integer maxFuzzyLevel,
java.lang.String geopoliticalView)
Creates instance of a query with defined parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getNativeHandle() |
long |
prepare() |
public FuzzySearchQuery(java.lang.String term, java.lang.Integer limit, java.lang.Integer offset, LatLng position, com.tomtom.online.sdk.common.location.LatLngAcc preciseness, java.lang.String country, java.lang.String extendedPostalCodes, java.lang.String idx, com.tomtom.online.sdk.common.location.BoundingBox boundingBox, java.lang.Boolean typeAhead, java.lang.Boolean category, java.lang.String language, java.lang.Integer minFuzzyLevel, java.lang.Integer maxFuzzyLevel, java.lang.String geopoliticalView)
IFuzzySearchQuery
interface.term
- searched term.limit
- maximum number of search results that will be returned.offset
- starting offset of the returned results within the full result set.position
- the position where results should be biased.preciseness
- the position where results should be biased.
The radius parameter is specified in meters.country
- comma separated string of country codes (eg: FR,ES).
This will limit the search to the specified countries.extendedPostalCodes
- indexes for which extended postal codes should be included in the results.idx
- a comma separated list of indexes which should be utilized for the search.boundingBox
- the bounding box for the search.typeAhead
- if flag is set to true, the query will be interpreted as a partial input and the search will enter predictive mode.category
- determines whether the category search is enabled.language
- language in which search results should be returned. Should be one of supported IETF language tags.minFuzzyLevel
- minimum fuzzyness level to be used. The default value is 1, the maximum value is 4.maxFuzzyLevel
- maximum fuzzyness level to be used. The default value is 2, the maximum value is 4.geopoliticalView
- defines what kind of geopolitical view should be used.