Re: Dynamic data model design questions

2013-04-20 Thread Marko Asplund
Jack Krupansky wrote: > In general, Solr is much more friendly towards static data models. Yes, you > can use dynamic fields, but use them in moderation. The more heavily you > lean on them, the more likely that you will eventually become unhappy with > Solr. Can you concrete examples of what kin

Re: Dynamic data model design questions

2013-04-16 Thread Marko Asplund
Shawn Heisey wrote: > Solr does have some *very* limited capability for doing joins between indexes, but generally speaking, you need to flatten the data. thanks! So, using a dynamic schema I'd flatten the following JSON object graph { 'id':'xyz123', 'obj1': { 'child1': { 'prop1':

Dynamic data model design questions

2013-04-15 Thread Marko Asplund
I'm implementing a backend service that stores data in JSON format and I'd like to provide a search operation in the service. The data model is dynamic and will contain arbitrarily complex object graphs. How do I index object graphs with Solr? Does the data need to be flattened before indexing? A