On Mon, May 25, 2009 at 9:16 PM, Avlesh Singh <avl...@gmail.com> wrote:

> Point taken, Erik. But, is there really a downside towards using
> Query.toString() if someone is not using any of the complex Query
> Subclasses
> (like a SpanQuery)?
>

Well, you will be relying on undocumented behavior that might change in
future releases.

Also, most (none?) Query objects do not have a parseable toString
representation so it may not even work at all.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to