lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn v Groningen <martijn.is.h...@gmail.com>
Subject Re: question about collapse.type = adjacent
Date Mon, 02 Nov 2009 19:50:29 GMT
Hi Micheal,

Field collapsing is basicly done in two steps. The first step is to
get the uncollapsed sorted (whether it is score or a field value)
documents and the second step is to apply the collapse algorithm on
the uncollapsed documents. So yes, when specifying
collapse.type=adjacent the documents can get collapsed after the sort
has been applied, but this also the case when not specifying
collapse.type=adjacent
I hope this answers your question.

Cheers,

Martijn

2009/11/2 michael8 <michael@saracatech.com>:
>
> Hi,
>
> I would like to confirm if 'adjacent' in collapse.type means the documents
> (with the same collapse field value) are considered adjacent *after* the
> 'sort' param from the query has been applied, or *before*?  I would think it
> would be *after* since collapse feature primarily is meant for presentation
> use.
>
> Thanks,
> Michael
> --
> View this message in context: http://old.nabble.com/question-about-collapse.type-%3D-adjacent-tp26157114p26157114.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Met vriendelijke groet,

Martijn van Groningen

Mime
View raw message