lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Zero hits for queries ending with a number
Date Sat, 03 Apr 2004 09:48:27 GMT
On Apr 3, 2004, at 3:19 AM, lucene@nitwit.de wrote:
>> You *can* use wildcards with keywords (in fact, a keyword really has 
>> no
>> meaning once indexed - everything is a "term" at that point).
>
> Well, I just tried. I  also was surprised actually - but it just 
> didn't work.
>
> I can use wildcards for
>
>   doc.add(Field.Text("url", row.getString("url")));
>
> but I cannot for
>
>   doc.add(Field.Keyword("url", row.getString("url")));
>
>>   - create a utility (I've posted one on the list in the past) that
>> shows what your analyzer is doing graphically.
>
> Interesting. Can you give me subject/date of that posting?

AnalysisDemo in this article: 
http://today.java.net/pub/a/today/2003/07/30/LuceneIntro.html

Provide us the results of running your url through that, using the same 
analyzer you are using, and also do the same on .toString of the query 
you parsed.  Those two pieces of info will tell all.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message