Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3035318D9D for ; Tue, 18 Aug 2015 06:23:04 +0000 (UTC) Received: (qmail 40771 invoked by uid 500); 18 Aug 2015 06:23:00 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 40704 invoked by uid 500); 18 Aug 2015 06:23:00 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 40685 invoked by uid 99); 18 Aug 2015 06:23:00 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 06:23:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B7CBBC1347 for ; Tue, 18 Aug 2015 06:22:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.148 X-Spam-Level: *** X-Spam-Status: No, score=3.148 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id KgEGLQESXYwZ for ; Tue, 18 Aug 2015 06:22:57 +0000 (UTC) Received: from mail-yk0-f171.google.com (mail-yk0-f171.google.com [209.85.160.171]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 027B820D31 for ; Tue, 18 Aug 2015 06:22:57 +0000 (UTC) Received: by ykll84 with SMTP id l84so85476463ykl.0 for ; Mon, 17 Aug 2015 23:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HACTBpTWQlRIEsds0ymXT7rGO0LQ6B87owkh8On63Ac=; b=NKhtitwhaR5ZAeIyZ2CjlADooTT+1XLF+FGZIUhYny0Po9KEwUf2Sj20+HGSbtkRr6 /OVzaeOTCllmGAfXwCZK0+vne0UR5Qak1xv6RezWRnWijFdZBZHmRiRENS4IqkzzD4Tm E0M3r16JAqD9M3H1n9ZR5ERGTkMuPQJRv72I+YOtB05Qoe0ROWdNL4mAs8hzV+VqqN8l zHRBMLGud7qxvJgozTevLjavKW0/ooc9O1K0NswB5BCEStJLKxGoFbnlwj8JsfISNBC0 stzm0ULi8b4HocjCjtmUZT6DF/u7EsBMAkHMwudYi9pbJuxMZ4JtpzJSRbBbF18Nho0T 5eoQ== MIME-Version: 1.0 X-Received: by 10.13.234.138 with SMTP id t132mr5621705ywe.89.1439878976139; Mon, 17 Aug 2015 23:22:56 -0700 (PDT) Received: by 10.13.217.148 with HTTP; Mon, 17 Aug 2015 23:22:56 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Aug 2015 11:52:56 +0530 Message-ID: Subject: Re: Exception while using {!cardinality=1.0}. From: Modassar Ather To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=94eb2c0541b6e4765b051d8ff205 --94eb2c0541b6e4765b051d8ff205 Content-Type: text/plain; charset=UTF-8 Any suggestions please. Regards, Modassar On Thu, Aug 13, 2015 at 4:25 PM, Modassar Ather wrote: > Hi, > > I am getting following exception for the query : > *q=field:query&stats=true&stats.field={!cardinality=1.0}field*. The > exception is not seen once the cardinality is set to 0.9 or less. > The field is *docValues enabled* and *indexed=false*. The same exception > I tried to reproduce on non docValues field but could not. Please help me > resolve the issue. > > ERROR - 2015-08-11 12:24:00.222; [core] > org.apache.solr.common.SolrException; > null:java.lang.ArrayIndexOutOfBoundsException: 3 > at > net.agkn.hll.serialization.BigEndianAscendingWordSerializer.writeWord(BigEndianAscendingWordSerializer.java:152) > at > net.agkn.hll.util.BitVector.getRegisterContents(BitVector.java:247) > at net.agkn.hll.HLL.toBytes(HLL.java:917) > at net.agkn.hll.HLL.toBytes(HLL.java:869) > at > org.apache.solr.handler.component.AbstractStatsValues.getStatsValues(StatsValuesFactory.java:348) > at > org.apache.solr.handler.component.StatsComponent.convertToResponse(StatsComponent.java:151) > at > org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:62) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:255) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064) > at > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654) > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > at org.eclipse.jetty.server.Server.handle(Server.java:497) > at > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) > at > org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) > at java.lang.Thread.run(Thread.java:745) > > Kindly let me know if I need to ask this on any of the related jira issue. > > Thanks, > Modassar > --94eb2c0541b6e4765b051d8ff205--