From general-return-869-apmail-lucene-general-archive=lucene.apache.org@lucene.apache.org Thu Oct 16 18:55:56 2008 Return-Path: Delivered-To: apmail-lucene-general-archive@www.apache.org Received: (qmail 41548 invoked from network); 16 Oct 2008 18:55:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 18:55:55 -0000 Received: (qmail 80599 invoked by uid 500); 16 Oct 2008 18:55:56 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 80350 invoked by uid 500); 16 Oct 2008 18:55:55 -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 80339 invoked by uid 99); 16 Oct 2008 18:55:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 11:55:55 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chadmichaeldavis@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 18:54:48 +0000 Received: by wf-out-1314.google.com with SMTP id 28so139551wfc.20 for ; Thu, 16 Oct 2008 11:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=K3Sj2D3XE/73W2TifYZqq7bb7Qvh6KrikNL5qzhG8n0=; b=UhrGEPxB4R4GH3VZy6XZoWw8201yBvw/Qp4VFPlij5RPlfTjdKSKPmoLND9BBK2TqU LCqM78nozCg/30UYdsW2v9YMzuPEBs5vDZP+sSNdhyq1TkAo6mXNe+Nme+QQ0zCA1zmQ VjPfpfoAeEP2npzrgO4RXqlG7zfKCoFKiB23c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=IxIZfN8Ii29u7QIyfAgrLuaXOqzqBhSlsHX/0y0Nm7oxFRM463qdejnM86HgZu9c4Q j5jbX4ct+b5tEUKVRARIkQW6m7F9PR9phpn6EKpeusuzUuAk4UGN/Jw4hM9q0ir+Ef25 VQkERhISEynKdprOli53ctPe6U6AR4xSet0WQ= Received: by 10.114.26.18 with SMTP id 18mr2572714waz.130.1224183325951; Thu, 16 Oct 2008 11:55:25 -0700 (PDT) Received: by 10.114.27.10 with HTTP; Thu, 16 Oct 2008 11:55:25 -0700 (PDT) Message-ID: <4fe4c4f50810161155q53b01c08t4970f6fe733ffc9c@mail.gmail.com> Date: Thu, 16 Oct 2008 12:55:25 -0600 From: ChadDavis To: general@lucene.apache.org Subject: question about wildcard like search MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_52875_25952061.1224183325950" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_52875_25952061.1224183325950 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I need to do a query where i'm looking for strings that are embedded into a single word in one of the fields. In other words, a field my have a phrase like: Bob,Tom,Kevin,Jeff or Tom,Doug,Steven,Bob I would like to be able to use the wildcard query to search for any document that has the name "Tom" embedded, in any fashion, in this field. I would like to have built a WildCardQuery like "*Tom*", but it doesn't accept * as the first character, due to performance reasons the documentation explains. So, how do I do such a query? I'm looking into the fuzzy logic query, right now. ------=_Part_52875_25952061.1224183325950--