Re: Filtering on nGroups
You may want to check this out: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=62693238 It does aggregations that might work for you. Joel Bernstein http://joelsolr.blogspot.com/ On Fri, May 6, 2016 at 2:31 PM, Nick Vasilyevwrote: > I guess it would also work if I could facet on the group counts. I just > need to know how many groups of different sizes there are. > > On Fri, May 6, 2016 at 2:10 PM, Nick Vasilyev > wrote: > > > I am on 6.1 preview, I just need this to gather some one time metrics so > > performance isn't an issue. > > On May 6, 2016 1:13 PM, "Erick Erickson" > wrote: > > > > What version of Solr? Regardless, if you can pre-process > > at index time it'll be faster than anything else (probably). > > > > pre-processing isn't very dynamic though so there are lots > > of situations where that's just not viable. > > > > Best, > > Erick > > > > On Thu, May 5, 2016 at 6:05 PM, Nick Vasilyev > > wrote: > > > I am grouping documents on a field and would like to retrieve documents > > > where the number of items in a group matches a specific value or a > range. > > > > > > I haven't been able to experiment with all new functionality, but I > > wanted > > > to see if this is possible without having to calculate the count and > add > > it > > > at index time as a field. > > > > > > Does anyone have any ideas? > > > > > > Thanks in advance > > > > >
Re: Filtering on nGroups
I guess it would also work if I could facet on the group counts. I just need to know how many groups of different sizes there are. On Fri, May 6, 2016 at 2:10 PM, Nick Vasilyevwrote: > I am on 6.1 preview, I just need this to gather some one time metrics so > performance isn't an issue. > On May 6, 2016 1:13 PM, "Erick Erickson" wrote: > > What version of Solr? Regardless, if you can pre-process > at index time it'll be faster than anything else (probably). > > pre-processing isn't very dynamic though so there are lots > of situations where that's just not viable. > > Best, > Erick > > On Thu, May 5, 2016 at 6:05 PM, Nick Vasilyev > wrote: > > I am grouping documents on a field and would like to retrieve documents > > where the number of items in a group matches a specific value or a range. > > > > I haven't been able to experiment with all new functionality, but I > wanted > > to see if this is possible without having to calculate the count and add > it > > at index time as a field. > > > > Does anyone have any ideas? > > > > Thanks in advance > >
Re: Filtering on nGroups
I am on 6.1 preview, I just need this to gather some one time metrics so performance isn't an issue. On May 6, 2016 1:13 PM, "Erick Erickson"wrote: What version of Solr? Regardless, if you can pre-process at index time it'll be faster than anything else (probably). pre-processing isn't very dynamic though so there are lots of situations where that's just not viable. Best, Erick On Thu, May 5, 2016 at 6:05 PM, Nick Vasilyev wrote: > I am grouping documents on a field and would like to retrieve documents > where the number of items in a group matches a specific value or a range. > > I haven't been able to experiment with all new functionality, but I wanted > to see if this is possible without having to calculate the count and add it > at index time as a field. > > Does anyone have any ideas? > > Thanks in advance
Re: Filtering on nGroups
What version of Solr? Regardless, if you can pre-process at index time it'll be faster than anything else (probably). pre-processing isn't very dynamic though so there are lots of situations where that's just not viable. Best, Erick On Thu, May 5, 2016 at 6:05 PM, Nick Vasilyevwrote: > I am grouping documents on a field and would like to retrieve documents > where the number of items in a group matches a specific value or a range. > > I haven't been able to experiment with all new functionality, but I wanted > to see if this is possible without having to calculate the count and add it > at index time as a field. > > Does anyone have any ideas? > > Thanks in advance
Filtering on nGroups
I am grouping documents on a field and would like to retrieve documents where the number of items in a group matches a specific value or a range. I haven't been able to experiment with all new functionality, but I wanted to see if this is possible without having to calculate the count and add it at index time as a field. Does anyone have any ideas? Thanks in advance