lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Schon <aaron_sc...@yahoo.com>
Subject Query about Query.ToString()
Date Wed, 17 Feb 2010 18:44:44 GMT
Hi all, I know that persisting a Lucene query by query ToString() method. Is there any way
of reconstructing the query from the string itself?
The usecase is that I will be storing a library of queries as strings and load the appropriate
query (from the string) based on some conditions.

Is this possible? Could you share a code snippet?

p.s. apologies for the double posting (I had asked this on Lucene general and was asked to
ask here instead)



      

---------------------------------------------------------------------
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