lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn v Groningen <>
Subject Re: field collapsing sums
Date Fri, 02 Oct 2009 10:09:59 GMT
Well that is odd. How have you configured field collapsing with the
dismax request handler?
The collapse counts should X - 1 (if collapse.threshold=1).


2009/10/1 Joe Calderon <>:
> thx for the reply, i just want the number of dupes in the query
> result, but it seems i dont get the correct totals,
> for example a non collapsed dismax query for belgian beer returns X
> number results
> but when i collapse and sum the number of docs under collapse_counts,
> its much less than X
> it does seem to work when the collapsed results fit on one page (10
> rows in my case)
> --joe
>> 2) It seems that you are using the parameters as was intended. The
>> collapsed documents will contain all documents (from whole query
>> result) that have been collapsed on a certain field value that occurs
>> in the result set that is being displayed. That is how it should work.
>> But if I'm understanding you correctly you want to display all dupes
>> from the whole query result set (also those which collapse field value
>> does not occur in the in the displayed result set)?

Met vriendelijke groet,

Martijn van Groningen

View raw message