Say I have documents with 

{
   primary: sport
   secondary: swimming
}

{
  primary: walking
  secondary: reading
}

Is there a way in ElasticSearch that I can query 
where primary = secondary ?
(without specifying any literal value for primary or secondary fields ?)

Thanks,

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8395c96c-dee2-445a-aa36-0b438c9085a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to