Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 7781 invoked from network); 2 Apr 2004 21:48:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 21:48:43 -0000 Received: (qmail 36785 invoked by uid 500); 2 Apr 2004 21:48:24 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 36755 invoked by uid 500); 2 Apr 2004 21:48:24 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 36729 invoked from network); 2 Apr 2004 21:48:24 -0000 Received: from unknown (HELO c000.snv.cp.net) (209.228.32.71) by daedalus.apache.org with SMTP; 2 Apr 2004 21:48:24 -0000 Received: (cpmta 8010 invoked from network); 2 Apr 2004 13:48:29 -0800 Received: from 24.51.109.181 (HELO ?192.168.1.100?) by smtp.hatcher.net (209.228.32.71) with SMTP; 2 Apr 2004 13:48:29 -0800 X-Sent: 2 Apr 2004 21:48:29 GMT Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <200404021700.55017.lucene@nitwit.de> References: <20040313100601.26492.qmail@web12708.mail.yahoo.com> <200404021700.55017.lucene@nitwit.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <788EF57F-84EF-11D8-9B28-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: Zero hits for queries ending with a number Date: Fri, 2 Apr 2004 16:48:26 -0500 To: "Lucene Users List" X-Mailer: Apple Mail (2.613) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Apr 2, 2004, at 10:00 AM, lucene@nitwit.de wrote: > On Saturday 13 March 2004 11:06, Otis Gospodnetic wrote: >> Field.Keyword is suitable for storing data like Url. Give that a try. > > I just tried this a minute ago and found that I cannot use wildcards > with > Keywords: url:www.yahoo.* You *can* use wildcards with keywords (in fact, a keyword really has no meaning once indexed - everything is a "term" at that point). 99% of the issues people have with things like this end up being Analyzer/QueryParser related. A few quick pieces of advice: - use Luke to see what is inside your index and understand what it looks like from the inside. - create a utility (I've posted one on the list in the past) that shows what your analyzer is doing graphically. - use Query.toString to output what QueryParser did to your query expression. Armed with the above bits of trivia, you have the information to troubleshoot the situation first-hand. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org