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