Re: GROUP BY in Lucene

2016-03-18 Thread Gimantha Bandara
Hi Rob, Thanks a lot for above very descriptive answer. I will give it a try. On Friday, March 18, 2016, Rob Audenaerde wrote: > Hi Gimantha, > > You don't need to store the aggregates and don't need to retrieve > Documents. The aggregates are calculated during collection using the > BinaryDocV

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/

Serializing Queries

2016-03-18 Thread Bauer, Herbert S. (Scott)
Has anyone in this group solved the problem of serializing complex boolean queries (Some of our clauses have span and other query types)? Our Java RMI depends upon being able to do so. I have seen posts that say you can just parse the string representation but apparently that only works on si

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