sdk-search / com.tomtom.online.sdk.search.data.fuzzy / FuzzySearchQuery / <init>

<init>

FuzzySearchQuery(term: String!, limit: Int!, offset: Int!, position: LatLng!, preciseness: LatLngAcc!, country: String!, extendedPostalCodes: String!, idx: String!, boundingBox: BoundingBox!, typeAhead: Boolean!, category: Boolean!, brandSet: String!, language: String!, evConnectorSet: String!, minFuzzyLevel: Int!, maxFuzzyLevel: Int!, geopoliticalView: String!, categorySet: MutableList<Long!>!, mapCodes: MutableSet<MapCodeType!>!, openingHours: OpeningHoursMode!, timeZone: TimeZoneType!, fuelSet: String!)

Creates instance of a query with defined parameters. More detailed information about each of parameters can be found in the IFuzzySearchQuery interface.

Parameters

term - String!: The searched term.

limit - Int!: The maximum number of search results that will be returned.

offset - Int!: The starting offset of the returned results within the full result set.

position - LatLng!: The position where results should be biased.

preciseness - LatLngAcc!: The position where results should be biased. The radius parameter is specified in meters.

country - String!: A comma-separated string of country codes (e.g., FR,ES). This will limit the search to the specified countries.

extendedPostalCodes - String!: Indexes for which extended postal codes should be included in the results.

idx - String!: A comma-separated list of indexes which should be utilized for the search.

boundingBox - BoundingBox!: The bounding box for the search.

typeAhead - Boolean!: If this flag is set to true, the query will be interpreted as a partial input and the search will enter predictive mode.

category - Boolean!: Determines whether the category search is enabled.

brandSet - String!: A comma-separated list of brand names which could be used to restrict the result to Points Of Interest of specific brands.

language - String!: The language in which search results should be returned. Should be one of the supported IETF language tags.

evConnectorSet - String!: A comma-separated list of connector types which could be used to restrict the result to Points Of Interest of type Electric Vehicle Station, supporting specific connector types.

minFuzzyLevel - Int!: The minimum fuzzyness level to be used. The default value is 1. The maximum value is 4.

maxFuzzyLevel - Int!: The maximum fuzzyness level to be used. The default value is 2. The maximum value is 4.

geopoliticalView - String!: Defines what kind of geopolitical view should be used.

categorySet - MutableList<Long!>!: Restricts the POIs in the Response to those whose id is listed in the categorySet.

mapCodes - MutableSet<MapCodeType!>!: The enum type indicating supported MapCodes.

openingHours - OpeningHoursMode!: The opening hours scope.

timeZone - TimeZoneType!: Used to indicate the mode in which the timeZone object should be returned.

fuelSet - String!: A comma-separated list of fuel types which could be used to restrict the result to Points Of Interest of specific fuels.