Re: Field Grouping problem/question

2012-10-25 Thread Tomás Fernández Löbbe
By default you get the top result from each group (if you are not sorting on a field specifically, then you should be getting the document with the highest score per group). This can be changed with the "group.limit" parameter. See http://wiki.apache.org/solr/FieldCollapsing#Request_Parameters To

Re: Field grouping?

2011-08-31 Thread Denis Kuzmenok
But i don't know what values would be price field in that query. It can be 100-1000, and 10-100, and i want to get ranges in every query, just split price field by docs number. > Yes, Ranged Facets > http://wiki.apache.org/solr/SimpleFacetParameters#Facet_by_Range > 2011/8/31 Denis Kuzmenok

Re: Field grouping?

2011-08-31 Thread Alexei Martchenko
Yes, Ranged Facets http://wiki.apache.org/solr/SimpleFacetParameters#Facet_by_Range 2011/8/31 Denis Kuzmenok > Hi. > > Suppose i have a field "price" with different values, and i want to > get ranges for this field depending on docs count, for example i want > to get 5 ranges for 100 docs w

Re: Field Grouping

2008-05-15 Thread Uri Boness
Hi, I'm actually quite interested in this feature. What is the ranking strategy for the group? is it based on the highest ranking document with in the group? is it configurable? cheers, Uri oleg_gnatovskiy wrote: Yes, that is the patch I am trying to get to work. It doesn't have a feature f

Re: Field Grouping

2008-05-14 Thread oleg_gnatovskiy
Yes, that is the patch I am trying to get to work. It doesn't have a feature for distributed search. ryantxu wrote: > > You may want to check "field collapsing" > https://issues.apache.org/jira/browse/SOLR-236 > > There is a patch that works against 1.2, but the one for trunk needs > some wo

Re: Field Grouping

2008-05-13 Thread Ryan McKinley
You may want to check "field collapsing" https://issues.apache.org/jira/browse/SOLR-236 There is a patch that works against 1.2, but the one for trunk needs some work before it can work... ryan On May 13, 2008, at 2:46 PM, oleg_gnatovskiy wrote: There is an XSLT example here: http://wiki.

Re: Field Grouping

2008-05-13 Thread oleg_gnatovskiy
There is an XSLT example here: http://wiki.apache.org/solr/XsltResponseWriter , but it doesn't seem like that would work either... This example would only do a group by for the current page. If I use Solr for pagination, this would not work for me. oleg_gnatovskiy wrote: > > But I don't want th

Re: Field Grouping

2008-05-12 Thread oleg_gnatovskiy
But I don't want the search results to be ranked based on that field. I only want all the documents with the same value grouped together... The way my system is set up, most documents will have that field empty. Thus, if Is rot by it, those documents that have a value will bubble to the top...

Re: Field Grouping

2008-05-12 Thread Yonik Seeley
On Mon, May 12, 2008 at 9:58 PM, oleg_gnatovskiy <[EMAIL PROTECTED]> wrote: > Hello. I was wondering if there is a way to get solr to return fields with > the same value for a particular field together. For example I might want to > have all the documents with exactly the same name field all ret