From general-return-3391-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Thu Jun 23 23:25:49 2011 Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8AAE34BE2 for ; Thu, 23 Jun 2011 23:25:49 +0000 (UTC) Received: (qmail 8566 invoked by uid 500); 23 Jun 2011 23:25:49 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 8522 invoked by uid 500); 23 Jun 2011 23:25:49 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 8513 invoked by uid 99); 23 Jun 2011 23:25:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 23:25:48 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 23:25:43 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QZtH1-0000sV-BH for general@lucene.apache.org; Thu, 23 Jun 2011 16:25:23 -0700 Date: Thu, 23 Jun 2011 16:25:23 -0700 (PDT) From: Crackle To: general@lucene.apache.org Message-ID: <1308871523340-3102224.post@n3.nabble.com> Subject: How to Search MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Trying to figure out how to do the following search: item1 AND item2 OR item3 within 10 words of item4* OR item5* What I did is the following: item1 AND "((item2 OR item3) (item4* OR item5*))"~10 but then I find out that I can't use wildcards in a phrase. Is there any solution for what I am trying to do? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Search-tp3102224p3102224.html Sent from the Lucene - General mailing list archive at Nabble.com.