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...
Yonik Seeley wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Field-Grouping-tp17199592p17201424.html Sent from the Solr - User mailing list archive at Nabble.com.