> > Also, most (none?) Query objects do not have a parseable toString > representation so it may not even work at all. >
IMO, this behavior is limited to the Subclasses of SpanQuery. Anyways, I understand the general notion here. Cheers Avlesh On Mon, May 25, 2009 at 9:30 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > 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. >