dilshan
(dilshan)
May 21, 2013, 7:20am
1
Hi,
In the current implementation of terms stats facethttp://www.elasticsearch.org/guide/reference/api/search/facets/terms-stats-facet/ ,
it returns following information about the term.
"term" : 4728,
"count" : 5,
"total_count" : 5,
"min" : 0.8173637390136719,
"max" : 1.0706526041030884,
"total" : 4.715699732303619,
"mean" : 0.9431399464607239
Can we get more information about these terms? I'm looking for info like,
ids of matching docs in an array or so.
some field value of matching docs in array or so.
Is there a possibility of doing such a thing? (May be using a facet other
than terms-stats)
Thanks,
Dilshan.
--
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)
May 22, 2013, 4:46am
2
What you are probably looking for is field collapsing, which is a popular
(but still not implemented request) feature:
opened 05:02PM - 13 Jul 10 UTC
closed 02:08PM - 23 May 14 UTC
Ability to collapse on a field. For example, I want the most relevant result fro… m all different report types. Or similarly, the most recent result of each report type. Or maybe, I want to de-dup on headline.
So, the sort order would dictate which one from the group is returned. Similar to what is discussed here:
http://blog.jteam.nl/2009/10/20/result-grouping-field-collapsing-with-solr/
From my understanding, it seems that in order for field collapsing to be efficient, the result set must be relatively small.
This is also referred to as "Combine" on some other search products.
--
Ivan
On Tue, May 21, 2013 at 12:20 AM, dilshan dilshan@calcey.com wrote:
Hi,
In the current implementation of terms stats facethttp://www.elasticsearch.org/guide/reference/api/search/facets/terms-stats-facet/ ,
it returns following information about the term.
"term" : 4728,
"count" : 5,
"total_count" : 5,
"min" : 0.8173637390136719,
"max" : 1.0706526041030884,
"total" : 4.715699732303619,
"mean" : 0.9431399464607239
Can we get more information about these terms? I'm looking for info like,
ids of matching docs in an array or so.
some field value of matching docs in array or so.
Is there a possibility of doing such a thing? (May be using a facet other
than terms-stats)
Thanks,
Dilshan.
--
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 .
What you can do is:
Run a query to generate facets
Use multi-search to pull back the docs for each facet result
clint
On 22 May 2013 06:46, Ivan Brusic ivan@brusic.com wrote:
What you are probably looking for is field collapsing, which is a popular
(but still not implemented request) feature:
Field Collapsing/Combining · Issue #256 · elastic/elasticsearch · GitHub
--
Ivan
On Tue, May 21, 2013 at 12:20 AM, dilshan dilshan@calcey.com wrote:
Hi,
In the current implementation of terms stats facethttp://www.elasticsearch.org/guide/reference/api/search/facets/terms-stats-facet/ ,
it returns following information about the term.
"term" : 4728,
"count" : 5,
"total_count" : 5,
"min" : 0.8173637390136719,
"max" : 1.0706526041030884,
"total" : 4.715699732303619,
"mean" : 0.9431399464607239
Can we get more information about these terms? I'm looking for info like,
ids of matching docs in an array or so.
some field value of matching docs in array or so.
Is there a possibility of doing such a thing? (May be using a facet other
than terms-stats)
Thanks,
Dilshan.
--
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 .
--
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 .