# Can not able to get search results Need some help with query

**URL:** <https://discuss.elastic.co/t/can-not-able-to-get-search-results-need-some-help-with-query/194614>\
**Category:** Elasticsearch\
**Created:** [August 9, 2019, 12:58pm UTC](https://discuss.elastic.co/t/can-not-able-to-get-search-results-need-some-help-with-query/194614 "2019-08-09T12:58:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwas\_jadav](https://avatars.discourse-cdn.com/v4/letter/v/13edae/32.png) [@vishwas\_jadav](https://discuss.elastic.co/u/vishwas_jadav)\
**Post date:** [August 9, 2019, 12:58pm UTC](https://discuss.elastic.co/t/can-not-able-to-get-search-results-need-some-help-with-query/194614/1 "2019-08-09T12:58:26Z")

</div>

I have already created an index and I daily add some records and use in a site for searching.  
Now, I have created another index and in that I used Data types as I have used in my previous index.  
but I am not getting any results.

Here is the mapping for my index:

> ```
> {
> "euipo" : {
> "mappings" : {
> "text_type" : {
> "properties" : {
> "applicant_date" : {
> "type" : "integer"
> },
> "applicant_name" : {
> "type" : "completion",
> "analyzer" : "simple",
> "preserve_separators" : true,
> "preserve_position_increments" : true,
> "max_input_length" : 50
> },
> "application_date" : {
> "type" : "long"
> },
> "application_number" : {
> "type" : "completion",
> "analyzer" : "simple",
> "preserve_separators" : true,
> "preserve_position_increments" : true,
> "max_input_length" : 50
> },
> "class_number" : {
> "type" : "completion",
> "analyzer" : "simple",
> "preserve_separators" : true,
> "preserve_position_increments" : true,
> "max_input_length" : 50
> },
> "did" : {
> "type" : "long"
> },
> "id" : {
> "type" : "text"
> },
> "mark_text" : {
> "type" : "completion",
> "analyzer" : "simple",
> "preserve_separators" : true,
> "preserve_position_increments" : true,
> "max_input_length" : 50
> }
> }
> }
> }
> }
> }
> 
> ```

there is the screen shot of the query I used :  
1.

 ![55%20PM](https://us1.discourse-cdn.com/elastic/original/3X/0/b/0b20078cdfafc51917e789c0910154d9f62220e2.png)

1. 

 ![52%20PM](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb1999a41d20af3638acfafd128417537b995e98.png)

1. 

 ![11%20PM](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39bf582fde6e63d6af5e21b9d84cc6091376afe5.png)

---

<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 6, 2019, 1:13pm UTC](https://discuss.elastic.co/t/can-not-able-to-get-search-results-need-some-help-with-query/194614/2 "2019-09-06T13:13:05Z")

</div>

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