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 EED204A6A for ; Fri, 27 May 2011 17:38:29 +0000 (UTC) Received: (qmail 10058 invoked by uid 500); 27 May 2011 17:38:28 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10004 invoked by uid 500); 27 May 2011 17:38:28 -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 9997 invoked by uid 99); 27 May 2011 17:38:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2011 17:38:28 +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; Fri, 27 May 2011 17:38:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B07F7E3ABB for ; Fri, 27 May 2011 17:37:47 +0000 (UTC) Date: Fri, 27 May 2011 17:37:47 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: <13944276.49319.1306517867719.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-1093) A RequestHandler to run multiple queries in a batch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040349#comment-13040349 ] Simon Willnauer commented on SOLR-1093: --------------------------------------- We got lots of votes on this issue, seems like we should take some action here! I will assign it and make sure it will be resolved rather sooner than later. bq. Please add this feauture to get expectations right, we are working on releasing 3.2 soon and this one should not block it. I will work towards 3.3 here > A RequestHandler to run multiple queries in a batch > --------------------------------------------------- > > Key: SOLR-1093 > URL: https://issues.apache.org/jira/browse/SOLR-1093 > Project: Solr > Issue Type: New Feature > Components: search > Reporter: Noble Paul > Fix For: 3.2 > > > It is a common requirement that a single page requires to fire multiple queries .In cases where these queries are independent of each other. If there is a handler which can take in multiple queries , run them in paralll and send the response as one big chunk it would be useful > Let us say the handler is MultiRequestHandler > {code} > > {code} > h2.Query Syntax > The request must specify the no:of queries as count=n > Each request parameter must be prefixed with a number which denotes the query index.optionally ,it may can also specify the handler name. > example > {code} > /multi?count=2&1.handler=/select&1.q=a:b&2.handler=/select&2.q=a:c > {code} > default handler can be '/select' so the equivalent can be > {code} > /multi?count=2&1.q=a:b&2.q=a:c > {code} > h2.The response > The response will be a List where each NamedList will be a response to a query. -- This message is automatically generated by JIRA. 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