Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 42010 invoked from network); 21 Jan 2010 20:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 20:05:38 -0000 Received: (qmail 14515 invoked by uid 500); 21 Jan 2010 20:05:36 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 14460 invoked by uid 500); 21 Jan 2010 20:05:36 -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 14450 invoked by uid 99); 21 Jan 2010 20:05:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 20:05:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of calderon.joe@gmail.com designates 209.85.217.216 as permitted sender) Received: from [209.85.217.216] (HELO mail-gx0-f216.google.com) (209.85.217.216) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 20:05:26 +0000 Received: by gxk8 with SMTP id 8so353691gxk.11 for ; Thu, 21 Jan 2010 12:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=O5c03xI9nzgbvF5bmMPy274o1swyZGanjUEnqy9XJxs=; b=NVF/gt00iqeMF27YiPnkxqDI3Ku4yzaS2MB5GkamywPRT6a9VFqhVnsvUhy49FMAWH MxL2z9VZuSVig5BYVTq6hNpdsuuyao2f1GOZbCjtmPG/NTDNnKKx1tiuqWgSm6dSiFUO ip/QGzl/jmM4f+YMpgf7Vi4a0d0lF/xBstRRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rr/09VF1luRgFgTn6odrjgz2tNzb64gxq5nupIMZtnCQq2R2pbqKn41KsvGeBPSnxb 3+v9oBNClGxpO1ikSdtG4hE9bfXln21CxsedKawXnDnVUDEg9RnnNd2w2M8AWe407lwY JVO5tjz7MlW6GoBVXvNuPmVKqI3SHUPICwo1w= MIME-Version: 1.0 Received: by 10.151.88.33 with SMTP id q33mr2689780ybl.321.1264104305908; Thu, 21 Jan 2010 12:05:05 -0800 (PST) In-Reply-To: References: Date: Thu, 21 Jan 2010 12:05:05 -0800 Message-ID: Subject: Re: create requesthandler with default shard parameter for different query parser From: Joe Calderon To: solr-user@lucene.apache.org, yonik@lucidimagination.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org thx much, i see now, having request handlers with the same name as the query parsers was confusing me, i do however have an additional problem, if i use defType it does indeed use the right query parser but is there a way to not send all the query parameters in the url (qf, pf, bf etc), its the main reason im creating the new request handler, or do i put them all as defaults under my new request handler and let the query parser use whichever ones it supports? On Thu, Jan 21, 2010 at 11:45 AM, Yonik Seeley wrote: > On Thu, Jan 21, 2010 at 2:39 PM, Joe Calderon wr= ote: >> hello *, what is the best way to create a requesthandler for >> distributed search with a default shards parameter but that can use >> different query parsers >> >> thus far i have >> >> =A0 >> =A0 =A0 >> =A0 =A0 >> =A0 =A0 =A0 *,score >> =A0 =A0 =A0 json >> =A0 =A0 =A0 host0:8080/solr/core0,host1:8080/solr/c= ore1,host2:8080/solr/core2,localhost:8080/solr/core3 >> =A0 =A0 >> =A0 =A0 >> =A0 =A0 =A0query >> =A0 =A0 =A0facet >> =A0 =A0 =A0spellcheck >> =A0 =A0 =A0debug >> =A0 =A0 >> =A0 >> >> >> which works as long as qt=3Dstandard, if i change it to dismax it doenst >> use the shards parameter anymore... > > Legacy terminology causing some confusion I think... qt does stand for > "query type", but it actually picks the request handler. > "defType" defines the default query parser to use, so you probably > don't want to be using "qt" at all. > > So try something like: > http://localhost:8983/solr/ds?defType=3Ddismax&qf=3Dtext&q=3Dfoo > > -Yonik > http://www.lucidimagination.com >