How can I cancel a search request?

Hi all,
Are there some way to cancel a search request?
Sometimes, there is the request which costs too much time, so I want
to cancel it?
Does ES support this kind of function or API to cancel the search
request?

 One more question, If there are two request A and B. 
 A is sent at first time, and it is running long time. when I send B 

after A, if it is possible that B process cover A?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No, you can't cancel a running request. Perhaps the timeout option is
useful in your situation:
http://www.elasticsearch.org/guide/reference/api/search/uri-request/

This allows you to timebox a search.

On 18 April 2013 09:46, Hoony monkeyboywon@gmail.com wrote:

Hi all,
Are there some way to cancel a search request?
Sometimes, there is the request which costs too much time, so I want
to cancel it?
Does ES support this kind of function or API to cancel the search
request?

 One more question, If there are two request A and B.
 A is sent at first time, and it is running long time. when I send B

after A, if it is possible that B process cover A?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Is ES's inability to cancel search, by design? Or just something that
hasn't been gotten around to being written yet?

On Thursday, April 18, 2013 3:16:46 AM UTC-5, Martijn v Groningen wrote:

No, you can't cancel a running request. Perhaps the timeout option is
useful in your situation:
http://www.elasticsearch.org/guide/reference/api/search/uri-request/

This allows you to timebox a search.

On 18 April 2013 09:46, Hoony <monkey...@gmail.com <javascript:>> wrote:

Hi all,
Are there some way to cancel a search request?
Sometimes, there is the request which costs too much time, so I want
to cancel it?
Does ES support this kind of function or API to cancel the search
request?

 One more question, If there are two request A and B. 
 A is sent at first time, and it is running long time. when I send B 

after A, if it is possible that B process cover A?

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

We might have something like this in the future. What kind of searches are
you executing that take so much time? Maybe these searches can be optimized.

On 19 April 2013 04:58, caphrim007 caphrim007@gmail.com wrote:

Is ES's inability to cancel search, by design? Or just something that
hasn't been gotten around to being written yet?

On Thursday, April 18, 2013 3:16:46 AM UTC-5, Martijn v Groningen wrote:

No, you can't cancel a running request. Perhaps the timeout option is
useful in your situation:
http://www.elasticsearch.org/**guide/reference/api/search/**uri-request/http://www.elasticsearch.org/guide/reference/api/search/uri-request/

This allows you to timebox a search.

On 18 April 2013 09:46, Hoony monkey...@gmail.com wrote:

Hi all,
Are there some way to cancel a search request?
Sometimes, there is the request which costs too much time, so I
want to cancel it?
Does ES support this kind of function or API to cancel the search
request?

 One more question, If there are two request A and B.
 A is sent at first time, and it is running long time. when I send B

after A, if it is possible that B process cover A?

--
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 elasticsearc...@**googlegroups.com.

For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

--
Met vriendelijke groet,

Martijn van Groningen

--
Met vriendelijke groet,

Martijn van Groningen

--
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.
For more options, visit https://groups.google.com/groups/opt_out.