# Bulk upload file data into app search from a json file

**URL:** <https://discuss.elastic.co/t/bulk-upload-file-data-into-app-search-from-a-json-file/264640>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [February 18, 2021, 2:27am UTC](https://discuss.elastic.co/t/bulk-upload-file-data-into-app-search-from-a-json-file/264640 "2021-02-18T02:27:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pakwai122](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pakwai122/32/84087_2.png) [@pakwai122](https://discuss.elastic.co/u/pakwai122)\
**Post date:** [February 18, 2021, 5:19am UTC](https://discuss.elastic.co/t/bulk-upload-file-data-into-app-search-from-a-json-file/264640/3 "2021-02-18T05:19:04Z")

</div>

ive read this thread

> [@Bulk upload documents to Site Search from a JSON file](https://discuss.elastic.co/t/bulk-upload-documents-to-site-search-from-a-json-file/205147):
>
> I just wanted to share some code I helped put together for a customer. They had a JSON document of records that they wanted to upload in bulk to Site Search via our API. books.json [{ "id": "1", "title": "Tom Sawyer", "pages": 200 }, { "id": "2", "title": "Catcher in the Rye", "pages": 300 }] The first challenge was converting their JSON file to a format that Site Search requires. We came up with the following: convert.js var FILE\_NAME = "books.json"; var…

It looks similar to my use case, so wonder does it work on app search too

---

_[View the full topic](https://discuss.elastic.co/t/bulk-upload-file-data-into-app-search-from-a-json-file/264640)._
