# Search by multiple match step by step fields

**URL:** <https://discuss.elastic.co/t/search-by-multiple-match-step-by-step-fields/219928>\
**Category:** Elasticsearch\
**Created:** [February 19, 2020, 9:02am UTC](https://discuss.elastic.co/t/search-by-multiple-match-step-by-step-fields/219928 "2020-02-19T09:02:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehrdad.dev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehrdad.dev/32/56326_2.png) [@Mehrdad.dev](https://discuss.elastic.co/u/Mehrdad.dev)\
**Post date:** [February 19, 2020, 9:02am UTC](https://discuss.elastic.co/t/search-by-multiple-match-step-by-step-fields/219928/1 "2020-02-19T09:02:38Z")

</div>

Hi .  
I have this query for search people in :

```auto
{
	"multi_match" : {
		"fields" : ["full_name^3", "user_name", "title", "first_name", "last_name"],
		"query" : "%v"
	}
} 

```

**I need :**  
but i want a better than search query ,  
i want create a query that when user type a word and this word match with first name field then just show all users that match by first word input and then when user type another input search in user that first match by first name and next match by next input in last name.

i don't know how to create this for auto complete search and step by step search ...

thanks.

---

<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:** [March 18, 2020, 9:02am UTC](https://discuss.elastic.co/t/search-by-multiple-match-step-by-step-fields/219928/2 "2020-03-18T09:02:43Z")

</div>

Closed on March 18, 2020, 9:02am UTC

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