---
mapped_pages:
  - https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/examples.html
---

# Examples [examples]

Following you can find some examples on how to use the client.

* Use of the [asStream](/reference/as_stream_examples.md) parameter;
* Executing a [bulk](/reference/bulk_examples.md) request;
* Executing a [bulk request with base64-encoded vectors](/reference/bulk_examples.md#bulk_vectors);
* Executing a [exists](/reference/exists_examples.md) request;
* Executing a [get](/reference/get_examples.md) request;
* Executing a [sql.query](/reference/sql_query_examples.md) request;
* Executing a [update](/reference/update_examples.md) request;
* Executing a [update by query](/reference/update_by_query_examples.md) request;
* Executing a [reindex](/reference/reindex_examples.md) request;
* Use of the [ignore](/reference/ignore_examples.md) parameter;
* Executing a [msearch](/reference/msearch_examples.md) request;
* How do I [scroll](/reference/scroll_examples.md)?
* Executing a [search](/reference/search_examples.md) request;
* I need [suggestions](/reference/suggest_examples.md);
* How to use the [transport.request](/reference/transport_request_examples.md) method;















