# Site-wide search with elasticsearch

**URL:** <https://discuss.elastic.co/t/site-wide-search-with-elasticsearch/8664>\
**Category:** Elasticsearch\
**Created:** [August 8, 2012, 3:46am UTC](https://discuss.elastic.co/t/site-wide-search-with-elasticsearch/8664 "2012-08-08T03:46:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon48959148](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon48959148](https://discuss.elastic.co/u/anon48959148)\
**Post date:** [August 8, 2012, 3:46am UTC](https://discuss.elastic.co/t/site-wide-search-with-elasticsearch/8664/1 "2012-08-08T03:46:05Z")

</div>

In my index, I have different "types", for example "account", "posts",  
"tags" and so on.

I want to create a site-wide search where we search the user's query  
against certain fields + conditions in account, another site of fields +  
conditions in posts and the same for tags. Essentially, this is going to be  
an "omnibox", similiar to how Facebook's search will return different  
types, (users, groups, etc).

I have been looking at the multi search api (  
[http://www.elasticsearch.org/guide/reference/api/multi-search.html](http://www.elasticsearch.org/guide/reference/api/multi-search.html)) and it  
looks like I can send multiple queries to ES. The problem, however, is that  
I would like to do some paganiation using from and size. Does the  
multisearch API support from and size?

If not, are there any other options for doing a site-wide search with  
different types?

---

<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:17am UTC](https://discuss.elastic.co/t/site-wide-search-with-elasticsearch/8664/2 "2017-07-06T03:17:19Z")

</div>


