lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Harwood <>
Subject Re: Query about Query.ToString()
Date Wed, 17 Feb 2010 19:31:08 GMT
This was part of the rationale for creating the XMLQueryParser which can be found in contrib.

See here for the background:

On 17 Feb 2010, at 18:44, Aaron Schon wrote:

> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message