Oh!!! So *that's* what the documentation is for! ;)
Thanks for pointing that out. Sometimes you get so frustrated with a
problem you fail to notice the obvious solution.
Doug
-----Original Message-----
From: hossman@hal.rescomp.berkeley.edu
[mailto:hossman@hal.rescomp.berkeley.edu] On Behalf Of Chris Hostetter
Sent: Monday, August 01, 2005 2:28 AM
To: java-user@lucene.apache.org
Subject: Re: Keyword Searches don't seem to be working.
: However, when I search either the path or url fields on this index for
those
: values I'm not getting any results. Here's an example:
: Query q = new TermQuery(new
: Term("http://cfdocs.office.alagad.com/htmldocs/00000001.htm", "url"));
simple mistake - the constructor for a Term takes the field name first,
then the value.
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
|