# Multi Search with Scan Search Type?

**URL:** <https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263>\
**Category:** Elasticsearch\
**Created:** [June 29, 2012, 3:27pm UTC](https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263 "2012-06-29T15:27:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vlad\_Grigorescu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vlad_grigorescu/32/2838_2.png) [@Vlad\_Grigorescu](https://discuss.elastic.co/u/Vlad_Grigorescu)\
**Post date:** [June 29, 2012, 3:27pm UTC](https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263/1 "2012-06-29T15:27:24Z")

</div>

Hello,

I'm trying to use the Multi Search API to issue several scroll searches.  
Anyone have any idea how I would do that?

curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
{"index": "logs", "type": "dns"}  
{"scroll": "10m"}  
'

[No parser for element [scroll]]

curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
{"index": "logs", "type": "dns", "scroll": "10m"}  
{}  
'

ElasticSearchException[Scroll must be provided when scanning...]

curl 'localhost:9200/\_msearch?search\_type=scan&scroll=10m' -d '  
{"index": "logs", "type": "dns"}  
{}  
'

ElasticSearchException[Scroll must be provided when scanning...]

What I'm trying to do is to get a per-type scroll, so that my web interface  
can have a tab per-type. Thanks,

--Vlad

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 29, 2012, 6:31pm UTC](https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263/2 "2012-06-29T18:31:49Z")

</div>

There isn't support to use multi search request and to scroll the results.

On Fri, Jun 29, 2012 at 5:27 PM, Vlad Grigorescu [grigorescu@gmail.com](mailto:grigorescu@gmail.com)wrote:

> Hello,
> 
> I'm trying to use the Multi Search API to issue several scroll searches.  
> Anyone have any idea how I would do that?
> 
> curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
> {"index": "logs", "type": "dns"}  
> {"scroll": "10m"}  
> '
> 
> [No parser for element [scroll]]
> 
> curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
> {"index": "logs", "type": "dns", "scroll": "10m"}  
> {}  
> '
> 
> ElasticSearchException[Scroll must be provided when scanning...]
> 
> curl 'localhost:9200/\_msearch?search\_type=scan&scroll=10m' -d '
> 
> {"index": "logs", "type": "dns"}  
> {}  
> '
> 
> ElasticSearchException[Scroll must be provided when scanning...]
> 
> What I'm trying to do is to get a per-type scroll, so that my web  
> interface can have a tab per-type. Thanks,
> 
> --Vlad

---

<div class="post-metadata">

**Author:** ![Arjit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Arjit\_Gupta](https://discuss.elastic.co/u/Arjit_Gupta)\
**Post date:** [September 4, 2013, 11:23am UTC](https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263/3 "2013-09-04T11:23:54Z")

</div>

Hi,

Is the functionality of scroll while doing multi search available now ?

Thanks,  
Arjit

On Friday, June 29, 2012 8:57:24 PM UTC+5:30, Vlad Grigorescu wrote:

> Hello,
> 
> I'm trying to use the Multi Search API to issue several scroll searches.  
> Anyone have any idea how I would do that?
> 
> curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
> {"index": "logs", "type": "dns"}  
> {"scroll": "10m"}  
> '
> 
> [No parser for element [scroll]]
> 
> curl 'localhost:9200/\_msearch?search\_type=scan' -d '  
> {"index": "logs", "type": "dns", "scroll": "10m"}  
> {}  
> '
> 
> ElasticSearchException[Scroll must be provided when scanning...]
> 
> curl 'localhost:9200/\_msearch?search\_type=scan&scroll=10m' -d '
> 
> {"index": "logs", "type": "dns"}  
> {}  
> '
> 
> ElasticSearchException[Scroll must be provided when scanning...]
> 
> What I'm trying to do is to get a per-type scroll, so that my web  
> interface can have a tab per-type. Thanks,
> 
> --Vlad

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:18am UTC](https://discuss.elastic.co/t/multi-search-with-scan-search-type/8263/4 "2017-07-06T02:18:17Z")

</div>


