i have two documents stored in elasticsearch
database
one is
{
q :["python" , "foo"]
}
and other is
{
q :["python" , "moo","foo"]
}
now my problem is to search
document in which python
is on index 0
and foo
is on index 1
how to acheive this?
i have read about bool
query of elasticsearch
but could not figure out how to use it kindly help!