Any possible solution would require evaluating every document once for each
query since the indices are no longer helpful. I would just catch the
equality condition at index time and create a new field that indicates if
the fields are equal or not. Of course, this solution doesn't scale well if
you want to compare more than the same two fields.
--
Ivan
On Thu, Aug 22, 2013 at 11:19 PM, simonw
simon.willnauer@elasticsearch.comwrote:
I am not sure what your usecase is but I think you could go an do this
lazily once you need this information since ES is fast enough?
you also might wanna look at "more like this" (
http://www.elasticsearch.org/guide/reference/api/more-like-this/)
otherwise yeah you need to iterate 
simon
On Thursday, August 22, 2013 10:37:19 PM UTC+2, Alex Brown wrote:
I didn't think so.
Any idea how i'd even start implementing that?
Or is it a case of:
Get all documents
for each document, compare against other documents...
(which is what i'm doing now with mongodb)
Alex
On 22 August 2013 21:32, simonw <simon.w...@**elasticsearch.com> wrote:
I completely misread your question, nevermind! queries like you ask for
don't work our of the box.
simon
On Thursday, August 22, 2013 10:29:14 PM UTC+2, Alex Brown wrote:
It's very strange!
It happens every time i paste in that question!
Thanks for your reply,
I checked bool query, but it still expects a value to compare on?
Or am I missing something?
On Thursday, 22 August 2013 19:55:17 UTC+1, simonw wrote:
not sure why it is deleted but you might just wanna look at
http://www.elasticsearch.org/guide/reference/query-dsl/bool-
query/http://www.elasticsearch.org/guide/reference/query-dsl/bool-query/
so the short answer is yes, it's possible
On Thursday, August 22, 2013 3:29:20 PM UTC+2, Alex Brown wrote:
The question is:
http://stackoverflow.com/questions/18381821/finding-document
s-with-specified-**matching-**properties-with-**elasticsearchhttp://stackoverflow.com/questions/18381821/finding-documents-with-specified-matching-properties-with-elasticsearch
On Thursday, 22 August 2013 14:09:49 UTC+1, Alex Brown wrote:
I posted on here earlier, but it was immediately deleted.
Any idea why?
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/**
topic/elasticsearch/**EUbY6t4wbBk/unsubscribehttps://groups.google.com/d/topic/elasticsearch/EUbY6t4wbBk/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
elasticsearc...@**googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://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.