Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 11688 invoked from network); 30 Jun 2007 00:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jun 2007 00:35:59 -0000 Received: (qmail 14633 invoked by uid 500); 30 Jun 2007 00:35:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 13566 invoked by uid 500); 30 Jun 2007 00:35:55 -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 13555 invoked by uid 99); 30 Jun 2007 00:35:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2007 17:35:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [128.105.6.20] (HELO sabe.cs.wisc.edu) (128.105.6.20) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2007 17:35:51 -0700 Received: from [9.1.67.17] (p1.almaden.ibm.com [198.4.83.52]) (authenticated bits=0) by sabe.cs.wisc.edu (8.13.6/8.13.6) with ESMTP id l5U0ZT9Y014122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2007 19:35:30 -0500 Message-ID: <4685A4A2.9060700@cs.wisc.edu> Date: Fri, 29 Jun 2007 17:32:34 -0700 From: Akanksha Baid User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: spannearquery help Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have two strings - String1 contains multiple words & String2 contains just 1 word I need to search my index to find hits where String1 and String2 occur within a distance "slop = d" of each other. Order is important. Also, ideally I would like to do a fuzzy search on String1. Is there some way to do this without having to chop string1 into multiple terms and adding them to a SpanQuery[]? Thanks for the help. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org