Return-Path: X-Original-To: apmail-lucy-user-archive@www.apache.org Delivered-To: apmail-lucy-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 BC9E89D24 for ; Fri, 15 Jun 2012 14:01:02 +0000 (UTC) Received: (qmail 10015 invoked by uid 500); 15 Jun 2012 14:01:02 -0000 Delivered-To: apmail-lucy-user-archive@lucy.apache.org Received: (qmail 9964 invoked by uid 500); 15 Jun 2012 14:01:02 -0000 Mailing-List: contact user-help@lucy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucy.apache.org Delivered-To: mailing list user@lucy.apache.org Received: (qmail 9955 invoked by uid 99); 15 Jun 2012 14:01:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 14:01:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_RCVD_USER,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.203.201.122] (HELO barracuda01.mpr.org) (192.203.201.122) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 14:00:56 +0000 X-ASG-Debug-ID: 1339768833-0223c517374e0460001-00ifYr Received: from HQMAIL08.mpr.org (hqesnode02.mpr.org [10.2.2.101]) by barracuda01.mpr.org with ESMTP id EA7vljXfywtg6TD8 for ; Fri, 15 Jun 2012 09:00:33 -0500 (CDT) X-Barracuda-Envelope-From: peter@peknet.com X-ASG-Whitelist: Client Received: from mail.mpr.org ([10.2.2.87]) by HQMAIL08.mpr.org with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Jun 2012 09:00:33 -0500 Received: from pkarmanosx.mpr.org ([10.4.8.71]) by mail.mpr.org with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Jun 2012 09:00:33 -0500 Message-ID: <4FDB4001.6090104@peknet.com> Date: Fri, 15 Jun 2012 09:00:33 -0500 From: Peter Karman Reply-To: peter@peknet.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: user@lucy.apache.org References: X-ASG-Orig-Subj: Re: [lucy-user] How to search through the indexed documents by specifying wildcards in the query string In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jun 2012 14:00:33.0457 (UTC) FILETIME=[3B3CD210:01CD4AFF] X-Barracuda-Connect: hqesnode02.mpr.org[10.2.2.101] X-Barracuda-Start-Time: 1339768833 X-Barracuda-URL: http://barracuda.mpr.org:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at mpr.org Subject: Re: [lucy-user] How to search through the indexed documents by specifying wildcards in the query string On 6/13/12 7:17 PM, Saurabh Vasekar wrote: > It says that I need to use a method set_heed_colons(). But I am not able to > figure out how many arguments should be provided to the method? > What exactly does set_heed_colon method do? The method sets a boolean (on/off) so passing any true value turns it on, passing any false value should turn it off. With the value set to true, these 2 query strings are treated the same way: field1=foo field1:foo with the value set to false, they are not. > Also where can I find the wildcard characters supported by Lucy query > parser? A lot of wildcard characters have been supported by Lucene. > What do I need to specify in the query string if I need all the documents > present. (e.g. * wildcard character or something like that) > Lucy core does not support wildcards. This extension does: http://search.cpan.org/dist/LucyX-Search-WildcardQuery/ -- Peter Karman . http://peknet.com/ . peter@peknet.com