lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Updated: (SOLR-2339) No error reported when sorting on a field Solr knows you shouldn't sort on.
Date Thu, 03 Feb 2011 00:52:28 GMT


Hoss Man updated SOLR-2339:

    Attachment: SOLR-2339.patch

Updated patch that fixes the remaining sort related test failures.

TestDistributedSearch and BasicDistributedZkTest were fundementally flawed in that they expected
to get deterministic sort orderings on fields that they were deliberately putting multiple
values into (ie: not just sorting on a multivalued field; sorting on a multivalued field that
was actually used to store multiple values for each doc)

I'm amazed they ever passed. 

> No error reported when sorting on a field Solr knows you shouldn't sort on.
> ---------------------------------------------------------------------------
>                 Key: SOLR-2339
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 3.1, 4.0
>         Attachments: SOLR-2339.patch, SOLR-2339.patch
> In the past, Solr has relied on the underlying FieldCache to throw an error in situations
where sorting on a field was not possible.  however LUCENE-2142 has changed this, so that
FieldCache never throws an error.
> In order to maintain the functionality of past Solr releases (ie: error when users attempt
to sort on a field that we known will produce meaningless results) we should add some sort
of check at the Solr level.

This message is automatically generated by JIRA.
For more information on JIRA, see:


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

View raw message