﻿---
title: Examples
description: Following you can find some examples on how to use the client. Use of the asStream parameter;, Executing a bulk request;, Executing a bulk request with...
url: https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/examples
---

# Examples
Following you can find some examples on how to use the client.
- Use of the [asStream](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/as_stream_examples) parameter;
- Executing a [bulk](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/bulk_examples) request;
- Executing a [bulk request with base64-encoded vectors](/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/bulk_examples#bulk_vectors);
- Executing a [exists](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/exists_examples) request;
- Executing a [get](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/get_examples) request;
- Executing a [sql.query](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/sql_query_examples) request;
- Executing a [update](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/update_examples) request;
- Executing a [update by query](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/update_by_query_examples) request;
- Executing a [reindex](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/reindex_examples) request;
- Use of the [ignore](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/ignore_examples) parameter;
- Executing a [msearch](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/msearch_examples) request;
- How do I [scroll](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/scroll_examples)?
- Executing a [search](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/search_examples) request;
- I need [suggestions](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/suggest_examples);
- How to use the [transport.request](https://www.elastic.co/elastic/docs-builder/docs/2423/reference/elasticsearch/clients/javascript/transport_request_examples) method;