Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 81325 invoked from network); 30 Nov 2009 17:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Nov 2009 17:39:15 -0000 Received: (qmail 88829 invoked by uid 500); 30 Nov 2009 17:39:13 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 88787 invoked by uid 500); 30 Nov 2009 17:39:13 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 88751 invoked by uid 99); 30 Nov 2009 17:39:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2009 17:39:13 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mike_a@mit.edu designates 18.7.7.80 as permitted sender) Received: from [18.7.7.80] (HELO biscayne-one-station.mit.edu) (18.7.7.80) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2009 17:39:03 +0000 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id nAUHcFP4019076 for ; Mon, 30 Nov 2009 12:38:15 -0500 (EST) Received: from [10.0.20.12] (173-14-161-169-NewEngland.hfc.comcastbusiness.net [173.14.161.169]) (authenticated bits=0) (User authenticated as mike_a@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id nAUHclAR026818 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 30 Nov 2009 12:38:48 -0500 (EST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1075.2) Subject: Re: [jira] Commented: (SOLR-785) Distributed SpellCheckComponent From: Mike Anderson In-Reply-To: <1067311016.1259601320968.JavaMail.jira@brutus> Date: Mon, 30 Nov 2009 12:38:38 -0500 Content-Transfer-Encoding: 7bit Message-Id: <01499D32-8747-4BFA-8369-58B1859E79CA@mit.edu> References: <1067311016.1259601320968.JavaMail.jira@brutus> To: solr-dev@lucene.apache.org X-Mailer: Apple Mail (2.1075.2) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: 0.00 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO I use this patch, but had to make one minor edit to get it working (this was a long time, so I don't quite remember the bug I was trying to solve), around line 174: for (ShardRequest sreq : rb.finished) { + if ((sreq.purpose & ShardRequest.PURPOSE_GET_TOP_IDS) != 0){ for (ShardResponse srsp : sreq.responses) { and appropriate closing brace. On Nov 30, 2009, at 12:15 PM, Shalin Shekhar Mangar (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/SOLR-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783748#action_12783748 > ] > > Shalin Shekhar Mangar commented on SOLR-785: > -------------------------------------------- > > Well, there is only finishStage in the patch which is of no use > alone. SpellCheckComponent needs to either generate shard requests > or piggyback on existing requests to merge the data in finishStage. > > This brings up interesting questions - How do we perform distributed > search for SearchComponents which are not added by default to > SearchHandler? Only if the chain has QueryComponent, can we modify > its requests. Otherwise we must issue new ShardRequests. Is assuming > that configuration of the search component chain is the same between > all shards OK? > >> Distributed SpellCheckComponent >> ------------------------------- >> >> Key: SOLR-785 >> URL: https://issues.apache.org/jira/browse/SOLR-785 >> Project: Solr >> Issue Type: Improvement >> Components: spellchecker >> Reporter: Shalin Shekhar Mangar >> Assignee: Shalin Shekhar Mangar >> Fix For: 1.5 >> >> Attachments: spelling-shard.patch >> >> >> Enhance the SpellCheckComponent to run in a distributed (sharded) >> environment. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. >