Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 26730 invoked from network); 14 May 2007 21:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2007 21:36:08 -0000 Received: (qmail 70649 invoked by uid 500); 14 May 2007 21:36:07 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 70623 invoked by uid 500); 14 May 2007 21:36:07 -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 70612 invoked by uid 99); 14 May 2007 21:36:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 14:36:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [169.229.70.167] (HELO rescomp.berkeley.edu) (169.229.70.167) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 14:36:00 -0700 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id B6FDB5B764; Mon, 14 May 2007 14:35:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by rescomp.berkeley.edu (Postfix) with ESMTP id B22F47F403; Mon, 14 May 2007 14:35:39 -0700 (PDT) Date: Mon, 14 May 2007 14:35:39 -0700 (PDT) From: Chris Hostetter To: Lucene Users , paul_t100@fastmail.fm Subject: Re: Problem using wildcardsearch in phrase search In-Reply-To: <46477FAC.4030106@fastmail.fm> Message-ID: References: <4645F33E.50300@fastmail.fm> <46462379.207@gmail.com> <359a92830705121742n6836ad09sf9fed028f03506ac@mail.gmail.com> <46466721.7090707@gmail.com> <4646D424.7090609@fastmail.fm> <4646F823.7020203@gmail.com> <4646FB9A.1080505@fastmail.fm> <46477FAC.4030106@fastmail.fm> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : queryparsersyntax page which is where I expect most novices (such as : myself) start with lucene seems to indicate that wildcards can be used : in, and this page is : as far as one should need to go to understand basic query syntax, this : page should be corrected. if you have a suggestion for improving the page, please by all means submit a patch with your suggestions. I've said it before and i'll say it again: novice users are the best documentation writers because unlike seasoned experinced usersor developers, they are ones just learning the system who don't already have ingrained knowledge that they take for granted. : A Phrase is a group of words surrounded by double quotes such as "hello : dolly". : : .... : : Wildcard Searches : Lucene supports single and multiple character wildcard searches. : To perform a multiple character wildcard search use the "*" symbol. : Multiple character wildcard searches looks for 0 or more characters. For : example, to search for test, tests or tester, you can use the search: : : test* : You can also use the wildcard searches in the middle of a term. : : ' : there is nothing to indicate in the section on Wildcard Searches that it : can be performed only on Single word terms not Phrase terms. I would meanwhile argue that there is nothing in the description of a Phrase to indicate that it can be anything other then what it says "a group of words surrounded by double quotes" .. at no point does ist suggest that other types of queries or syntax can be used inside the quotes. likewise the discussion of Wildcards makes no mention of phrases to suggest that wildcard characters can be used in a phrase. But as i said: if you have suggestions for clarifying the docs, please submit them as a patch. just saying the docs need to be improved without providing a specific suggestion for how they can be improved doesn't really help the situation. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org