# Search across many types became to work incorrectly

**URL:** <https://discuss.elastic.co/t/search-across-many-types-became-to-work-incorrectly/8904>\
**Category:** Elasticsearch\
**Created:** [August 31, 2012, 2:22pm UTC](https://discuss.elastic.co/t/search-across-many-types-became-to-work-incorrectly/8904 "2012-08-31T14:22:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgeniy\_Galkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evgeniy_galkin/32/2741_2.png) [@Evgeniy\_Galkin](https://discuss.elastic.co/u/Evgeniy_Galkin)\
**Post date:** [August 31, 2012, 2:22pm UTC](https://discuss.elastic.co/t/search-across-many-types-became-to-work-incorrectly/8904/1 "2012-08-31T14:22:52Z")

</div>

I have some elasticsearch index with 6 types in it.  
Recently I've found an issue. When I performing 1 query across many types,  
it didn't return results of some types, even if query matches them.  
Here is the simple example.

If I performing query like these:  
curl -XGET "[http://127.0.0.1:9200/fts/comment/\_search](http://127.0.0.1:9200/fts/comment/_search)" -d "{my\_query}"  
curl -XGET "[http://127.0.0.1:9200/fts/category,comment/\_search](http://127.0.0.1:9200/fts/category,comment/_search)" -d  
"{my\_query}"  
I get some results, because my\_query matches some documents that have type  
comment.

But if I do one of the following:  
curl -XGET "[http://127.0.0.1:9200/fts/category,product,comment/\_search](http://127.0.0.1:9200/fts/category,product,comment/_search)" -d  
"{my\_query}"  
curl -XGET "[http://127.0.0.1:9200/fts/\_all/\_search](http://127.0.0.1:9200/fts/_all/_search)" -d "{my\_query}"  
curl -XGET "[http://127.0.0.1:9200/fts/\_search](http://127.0.0.1:9200/fts/_search)" -d "{my\_query}"

I get no any results, although my\_query is the same and it should match  
some comments.

About 2 months ago everything was working ok, but recently I've noticed  
such problem. There was no any changes during this period, except everyday  
adding of new documents and adding of a new slave non-data cluster node on  
other physical server.  
Is it a bug or what? Is there any workarounds?  
Any help would be appreciated!

--

---

<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:** [July 6, 2017, 3:14am UTC](https://discuss.elastic.co/t/search-across-many-types-became-to-work-incorrectly/8904/2 "2017-07-06T03:14:25Z")

</div>


