Newbie question about relevance

Hi,

I'm quite new in this area of elastic search, lucene etc.
So I have quite a basic question.

How do I compare multiple document and see their relevance in the different
field.

E.g. I have two documents, containing different fields: name, company,
phone etc. I want to see how "much" they compare. For example they might be
comparable 80%, because only a couple of fields differs.
How do I query such a search?

PS: I am using couchbase, but I am replicating my data to Elasticseach for
making specific search and now I want this comparison.

-Cheers!

/Steffen

--
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 might be looking for "MoreLikeThis" queries. This allows you to find
similar documents, with one specific document as the starting point.

If that's not what you meant, please give a little more detail what you are
trying to accomplish.

Marian

Am Dienstag, 9. April 2013 12:49:46 UTC+2 schrieb Steffen Larsen:

Hi,

I'm quite new in this area of Elasticsearch, lucene etc.
So I have quite a basic question.

How do I compare multiple document and see their relevance in the
different field.

E.g. I have two documents, containing different fields: name, company,
phone etc. I want to see how "much" they compare. For example they might be
comparable 80%, because only a couple of fields differs.
How do I query such a search?

PS: I am using couchbase, but I am replicating my data to Elasticseach for
making specific search and now I want this comparison.

-Cheers!

/Steffen

--
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.

Lucene provides an "explanation" for each document regarding how/why they
match a query:

The output can be difficult to read if your queries are elaborate. The
explain object will not compare two documents relative to each other, just
to the query. Elasticsearch also exposes an Explain API which executes a
query only on a specific document:

--
Ivan

On Tue, Apr 9, 2013 at 3:49 AM, Steffen Larsen zooldk@gmail.com wrote:

Hi,

I'm quite new in this area of Elasticsearch, lucene etc.
So I have quite a basic question.

How do I compare multiple document and see their relevance in the
different field.

E.g. I have two documents, containing different fields: name, company,
phone etc. I want to see how "much" they compare. For example they might be
comparable 80%, because only a couple of fields differs.
How do I query such a search?

PS: I am using couchbase, but I am replicating my data to Elasticseach for
making specific search and now I want this comparison.

-Cheers!

/Steffen

--
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.

Hi,

Thanks for the answers. I'll have a look at the explain and 'more-like-this' doc. Seems promising.

-Cheers"
/Steffen

On Apr 9, 2013, at 4:21 PM, Ivan Brusic ivan@brusic.com wrote:

Lucene provides an "explanation" for each document regarding how/why they match a query: Elasticsearch Platform — Find real-time answers at scale | Elastic

The output can be difficult to read if your queries are elaborate. The explain object will not compare two documents relative to each other, just to the query. Elasticsearch also exposes an Explain API which executes a query only on a specific document: Elasticsearch Platform — Find real-time answers at scale | Elastic

--
Ivan

On Tue, Apr 9, 2013 at 3:49 AM, Steffen Larsen zooldk@gmail.com wrote:
Hi,

I'm quite new in this area of Elasticsearch, lucene etc.
So I have quite a basic question.

How do I compare multiple document and see their relevance in the different field.

E.g. I have two documents, containing different fields: name, company, phone etc. I want to see how "much" they compare. For example they might be comparable 80%, because only a couple of fields differs.
How do I query such a search?

PS: I am using couchbase, but I am replicating my data to Elasticseach for making specific search and now I want this comparison.

-Cheers!

/Steffen

--
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 a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/oKknEce4rcI/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, 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.