# Dec 20th, 2019 \[EN\] \[App Search\] Getting Started with App Search

**URL:** <https://discuss.elastic.co/t/dec-20th-2019-en-app-search-getting-started-with-app-search/211396>\
**Category:** Advent Calendar\
**Created:** [December 20, 2019, 8:00am UTC](https://discuss.elastic.co/t/dec-20th-2019-en-app-search-getting-started-with-app-search/211396 "2019-12-20T08:00:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aravindputrevu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aravindputrevu/32/24816_2.png) [@aravindputrevu](https://discuss.elastic.co/u/aravindputrevu)\
**Post date:** [December 20, 2019, 8:00am UTC](https://discuss.elastic.co/t/dec-20th-2019-en-app-search-getting-started-with-app-search/211396/1 "2019-12-20T08:00:03Z")

</div>

## What is Elastic App Search?

App Search is a search solution that is built on Elasticsearch. Using App Search, one can build search experience faster. One can tune relevance, create synonyms or even change the index schema using the App Search Dashboard. All one needs is a dataset they want to search upon.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e5689acadc205cf5065a0c42282acc30c98bcee.png)

App Search literally works like search endpoint to your application.

## Wait, why not Elasticsearch?

Elasticsearch is the world's most popular Open Search Engine. Elasticsearch is also a distributed system. It offers REST APIs to build a search backend similar to App Search.

But App Search simplifies the developer experience and helps you get search ready in minutes. In fact, all the beauty of App Search is coming directly from Elasticsearch.

## Getting Started with App Search

App Search is available in a self managed and SaaS version. This tutorial gives a walkthrough of the App Search Self Managed version with powered by Elastic Cloud.

To get started with the tutorial, please create an account in Elastic Cloud using this [link](https://ela.st/community-trial). Spin up a cluster.

Alternatively, you can download and start Elasticsearch with `/bin/elasticsearch` which by default runs on `9200` port. But you need to add `action.auto_create_index: ".app-search-*-logs-*,-.app-search-*,+*"`to `elasticsearch.yml` in the config folder.

When you hit `your-ip:9200`, you should be seeing an output like below.

 ![Screenshot 2019-12-19 at 11.01.29 PM](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12a661fa96be15c60ecc3bc6416e9a9345dd6f93.png)

App Search can be downloaded from [here](https://www.elastic.co/downloads/app-search). App Search by default comes with a Filebeat to ship relevant Search API logs and Analytics back to Elasticsearch. So you don't need to install anything specifically on App Search Server.

Connect App Search with the Elasticsearch Cluster by changing the configuration in `/config/app-search.yml`.

Uncomment `allow_es_settings_modification: true`

 ![Screenshot 2019-12-19 at 11.22.53 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/2/2219139ec8f1c53f523f4bc7e9cc019f6b9d94d7.png)

Start the App Search process with the command `/bin/app-search`.

 ![Screenshot 2019-12-19 at 11.19.11 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/5/653f79fb93001ba0b6a3762b5a7db0c3c2a1ea27.png)

App Search runs on `3002`. When you hit `your-ip:3002` in your browser, you should be able to see the App Search welcome screen.

 ![Screenshot 2019-12-19 at 11.31.04 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e9e54a24791a133444876085f160db2fba34e31a.png)

Click on `Continue to Login`. The default credentials are printed in the command line, when you have started the `/bin/app-search`. For example, it would like below.

 ![Screenshot 2019-12-19 at 11.32.12 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/8/688ae9f9558b0f6a9b1b276976b24ee22843530f.png)

## Uploading/Ingesting Data to App Search

App Search has API endpoints through which one can ingest data. It also provides a upload UI in the app search dashboard through which one can upload the data. The only caveat here is the data should be in `json`

 ![Screenshot 2019-12-19 at 11.37.24 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f87c19098b2eaec06dbb1dcfffb9fbaa684d77bc.png)  
&nbsp;  
 ![Screenshot 2019-12-19 at 11.37.41 PM](https://us1.discourse-cdn.com/elastic/original/3X/4/4/44c8ee036ffa1e520b0137b920d1619c44b3fd66.png)  
&nbsp;  
 ![Screenshot 2019-12-19 at 11.37.52 PM](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f58bc168b3e052f6ff79ca1fe380f9d0f8162bd.png)

You can ingest any sort of data which is in `json` format.  
For example, indexing data would like below.

 ![Screenshot 2019-12-19 at 11.42.35 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c9d5981ef4f1fe9c13a505a3e058f9cb90365fa.png) ![Screenshot 2019-12-19 at 11.42.46 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22a7bdf01528374cf2dfc1fe33c7d602d0a59d3a.png) ![Screenshot 2019-12-19 at 11.43.00 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f90b30bdf51b9ef73e9ab6132139570069766a2f.png)

## App Search Dashboard

Click on `Visit the Dashboard` further to explore the data. One would be shown a engine screen page with the Search Engine you have created.

 ![Screenshot 2019-12-19 at 11.47.58 PM](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22a0e36cd3234d5ff6d014b22b504637f28ec3fe.png)

There are bunch of things in the left menu and some of them are self explanatory to an extent.

 ![Screenshot 2019-12-19 at 11.49.21 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/5/65313cec024bf15259a3df96ab4f8e1643ad496f.png)

## Final Touch!

Click on the `Reference UI` and select the fields according to your preference on how the fields are to be searched and displayed in your web app to your users.

 ![Screenshot 2019-12-19 at 11.53.54 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d77d44f6f0519bd45cd7487989aea01062af91d.png)

Click on `Generate a Preview` to see the search UI powered react app. Just start typing about a word that is present in your dataset and you can see results in a way that you have configured previously in the `Reference UI`.

 ![Screenshot 2019-12-19 at 11.57.05 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a339d05e1f53846e3d1bda5425e65e28a5b05599.png)

You can also download this web app using the button `Download ZIP Package` on the right top corner. All the URL related to your Search Backend is baked into this downloaded app. All one needs to do is find relevant CSS to your brand and craft a great UI experience.

Between, `Reference UI` is an [Open source project](https://github.com/elastic/search-ui). You can learn more about it [here](https://github.com/elastic/search-ui).

There are many other features of App Search like `Analytics` which are as interesting making your user's experience better.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:36am UTC](https://discuss.elastic.co/t/dec-20th-2019-en-app-search-getting-started-with-app-search/211396/2 "2022-11-04T07:36:57Z")

</div>


