Re: Dynamic data model design questions

2013-04-21 Thread William Bell
ou no longer have any clue as to how fields there are, how > many are populated, and what the profile is for the field values, then you > won't be able to keep on top of what's going on in your index. > > -- Jack Krupansky > > -----Original Message- From: Marko Asplund

Re: Dynamic data model design questions

2013-04-21 Thread Jack Krupansky
From: Marko Asplund Sent: Saturday, April 20, 2013 4:16 PM To: solr-user Subject: Re: Dynamic data model design questions 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 lea

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 Shawn Heisey
On 4/16/2013 9:17 AM, Marko Asplund wrote: Shawn Heisey wrote: So, using a dynamic schema I'd flatten the following JSON object graph { 'id':'xyz123', 'obj1': { 'child1': { 'prop1': ['val1', 'val2', 'val3'] 'prop2': 123 } 'prop3': 'val4' }, 'obj2': {

Re: Dynamic data model design questions

2013-04-16 Thread Jack Krupansky
ta. And you can simulate joins across tables by doing a sequence of queries (although it would be nice to have a SolrJ client-side method to do that in one API call.) -- Jack Krupansky -Original Message- From: Marko Asplund Sent: Tuesday, April 16, 2013 11:17 AM To: solr-user Subjec

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':

Re: Dynamic data model design questions

2013-04-15 Thread Shawn Heisey
On 4/15/2013 8:40 AM, Marko Asplund wrote: 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