Hi,
I'm trying to search with REST Client and while the http requests are
working OK, when I add a Body query it ignores the query.
For example -
URL(http request):
http://localhost:9200/cinemagramcin/documents/_search http://localhost:9200/cinemagramcin/documents/_search
Body:
{
"from" : 0, "size" : 20,
"query" : {
"term" : { "description" : "kids" }
}
}
Is REST Client the right tool to use?
Thanks,
Ophir
--
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 .
Hiya
I'm trying to search with REST Client and while the http requests are
working OK, when I add a Body query it ignores the query.
Javascript doesn't do GET requests with a body. You can use a POST
request instead
clint
For example -
URL(http request):
http://localhost:9200/cinemagramcin/documents/_search
Body:
{
"from" : 0, "size" : 20,
"query" : {
"term" : { "description" : "kids" }
}
}
Is REST Client the right tool to use?
Thanks,
Ophir
--
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 .
--
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 .
mattweber
(Matt Weber)
February 12, 2013, 7:55pm
3
If you are using javascript you might want to checkout Elastic.js...
Thanks,
Matt Weber
On Tue, Feb 12, 2013 at 7:04 AM, Clinton Gormley clint@traveljury.com wrote:
Hiya
I'm trying to search with REST Client and while the http requests are
working OK, when I add a Body query it ignores the query.
Javascript doesn't do GET requests with a body. You can use a POST
request instead
clint
For example -
URL(http request):
http://localhost:9200/cinemagramcin/documents/_search
Body:
{
"from" : 0, "size" : 20,
"query" : {
"term" : { "description" : "kids" }
}
}
Is REST Client the right tool to use?
Thanks,
Ophir
--
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 .
--
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 .
--
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 .