lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Keyword Searches don't seem to be working.
Date Mon, 01 Aug 2005 06:27:48 GMT
: 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


Mime
View raw message