Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1D0B10AF9 for ; Thu, 6 Feb 2014 13:02:49 +0000 (UTC) Received: (qmail 50755 invoked by uid 500); 6 Feb 2014 13:02:47 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 50340 invoked by uid 500); 6 Feb 2014 13:02:46 -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 50330 invoked by uid 99); 6 Feb 2014 13:02:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 13:02:45 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.49.146.77] (HELO smtpksrv1.mitre.org) (198.49.146.77) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 13:02:39 +0000 Received: from smtpksrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 9B06C1F0282 for ; Thu, 6 Feb 2014 08:02:18 -0500 (EST) Received: from IMCCAS04.MITRE.ORG (imccas04.mitre.org [129.83.29.81]) by smtpksrv1.mitre.org (Postfix) with ESMTP id 81C0E1F087C for ; Thu, 6 Feb 2014 08:02:18 -0500 (EST) Received: from IMCMBX02.MITRE.ORG ([169.254.2.147]) by IMCCAS04.MITRE.ORG ([129.83.29.81]) with mapi id 14.03.0174.001; Thu, 6 Feb 2014 08:02:17 -0500 From: "Allison, Timothy B." To: "java-user@lucene.apache.org" Subject: RE: Wildcard searches Thread-Topic: Wildcard searches Thread-Index: Ac8iylHh3jhpH6DiQv6doMMFFpROgwALeEgAABDVNkA= Date: Thu, 6 Feb 2014 13:02:17 +0000 Message-ID: <1D06A081892ADF4589BD83EE24B9DC30258B2F21@IMCMBX02.MITRE.ORG> References: <8E4FA4801F06477E91DBB818E3AAC17F@JackKrupansky14> In-Reply-To: <8E4FA4801F06477E91DBB818E3AAC17F@JackKrupansky14> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.83.31.58] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Ditto Jack on ComplexPhraseQueryParser. See also: https://issues.apache.org/jira/i#browse/LUCENE-5205 -----Original Message----- From: Jack Krupansky [mailto:jack@basetechnology.com]=20 Sent: Wednesday, February 05, 2014 6:59 PM To: java-user@lucene.apache.org Subject: Re: Wildcard searches Take a look at the complex phrase query parser. See: http://lucene.apache.org/core/4_6_0/queryparser/org/apache/lucene/querypars= er/complexPhrase/ComplexPhraseQueryParser.html See also: https://issues.apache.org/jira/browse/LUCENE-1486 -- Jack Krupansky -----Original Message-----=20 From: raghavendra.k.rao@barclays.com Sent: Wednesday, February 5, 2014 6:30 PM To: java-user@lucene.apache.org Subject: Wildcard searches Hi, Can Lucene support wildcard searches such as the ones shown below? Indexed value is "XYZ CORPORATION LIMITED". XYZ CORPORATION LIMI* XYZ CORPORATION *MIT* XYZ *PORAT* LIMI* *YZ CORPO* LIMITE* In other words, the flexibility for the user to provide a wild card at any= =20 position, in a situation where they aren't sure about the exact value.=20 Ignoring the performance aspect, please suggest if it is even possible. If= =20 yes, please provide further inputs on how to approach it such as Analyzer /= =20 Tokenizer to consider, whether PhraseQueries can be formed etc. Any input is greatly appreciated. Regards, Raghu _______________________________________________ This message is for information purposes only, it is not a recommendation,= =20 advice, offer or solicitation to buy or sell a product or service nor an=20 official confirmation of any transaction. It is directed at persons who are= =20 professionals and is not intended for retail customer use. Intended for=20 recipient only. This message is subject to the terms at:=20 www.barclays.com/emaildisclaimer. For important disclosures, please see:=20 www.barclays.com/salesandtradingdisclaimer regarding market commentary from= =20 Barclays Sales and/or Trading, who are active market participants; and in=20 respect of Barclays Research, including disclosures relating to specific=20 issuers, please see http://publicresearch.barclays.com. _______________________________________________=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org