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 7844E9BFB for ; Thu, 2 Feb 2012 20:07:18 +0000 (UTC) Received: (qmail 24594 invoked by uid 500); 2 Feb 2012 20:07:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 24293 invoked by uid 500); 2 Feb 2012 20:07:16 -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 24223 invoked by uid 99); 2 Feb 2012 20:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 20:07:15 +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; Thu, 02 Feb 2012 20:07:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A6B2418950B for ; Thu, 2 Feb 2012 20:06:54 +0000 (UTC) Date: Thu, 2 Feb 2012 20:06:54 +0000 (UTC) From: "Rok Rejc (Created) (JIRA)" To: dev@lucene.apache.org Message-ID: <508822649.4456.1328213214684.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (SOLR-3089) Make ResponseBuilder.isDistrib public MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Make ResponseBuilder.isDistrib public ------------------------------------- Key: SOLR-3089 URL: https://issues.apache.org/jira/browse/SOLR-3089 Project: Solr Issue Type: Improvement Components: Response Writers Affects Versions: 4.0 Reporter: Rok Rejc Fix For: 4.0 Hi, i have posted this issue on a mailing list but i didn't get any response. I am trying to write distributed search component (a class that extends SearchComponent). I have checked FacetComponent and TermsComponent. If I want that search component works in a distributed environment I have to set ResponseBuilder's isDistrib to true, like this (this is also done in TermsComponent for example): public void prepare(ResponseBuilder rb) throws IOException { SolrParams params = rb.req.getParams(); String shards = params.get(ShardParams.SHARDS); if (shards != null) { List lst = StrUtils.splitSmart(shards, ",", true); rb.shards = lst.toArray(new String[lst.size()]); rb.isDistrib = true; } } If I have my component outside the package org.apache.solr.handler.component this doesn't work. Is it possible to make isDistrib public (or is this the wrong procedure/behaviour/design)? Many thanks, Rok -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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