I think you want to have a look at the QueryParser classes. Not sure which you're using to start with but probably the default QueryParser should suffice.
On Thu, May 17, 2012 at 3:53 PM, Stefan Undorf <goo...@suncom.de> wrote: > Hi, > > I want to store a query for later use in a database, like: > > 1. queryToPersist = booleanQuery.toString(); > 2. store it to the db, go fishing, retrieve it > 3. Query query = Query.parseString(queryToPersist) > > The method Query.parseString does not exist. Is there a way to do something > similar? > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org