I got the following successfully indexed in Elasticsearch but the
query fails. Any idea how I can search for the value of "owner that
is
mongo"
curl -XPUT http://localhost:9200/twitter/tweet/2 -d '{
"bbkd:title": {
"@ABCD:owner": "mongo",
"@ABCD:email": "T",
"#text": "Test"
}}'
Hi Kara,
I got it with something like this:
curl -XGET http://localhost:9200/_search -d '{ "query" : { "term" :
{ "bbkd:title.@ABCD:owner" : "mongo" }}}'
Hope this helps.
On Mar 6, 10:15 pm, Kara karine.marab...@aero.org wrote:
I got the following successfully indexed in Elasticsearch but the
query fails. Any idea how I can search for the value of "owner that
is
mongo"
curl -XPUThttp://localhost:9200/twitter/tweet/2-d '{
"bbkd:title": {
"@ABCD:owner": "mongo",
"@ABCD:email": "T",
"#text": "Test"
}}'