lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Hadianto <vict...@nuix.com.au>
Subject Re: Range Query
Date Mon, 28 Apr 2003 23:03:18 GMT
> I can change the latter, but who uses toString() for anything other
> than human-friendly print-outs?

Ispecifically use the toString() method to create the string representation of 
the query and store them in the database. In the future, user can browse 
through the list of queries that she/he has run and re-execute them. 

I found exactly the same problem with Aviran and I had to create a RangeQuery 
wrapper object that translate the toString() method correctly to be parsed by 
QueryParser again.


victor



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


Mime
View raw message