Re: Serializing Queries

2016-03-22 Thread Bauer, Herbert S. (Scott)
This seems to work for me. Unfortunately I had to stick with the 2.2.1 version myself. Thanks to our use of an old version of spring I had some asm version clashes. I did also make use of the custom serializers found here: https://github.com/magro/kryo-serializers.git writing: ByteArrayOutputS

Re: Serializing Queries

2016-03-19 Thread Bauer, Herbert S. (Scott)
Thanks James: This looks promising. I¹ll repost when I¹ve had a chance to implement this. -scott On 3/18/16, 10:44 AM, "McKinley, James T" wrote: >We use Kryo to pass query objects between hosts: > >https://github.com/EsotericSoftware/kryo > >We initially had some trouble with it creating dy

Re: Serializing Queries

2016-03-19 Thread Bauer, Herbert S. (Scott)
Thanks Ahmet: I¹ve seen these, but I don¹t find any mechanism here helping to get me from the query object to the xml or a DOM object. -scott On 3/18/16, 11:35 AM, "Ahmet Arslan" wrote: >Hi, > >I think, xml query parser examples [1] are the safest way to persist >Lucene queries. > > >[1]https:

Re: Serializing Queries

2016-03-18 Thread McKinley, James T
We use Kryo to pass query objects between hosts: https://github.com/EsotericSoftware/kryo We initially had some trouble with it creating dynamic classes and running out of PermGen space but we got around that using an ObjectPool: http://commons.apache.org/proper/commons-pool/api-1.6/org/apache/

Re: Serializing Queries

2016-03-18 Thread Ahmet Arslan
Hi, I think, xml query parser examples [1] are the safest way to persist Lucene queries. [1]https://github.com/apache/lucene-solr/tree/master/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml Ahmet On Friday, March 18, 2016 4:02 PM, "Bauer, Herbert S. (Scott)" wrote: Has anyone