Terms stats facet - Additional information

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,

  1. ids of matching docs in an array or so.
  2. 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.

What you are probably looking for is field collapsing, which is a popular
(but still not implemented request) feature:

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

  1. ids of matching docs in an array or so.
  2. 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:

  1. Run a query to generate facets
  2. 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,

  1. ids of matching docs in an array or so.
  2. 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.