Hi,

This almost seems like a bug, but I can't be sure so I'm seeking
confirmation.  Basically I am building a site that presents search results
in reverse chronologically order.  I am also leveraging the field collapse
feature so that I can group results using 'adjacent' mode and have solr
return the collapsed results as well via 'includeCollapsedDocs'.  My
collapsing field is a custom grouping_id that I have specified.

What I'm noticing is that, my search results are coming back in the correct
order by descending time (via 'sort' param in the main query) as expected. 
However, the results returned within the 'collapsedDocs' section via
'includeCollapsedDocs' are not in the same descending time order.  

My question is, shouldn't the collapsedDocs results also be in the same
'sort' order and key I have specified in the overall query, particularly
since 'adjacent' mode is enabled, and that would mean results that are
'adjacent' in the sort order of the results.

I'm using Solr 1.4.0 + field collapse patch as of 10/27/2009

Thanks,
Michael

-- 
View this message in context: 
http://old.nabble.com/field-collapse-using-%27adjacent%27---%27includeCollapsedDocs%27-%2B-%27sort%27-query-field-tp26351840p26351840.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to