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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
