Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 77817 invoked from network); 26 Apr 2006 06:53:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2006 06:53:12 -0000 Received: (qmail 60484 invoked by uid 500); 26 Apr 2006 06:53:09 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 60451 invoked by uid 500); 26 Apr 2006 06:53:09 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 60440 invoked by uid 99); 26 Apr 2006 06:53:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 23:53:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.109.24.23] (HELO smtp-vbr3.xs4all.nl) (194.109.24.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 23:53:08 -0700 Received: from k8l.lan (porta.xs4all.nl [80.127.24.69]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k3Q6qkwW054737 for ; Wed, 26 Apr 2006 08:52:46 +0200 (CEST) (envelope-from paul.elschot@xs4all.nl) From: Paul Elschot To: java-dev@lucene.apache.org Subject: Re: SRND query Date: Wed, 26 Apr 2006 08:52:45 +0200 User-Agent: KMail/1.8.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604260852.45780.paul.elschot@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wednesday 26 April 2006 00:40, Boris Galitsky wrote: > Hello > > > We need to construct nested span queries, and it seems like SrndQuery > is a good way to do it. > > Are there examples available for SrndQueries? How to construct them > (is it using QueryParser?). > Where to get Surround Parser? > > How to run them? Have a look in the svn repository, in the contrib/surround/src/test directory is junit test code exercising the surround query parser. Iirc in the contrib area there is also an xml query parser that allows xml structured queries, but at the moment I don't know precisely where that is. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org