FAQ

On Fri, Mar 20, 2009 at 05:03:49PM +0100, Paul Libbrecht wrote:
query.toString() does a fair job at being reparsed by QueryParser but
is there a safe way to do so?
Probably not. That's certainly not tested or guaranteed. Pathological input
would break it.
I have a lucene query object and want a string that QueryParser will
reparse fairly exacty.
Query objects are serializable, so that they can be sent over a network in a
search cluster. Can you use the serialization facilities?

Marvin Humphrey


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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedMar 20, '09 at 4:04p
activeMar 20, '09 at 5:01p
posts2
users2
websitelucene.apache.org

2 users in discussion

Marvin Humphrey: 1 post Paul Libbrecht: 1 post

People

Translate

site design / logo © 2022 Grokbase