lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Smith <n...@techop.ch>
Subject Re: Printing queries
Date Wed, 20 Feb 2002 08:40:58 GMT
David Elworthy wrote:
> 
> When I used toString() on a Query object, I don't get a textual
> representation of the query. Instead I get something like:
>   org.apache.lucene.search.BooleanQuery@29
>   org.apache.lucene.search.BooleanQuery@14d
> Any ideas what I can do to fix this? BTW, this is with Visual J++.
> 
> -- David Elworthy
> 

Use Query#toString(String defaultField) instead.

--
Nick Smith

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


Mime
View raw message