> For the complete documentation index, see [llms.txt](https://docs.mapsindoors.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mapsindoors.com/sdks-and-frameworks/web/search/search-operations.md).

# Search Operations

### Search Operations with MapsIndoors

Enhance your application's search capabilities with MapsIndoors data. The following topics offer a brief introduction to various functionalities you can implement. For in-depth guidance, click on the specific topics.

#### [Basic Searching](/sdks-and-frameworks/web/search/searching.md)

* **Retrieve Specific Location**: Use [`getLocation(id)`](https://app.mapsindoors.com/mapsindoors/js/sdk/latest/docs/mapsindoors.services.LocationsService.html#.getLocation) to obtain individual location objects.
* **Querying Locations**: Perform broader searches with [`getLocations(args)`](https://app.mapsindoors.com/mapsindoors/js/sdk/latest/docs/mapsindoors.services.LocationsService.html#.getLocations).
  * **Filter Customization**: Fine-tune your searches with specialized query parameters.

#### [Extending Your Search](/sdks-and-frameworks/web/search/external-ids.md) <a href="#ffaf" id="ffaf"></a>

* **Using External IDs**: Translate your unique IDs to MapsIndoors IDs using [`getLocationsByExternalId`](https://app.mapsindoors.com/mapsindoors/js/sdk/latest/docs/mapsindoors.services.LocationsService.html#.getLocationsByExternalId).
* **Advanced Search Integration**: Integrate MapsIndoors data into your existing search functionalities.
* **Distance Matrix**: Create a distance matrix when dealing with multiple locations. [Ref docs here](https://app.mapsindoors.com/mapsindoors/js/sdk/latest/docs/DistanceMatrixService.html)

#### [Utilizing MapsIndoors Web Components and Other Searches](/sdks-and-frameworks/web/search/utilizing-mapsindoors-web-components-and-other-searches.md)

* **Utilizing MapsIndoors web components**
  * **Components:** MapsIndoors search component, list component, etc.
  * **Click Event Handling**: Interactive retrieval of location details.
* **Venue and Building Info**: Access information about venues and buildings stored in MapsIndoors.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mapsindoors.com/sdks-and-frameworks/web/search/search-operations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
