What I'm trying to do it's something like it's been done on the example above. I'm not being able to understand it clear so where it goes what I'm trying to do.
I wanna be able to present data that I've got in two index like in the example. Can someone explain it to me in a more clear way? What I'm trying to achive, it's a query that giving a certain code, gets a string from another index. If you got questions, or if it's confusing please let me know.
i have one index like userdata , in userdata index emailid and password there , please tell me term query or another query to find exact match . now i m using term query to check emailid and passwrd from my all inder record but didnt return the result .. please help me..
now i m using this syntax . but not working
query : { "bool" :
{
"must" :
[
{ "bool" :
{"must":[
{ "match" : {email_id : {query : email} } },
{ "match" : {password : {query : password} } }
]
}
}
]
}
}
Note - i want to exact match emailid and password value from userdata index records and return only one record if exact match otherwise no result .
@Anish_Ansari please open your own question. This seems unrelated.
Also please provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.
A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.
Please open your own question. This seems unrelated.
I'm not going to answer here.
And please follow the instructions I gave previously (full reproduction script, well formatted) if you want to get faster answers.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.