Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0E888200B21 for ; Fri, 10 Jun 2016 22:00:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0D087160A38; Fri, 10 Jun 2016 20:00:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53317160A15 for ; Fri, 10 Jun 2016 22:00:17 +0200 (CEST) Received: (qmail 9183 invoked by uid 500); 10 Jun 2016 20:00:15 -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 9167 invoked by uid 99); 10 Jun 2016 20:00:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 20:00:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 06F8BC2D22 for ; Fri, 10 Jun 2016 20:00:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lyqbUEuIfh1b for ; Fri, 10 Jun 2016 20:00:14 +0000 (UTC) Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D69F15F295 for ; Fri, 10 Jun 2016 20:00:13 +0000 (UTC) Received: by mail-qk0-f176.google.com with SMTP id p10so11438339qke.3 for ; Fri, 10 Jun 2016 13:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=zEiWycnduVtfHe/yWwNQUgIAxa/3R7sEJg4outF8TgY=; b=Bqzcf99KaXYhsq4MQpYwN8j3iMdAYbT6yyxoUu6QFJ5rRcP1mtU2up9UjfKH3xSXdD +1tPb63fNKXxrMOBEUre4eXqs6BEzdp6hN00ExTUw3GBUYmhPkCuEvFik1I6TijYgSvv 1TG7d18CHDDzatLhg+Zv0CM6WsOv3WSJwfux7rkcAA1dgJt8Qla8Ebx2Ly/PuC9+8b48 hEv3Np+3FjFgGunetenO3kIfBAutR6nVjMaJDV+Qc25nPL4oPuTKOc3jPBGaiJYcq3CR WhJDQW6ITZL06ojoA7+9He/4xEkyjZtpQzk5s8v7KBbD6/2OcGhJhgon/s7OSvYQ4wRy 6Z+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zEiWycnduVtfHe/yWwNQUgIAxa/3R7sEJg4outF8TgY=; b=RQGdkwSyBIdMlFTcvYSQT0V3ZGUzzk0hthkzjTLbRLqjoM7ailmxVTsFKGEM9dQg8m KjaueLrgs/XymKfvDq1iKKIhEMIMlW4zEMXtXFz6Bl56sZVlf+wLh1IDZLdkvwD3VTWY cK2Ngkft8bQqa7AZseVF1OUPDSQepmo0rdRwR8ngJnoDxUASBBSNLBycPUjvWdvf4OlG 7bKX6VMsc4q36fdyLYZLF+dKtbYicSy9Wc5q6KC8iu4KaVadq4Af+5p6eTaAiyH/1Eip S/zrm4c95bI3Sho5r1Y188oZ614l0F5WMAlVz/zFza1XnZpEvur255+WuHjcx/tvlnK9 EBiA== X-Gm-Message-State: ALyK8tInHQRLhP3/MPDcQ1RlGc9Mkl5JWrd5aqOz9ZeqOqUNBfJHGsZFc95EOm3fHd3s3TRxUUMww2I9obv6OA== X-Received: by 10.55.111.66 with SMTP id k63mr3785058qkc.2.1465588807423; Fri, 10 Jun 2016 13:00:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.20.103 with HTTP; Fri, 10 Jun 2016 12:59:28 -0700 (PDT) From: Susmit Shukla Date: Fri, 10 Jun 2016 12:59:28 -0700 Message-ID: Subject: export with collapse filter runs into NPE To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=94eb2c05ecbe40db690534f1fc04 archived-at: Fri, 10 Jun 2016 20:00:18 -0000 --94eb2c05ecbe40db690534f1fc04 Content-Type: text/plain; charset=UTF-8 Hi, I'm running this export query, it is working fine. f1 is the uniqueKey and running solr 5.3.1 /export?q=f1:term1&sort=f1+desc&fl=f1,f2 if I add collapsing filter, it is giving NullPointerException /export?q=f1:term1&sort=f1+desc&fl=f1,f2&fq={!collapse field=f2} does collapsing filter work with /export handler? java.lang.NullPointerException at org.apache.lucene.util.BitSetIterator.(BitSetIterator.java:58) at org.apache.solr.response.SortingResponseWriter.write(SortingResponseWriter.java:138) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:53) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:742) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:471) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:214) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179) 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:499) 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) --94eb2c05ecbe40db690534f1fc04--