# How to create relative search

**URL:** https://community.thunkable.com/t/how-to-create-relative-search/3049138
**Category:** Questions about Thunkable X
**Tags:** firebase, help
**Created:** [June 9, 2024, 1:19pm UTC](https://community.thunkable.com/t/how-to-create-relative-search/3049138 "2024-06-09T13:19:45Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)
#### Post date: [June 13, 2024, 2:09pm UTC](https://community.thunkable.com/t/how-to-create-relative-search/3049138/12 "2024-06-13T14:09:29Z")

</div>

Hey, so based on your responses I created a new JSON with the help of Gemini AI. Now the JSON that Gemini created was the exact way the app would have it’s structure.

Now I need help understanding how can I create what we created here

> [@How to show specific information from a table of real time firebase database](https://community.thunkable.com/t/how-to-show-specific-information-from-a-table-of-real-time-firebase-database/3044962/12):
>
> Simply by using the index of the item clicked from the city list. Since this is a single text string you could assign it as the Text of a Label component or button or were appropriate for your needs.

based on the new JSON  
(I have color coded specific things in doc to make it easier to read)

> **[JSON](https://docs.google.com/document/d/1VHsoJc49Yxdisjpl0TUrnR4DZPZPF3Ag06y2KEvA11Y/edit?usp=sharing)**
>
> { "cities": \[ { "name": "Mumbai", "libraries": \[ { "name": "National Library of India", "address": "C.G. Road, Mumbai, Maharashtra 400001", "contact": { "phone": "+91 22 2263 1601", ...

and also how I can adjust the blocks for search feature

---

_[View the full topic](https://community.thunkable.com/t/how-to-create-relative-search/3049138)._
