# Adding custom search results that is not in indice

**URL:** https://discuss.elastic.co/t/adding-custom-search-results-that-is-not-in-indice/311843
**Category:** Elastic Search
**Tags:** elastic-site-search
**Created:** [August 10, 2022, 2:24pm UTC](https://discuss.elastic.co/t/adding-custom-search-results-that-is-not-in-indice/311843 "2022-08-10T14:24:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bilgicsin](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bilgicsin](https://discuss.elastic.co/u/bilgicsin)
#### Post date: [August 10, 2022, 2:24pm UTC](https://discuss.elastic.co/t/adding-custom-search-results-that-is-not-in-indice/311843/1 "2022-08-10T14:24:12Z")

</div>

Hello Everyone!

I am trying to set up site search for my company's web site. I am using elastic crawler to get data from web site and I can do basic search. (I did not set up, booster or suggesters yet). Our company's Elastic Stack version is 8.3. Here is my question:

I want to add some search result via a file (like csv if it possible), and I need to get first these result when it is a exact match.

For example:

Lets assume that I defined a custom json for search result in local file:

{"cars":"www.company/cars"}

When I search for "cars" It should bring me the result as "www.company/cars" first, than it can bring other related search result from the indice. It have to be exact match, so It should get only indice results when I search for "car". It is not like suggestion, because I want to do this operation on search result.

Do you have any idea- how could I handle this on Elastic?

Thanks in advance !!!

---

<div class="post-metadata">

### Author: ![bilgicsin](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bilgicsin](https://discuss.elastic.co/u/bilgicsin)
#### Post date: [August 12, 2022, 10:43am UTC](https://discuss.elastic.co/t/adding-custom-search-results-that-is-not-in-indice/311843/2 "2022-08-12T10:43:53Z")

</div>

Hi Everyone!

I found the solution myself. I created another engine by uploding json data (the contex of the .csv file). After that, I created a Meta Engine and I defined two source (one is crawling index, the other one is my json data) I give extra weigt the field which I want to exact macth. It worked as I aspected.

---

<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: [September 9, 2022, 10:43am UTC](https://discuss.elastic.co/t/adding-custom-search-results-that-is-not-in-indice/311843/3 "2022-09-09T10:43:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
