benmccann
(Ben McCann)
November 12, 2013, 8:25pm
1
Hi,
I'd like to find how ElasticSearch would score 100 documents for a query. I
only care about the final score and not how it was computed. It seems that
the Explain APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html is the best method of figuring this out. Is it possible to combine this
with the Bulk APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html so that I don't have to hit ElasticSearch 100 times? My initial indication
is that you can't do it today. Would it be a reasonable thing for me to
file a feature request for in Github?
Thanks,
Ben
--
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 .
Ivan
(Ivan Brusic)
November 12, 2013, 8:35pm
2
Can you run a the same query with an ids filter and explain enabled? The
ids filter will not contribute to the scoring and will only return the
relevant documents.
Cheers,
Ivan
On Tue, Nov 12, 2013 at 12:25 PM, Ben McCann benjamin.j.mccann@gmail.com wrote:
Hi,
I'd like to find how Elasticsearch would score 100 documents for a query.
I only care about the final score and not how it was computed. It seems
that the Explain APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html is the best method of figuring this out. Is it possible to combine this
with the Bulk APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html so that I don't have to hit Elasticsearch 100 times? My initial indication
is that you can't do it today. Would it be a reasonable thing for me to
file a feature request for in Github?
Thanks,
Ben
--
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 .
Yeah, that's a great idea. Thanks Ivan!
On Tue, Nov 12, 2013 at 12:35 PM, Ivan Brusic ivan@brusic.com wrote:
Can you run a the same query with an ids filter and explain enabled? The
ids filter will not contribute to the scoring and will only return the
relevant documents.
Cheers,
Ivan
On Tue, Nov 12, 2013 at 12:25 PM, Ben McCann benjamin.j.mccann@gmail.com wrote:
Hi,
I'd like to find how Elasticsearch would score 100 documents for a query.
I only care about the final score and not how it was computed. It seems
that the Explain APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-explain.html is the best method of figuring this out. Is it possible to combine this
with the Bulk APIhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html so that I don't have to hit Elasticsearch 100 times? My initial indication
is that you can't do it today. Would it be a reasonable thing for me to
file a feature request for in Github?
Thanks,
Ben
--
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/Pir6QpPPFJQ/unsubscribe .
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 .