Abort requested query

Hi there,

Is it possible with the java client to abort an already started query? This
would look like this:

  1. Prepare query
  2. Execute
  3. Wait a while (maybe 1-2 seconds)
  4. Notice that the query result isn't needed
  5. Call abort
  6. Immediately free any resources allocated to that specific query

Best regards,

Robin Verlangen
Data Architect
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

http://goo.gl/Lt7BC
What is CloudPelican? http://goo.gl/HkB3D

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

--
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.

Does anyone out here have a clue whether this is possible?

Best regards,

Robin Verlangen
Data Architect
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

http://goo.gl/Lt7BC
What is CloudPelican? http://goo.gl/HkB3D

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

On Wed, Jul 3, 2013 at 5:46 PM, Robin Verlangen robin@us2.nl wrote:

Hi there,

Is it possible with the java client to abort an already started query?
This would look like this:

  1. Prepare query
  2. Execute
  3. Wait a while (maybe 1-2 seconds)
  4. Notice that the query result isn't needed
  5. Call abort
  6. Immediately free any resources allocated to that specific query

Best regards,

Robin Verlangen
Data Architect
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

http://goo.gl/Lt7BC
What is CloudPelican? http://goo.gl/HkB3D

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

--
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.

Hi Robin,

There is no real abort mechanism in the way you are describing it.

The Java client has an async api (with ActionFuture) that allows to ignore
the search execution from the client side. Maybe that is useful for you,
but it doesn't clean up any server side resources.

Martijn

On 5 July 2013 07:43, Robin Verlangen robin@us2.nl wrote:

Does anyone out here have a clue whether this is possible?

Best regards,

Robin Verlangen
Data Architect
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

http://goo.gl/Lt7BC
What is CloudPelican? http://goo.gl/HkB3D

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

On Wed, Jul 3, 2013 at 5:46 PM, Robin Verlangen robin@us2.nl wrote:

Hi there,

Is it possible with the java client to abort an already started query?
This would look like this:

  1. Prepare query
  2. Execute
  3. Wait a while (maybe 1-2 seconds)
  4. Notice that the query result isn't needed
  5. Call abort
  6. Immediately free any resources allocated to that specific query

Best regards,

Robin Verlangen
Data Architect
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

http://goo.gl/Lt7BC
What is CloudPelican? http://goo.gl/HkB3D

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

--
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.