Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 83313 invoked from network); 2 Feb 2011 02:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 02:49:54 -0000 Received: (qmail 10615 invoked by uid 500); 2 Feb 2011 02:49:53 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10132 invoked by uid 500); 2 Feb 2011 02:49:51 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 10125 invoked by uid 99); 2 Feb 2011 02:49:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 02:49:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 02:49:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0184B1899B9 for ; Wed, 2 Feb 2011 02:49:29 +0000 (UTC) Date: Wed, 2 Feb 2011 02:49:29 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <1848776862.4346.1296614969003.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <11159807.254751296180283762.JavaMail.jira@thor> Subject: [jira] Updated: (SOLR-2339) No error reported when sorting on a field Solr knows you shouldn't sort on. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-2339: --------------------------- Attachment: SOLR-2339.patch patch that forces failure for multivalued fields, along with an example of how i think we should call this behavior change out in CHANGES.txt this uncovered a lot of tests that were missusing fields declared as multivalued -- BasicDistributedZkTest and TestDistributedSearch are still failing in this patch, largely because i'm so confused about how they work it's not even clear to me what schema.xml file they are using to try and fix it. > No error reported when sorting on a field Solr knows you shouldn't sort on. > --------------------------------------------------------------------------- > > Key: SOLR-2339 > URL: https://issues.apache.org/jira/browse/SOLR-2339 > Project: Solr > Issue Type: Bug > Components: search > Reporter: Hoss Man > Assignee: Hoss Man > Fix For: 3.1, 4.0 > > Attachments: 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: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org