<!--
{
  "availability" : [
    "MapKit JS: 5.32.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/SearchConstructorOptions/includeQueries",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Property",
  "symbol" : {
    "kind" : "Interface Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structp/mapkit.SearchConstructorOptions/includeQueries"
  },
  "title" : "includeQueries"
}
-->

# includeQueries

A Boolean value that indicates whether the search results include queries.

```
includeQueries?: boolean;
```

## Discussion

This option only applies to search autocomplete. For example, if you send *cof* to [`autocomplete(query, options)`](/documentation/MapKitJS/Search/autocomplete), the search returns only *coffee*. If you send *cof* to [`autocomplete(query, options)`](/documentation/MapKitJS/Search/autocomplete) while `includeQueries` is `false`, the search returns only addresses and points of interest (given that the setting for those options is `true`) related to *cof* and not necessarily related to *coffee*.

The default value is `true`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)