Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AEA311DE9 for ; Thu, 4 Sep 2014 00:20:52 +0000 (UTC) Received: (qmail 37314 invoked by uid 500); 4 Sep 2014 00:20:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 37246 invoked by uid 500); 4 Sep 2014 00:20: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 37235 invoked by uid 99); 4 Sep 2014 00:20:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 00:20:51 +0000 Date: Thu, 4 Sep 2014 00:20:51 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-6024) StatsComponent does not work for docValues enabled multiValued fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-6024?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14120= 750#comment-14120750 ]=20 ASF subversion and git services commented on SOLR-6024: ------------------------------------------------------- Commit 1622386 from hossman@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1622386 ] SOLR-6024: Fix StatsComponent when using docValues=3Dtrue multiValued=3Dtru= e (bug only on 4x trunk commit is just test changes demonstrating correct b= ehavior) > StatsComponent does not work for docValues enabled multiValued fields > --------------------------------------------------------------------- > > Key: SOLR-6024 > URL: https://issues.apache.org/jira/browse/SOLR-6024 > Project: Solr > Issue Type: Bug > Components: SearchComponents - other > Affects Versions: 4.8 > Environment: java version "1.7.0_45" > Mac OS X Version 10.7.5 > Reporter: Ahmet Arslan > Labels: StatsComponent, docValues, multiValued > Fix For: 4.9 > > Attachments: SOLR-6024-trunk.patch, SOLR-6024-trunk.patch, SOLR-6= 024-trunk.patch, SOLR-6024-trunk.patch, SOLR-6024-trunk.patch, SOLR-6024.pa= tch, SOLR-6024.patch > > > Harish Agarwal reported this in solr user mailing list : http://search-lu= cene.com/m/QTPaoTJXV1 > It is east to re-produce with default example solr setup. Following types= are added example schema.xml. And exampledocs are indexed. > {code:xml} > > > {code} > When {{docValues=3D"true"}} *and* {{multiValued=3D"true"}} are used at th= e same time, StatsComponent throws : > {noformat} > ERROR org.apache.solr.core.SolrCore =E2=80=93 org.apache.solr.common.Sol= rException: Type mismatch: popularity was indexed as SORTED_SET > =09at org.apache.solr.request.UnInvertedField.(UnInvertedField.java= :193) > =09at org.apache.solr.request.UnInvertedField.getUnInvertedField(UnInvert= edField.java:699) > =09at org.apache.solr.handler.component.SimpleStats.getStatsFields(StatsC= omponent.java:319) > =09at org.apache.solr.handler.component.SimpleStats.getStatsCounts(StatsC= omponent.java:290) > =09at org.apache.solr.handler.component.StatsComponent.process(StatsCompo= nent.java:78) > =09at org.apache.solr.handler.component.SearchHandler.handleRequestBody(S= earchHandler.java:221) > =09at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHan= dlerBase.java:135) > =09at org.apache.solr.core.SolrCore.execute(SolrCore.java:1964) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org