Krupansky
-Original Message-
From: Michael Sokolov
Sent: Sunday, August 04, 2013 4:55 PM
To: java-user@lucene.apache.org
Cc: Denis Bazhenov
Subject: Re: Query serialization/deserialization
On 07/28/2013 07:32 PM, Denis Bazhenov wrote:
A full JSON query ser/deser would be an especially nice
On 07/28/2013 07:32 PM, Denis Bazhenov wrote:
A full JSON query ser/deser would be an especially nice additionto Solr,
allowing direct access to all Lucene Query features even if they haven't been
integrated into the higher level query parsers.
There is nothing we could do, so we wrote one, in
in
> the "parsedquery" section of debugQuery output for a Solr query response.
>
> -- Jack Krupansky
>
> -Original Message- From: Denis Bazhenov
> Sent: Sunday, July 28, 2013 1:59 AM
> To: java-user@lucene.apache.org
> Subject: Query serialization/deseri
user@lucene.apache.org
Subject: Query serialization/deserialization
I'm looking for a tool to serialize and deserialize Lucene queries. We have
tried using Query.toString(), but some queries return string that couldn't
be parsed by a QueryParser afterwards. The alternative possibilit
Hi Denis,
Indeed, Query.toString() only tries to give a human-understandable
representation of what the query searches for and doesn't guarantee
that it can be parsed again and would give the same query. We don't
provide tools to serialize queries but since query parsing is usually
lightweight com
I'm looking for a tool to serialize and deserialize Lucene queries. We have
tried using Query.toString(), but some queries return string that couldn't be
parsed by a QueryParser afterwards. The alternative possibility is to use
standard Java serialization mechanism. The reason I'm trying to avoi