public interface FuzzySearchQuery
extends com.tomtom.online.sdk.common.jni.NativeObject
Modifier and Type | Method and Description |
---|---|
FuzzySearchQuery |
withBoundingBox(LatLng topLeft,
LatLng bottomRight)
The boundin box for the search.
|
FuzzySearchQuery |
withCategory(boolean isCategory)
If your search use case only requires POI results filtered by category, you may use the category endpoint.
|
FuzzySearchQuery |
withCountry(java.lang.String country)
Comma separated string of country codes (eg: FR,ES).
|
FuzzySearchQuery |
withExtendedPostalCodes(java.lang.String extPostalCodesFor)
Indexes for which extended postal codes should be included in the results.
|
FuzzySearchQuery |
withIdx(java.lang.String idxSet)
A comma separated list of indexes which should be utilized for the search.
|
FuzzySearchQuery |
withLanguage(java.lang.String language)
Language in which search results should be returned.
|
FuzzySearchQuery |
withLimit(int limit)
The upper limit of the number of results.
|
FuzzySearchQuery |
withMaxFuzzyLevel(int maxFuzzyLevel)
Maximum fuzzyness level to be used.
|
FuzzySearchQuery |
withMinFuzzyLevel(int minFuzzyLevel)
Minimum fuzzyness level to be used.
|
FuzzySearchQuery |
withOffset(int offset)
Starting offset of the returned results within the full result set.
|
FuzzySearchQuery |
withPosition(LatLng position)
The position where results should be biased.
|
FuzzySearchQuery |
withPosition(LatLng position,
int radius)
The position where results should be biased.
|
FuzzySearchQuery |
withTypeAhead(boolean isTypeAhead)
If the "typeahead" flag is set, the query will be interpreted as a partial input and the search will enter predictive mode.
|
FuzzySearchQuery withLimit(int limit)
limit
- upper limit of the number of results.FuzzySearchQuery withOffset(int offset)
offset
- starting offset of the returned results within the full result set.FuzzySearchQuery withPosition(LatLng position)
position
- position where results should be biased.FuzzySearchQuery withPosition(LatLng position, int radius)
position
- position where results should be biased.radius
- search radius.FuzzySearchQuery withCountry(java.lang.String country)
country
- string with country codes.FuzzySearchQuery withIdx(java.lang.String idxSet)
idxSet
- indexes to be utilized for the search.FuzzySearchQuery withBoundingBox(LatLng topLeft, LatLng bottomRight)
topLeft
- top left position of the bounding box.bottomRight
- bottom right position of the bounding box.FuzzySearchQuery withTypeAhead(boolean isTypeAhead)
isTypeAhead
- whether the predictive mode is enabled.FuzzySearchQuery withCategory(boolean isCategory)
isCategory
- whether the category search is enabled.FuzzySearchQuery withLanguage(java.lang.String language)
language
- language in which search results should be returned.FuzzySearchQuery withExtendedPostalCodes(java.lang.String extPostalCodesFor)
extPostalCodesFor
- string with postal codes.FuzzySearchQuery withMinFuzzyLevel(int minFuzzyLevel)
minFuzzyLevel
- minimum fuzzyness level to be used.FuzzySearchQuery withMaxFuzzyLevel(int maxFuzzyLevel)
maxFuzzyLevel
- maximum fuzzyness level to be used.