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 returned next to > each other. Is this possible? Thanks!
Sort by that field. Since you can only sort by fields with a single term at most (this rules out full-text fields), you might want to do a copyField of the "name" field to something like a "name_s" field which is of type string (which can be sorted on). -Yonik