Re: Querying nested datastructures

2015-11-25 Thread István
Hi Mikhail, Thank you very much for the info, it is very informative. I am going through the links you sent. Best regards, Istvan On Tue, Nov 24, 2015 at 7:48 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello Istvan, > > - when flattern subdocs, you can concatenate its' fields

Re: Querying nested datastructures

2015-11-25 Thread István
Hi Jack, Thank you very much, I am going to for this as the primary solution. Regards, Istvan On Tue, Nov 24, 2015 at 1:56 PM, Jack Krupansky wrote: > The primary recommendation is that you flatten nested documents. > > That means one Solr document per cpc, not multivalued. > > As always, quer

Re: Querying nested datastructures

2015-11-24 Thread Mikhail Khludnev
Hello Istvan, - when flattern subdocs, you can concatenate its' fields which are necessary for retrieval, eg "K-06-45", it solves retrieval, but isn't really flexible. - term positions is not easier to implement, if you really prefer this way I'd suggest to look on http://siren.solutions/siren/ove

Re: Querying nested datastructures

2015-11-24 Thread Jack Krupansky
The primary recommendation is that you flatten nested documents. That means one Solr document per cpc, not multivalued. As always, queries should drive your data model, so please specify what a typical query might be like, in plain English. -- Jack Krupansky On Tue, Nov 24, 2015 at 4:39 AM, Ist

Querying nested datastructures

2015-11-24 Thread István
Hi all, I would like to find documents in a key-value store (Riak) with Solr and I am running into a challenge. I have nested JSON documents with patent information. Patents have a one or many CPC ( http://www.cooperativepatentclassification.org/index.html) codes something like these: { // more