# Matching Search types in elasticsearch

**URL:** <https://discuss.elastic.co/t/matching-search-types-in-elasticsearch/180973>\
**Category:** Elasticsearch\
**Created:** [May 14, 2019, 10:04am UTC](https://discuss.elastic.co/t/matching-search-types-in-elasticsearch/180973 "2019-05-14T10:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinay123](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@vinay123](https://discuss.elastic.co/u/vinay123)\
**Post date:** [May 14, 2019, 10:04am UTC](https://discuss.elastic.co/t/matching-search-types-in-elasticsearch/180973/1 "2019-05-14T10:04:42Z")

</div>

Hello Everyone,

my question is in search type once a match is identified for a given search type it is selected and subsequent SEARCH TYPES are should not be evaluated. A match should occurs is when all of the CONDITION for a given SEARCH TYPE evaluate to True.

so how i can write code in java ...  
please help me its urgent

Thanks for help advance

---

<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:** [June 11, 2019, 10:04am UTC](https://discuss.elastic.co/t/matching-search-types-in-elasticsearch/180973/2 "2019-06-11T10:04:43Z")

</div>

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