Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 93341 invoked from network); 21 Dec 2009 21:06:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 21:06:06 -0000 Received: (qmail 64204 invoked by uid 500); 21 Dec 2009 21:06:04 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 64106 invoked by uid 500); 21 Dec 2009 21:06:03 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 64096 invoked by uid 99); 21 Dec 2009 21:06:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 21:06:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsiasf@gmail.com designates 209.85.211.185 as permitted sender) Received: from [209.85.211.185] (HELO mail-yw0-f185.google.com) (209.85.211.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 21:05:53 +0000 Received: by ywh15 with SMTP id 15so5805339ywh.5 for ; Mon, 21 Dec 2009 13:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=KDiFE3e4cn41Wz5AUhoapjsKmKq+uJxvjNFBtA8XFvQ=; b=QN9UfLCQ7lb/Q76GEHCwhd2YvQfB/AZvCDCAGxFDic7dBh/MLbXB8cLlg32O7Uk0+G f0yeBjyViYMTBEdJW5rRKvD8hHhBxg8BhGgXltsn93mvvCBZZc1TkAL1Xik9iVgFASLH ElCjHf0GLY1R4iabKoeJwKEYPw50pFPm31dIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=vb+h012wqSo8NPkjByOt19D0I3D/x9Avtp54/qfRaN/yCiY+ZV1md3lCSjDM5bBLc2 K8sRuxjbbM0535fSNbD5XTbT3N4QDld+izF1JiHv1+s+wWIDLY8L7igY79EZkqDWAFbE 6lj1bRdDzukij2WUlScfyW0IZLW2gzU8cSvGQ= Received: by 10.150.17.37 with SMTP id 37mr11856953ybq.285.1261429532592; Mon, 21 Dec 2009 13:05:32 -0800 (PST) Received: from ?192.168.1.104? (cpe-071-071-234-029.carolina.res.rr.com [71.71.234.29]) by mx.google.com with ESMTPS id 23sm2516196yxe.36.2009.12.21.13.05.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Dec 2009 13:05:32 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: PayloadNearQuery From: Grant Ingersoll In-Reply-To: <487455807D664E60B3EE204521ECDBFD@VEGA> Date: Mon, 21 Dec 2009 16:05:30 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <760794D6-79C3-405B-88FF-A63D26D4113A@gmail.com> References: <7031CC2E98874551A9D989CA7B9C6778@elias> <487455807D664E60B3EE204521ECDBFD@VEGA> To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org I don't think that will work, as I don't believe that the SpanQueries = delegate scoring to the subclauses. Instead, they just rely on = iterating the spans. -Grant On Dec 21, 2009, at 2:44 PM, Uwe Schindler wrote: > It is as you describe: >=20 > PayloadTermQuery is a subclass of SpanQuery. So create a SpanNearQuery = with > slop=3D0 and order=3Dtrue and add first the PayloadNearQuery, then the = rest of > the phrase terms as SpanTermQuery in order of appearance. >=20 > Uwe >=20 > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de >=20 >> -----Original Message----- >> From: Elias Khsheibun [mailto:elias3@gmail.com] >> Sent: Monday, December 21, 2009 6:51 PM >> To: java-user@lucene.apache.org >> Subject: PayloadNearQuery >>=20 >> I want to have the effect of handling the first term of a phrase = query as >> a >> PayloadTermQuery and for the others just normal handling ... how can = I do >> that ? >>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org