lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <>
Subject [jira] [Commented] (SOLR-5408) Collapsing Query Parser does not respect multiple Sort fields
Date Mon, 11 Nov 2013 22:56:17 GMT


Joel Bernstein commented on SOLR-5408:


I believe this patch should resolve the issue. It was created on branch_4x. If it doesn't
apply to your build, let me know and I'll create a patch for the version you're working with.

The problem was that the scorer needed to be set on the delegate collecter after each segment
reader was set. The initial code was setting the scorer on the delegate collector only once,
which worked fine for single sort critera. 


> Collapsing Query Parser does not respect multiple Sort fields
> -------------------------------------------------------------
>                 Key: SOLR-5408
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.5
>            Reporter: Brandon Chapman
>            Assignee: Joel Bernstein
>            Priority: Critical
>         Attachments: SOLR-5408.patch
> When using the collapsing query parser, only the last sort field appears to be used.
> <result name="response" numFound="5927" start="0" maxScore="5.6674457">
> <doc>
> <str name="psid">3002010250210</str>
> <str name="name_eng">
> ZOTAC ZBOX nano XS AD13 Plus All-In-One PC (AMD E2-1800/2GB RAM/64GB SSD)
> </str>
> <float name="score">0.41423172</float>
> </doc>
> The same query without using the collapsing query parser produces the expected result.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message