I'd start by taking a very hard look at my data model and seeing if I can make redefine the model (as translated from the DB you may be coming from). Solr does not excel at what RDBMSs are designed to do. Really. I predict that if you just try to make Solr into a RDMBS, you'll expend a lot of effort and not be satisfied with the results. For instance, do you expect to support joins across shards, i.e. distributed support? What about "block joins"? Sub-selects (again if so, what about distributed)? Grouping?
But if you absolutely insist on trying this, look at the existing Join code. Take a look through any classes in the Solr/Lucene source tree starting with either Join or BlockJoin. Note that they are two very different capabilities so be aware of that as you look through them. Best, Erick On Mon, Sep 16, 2013 at 6:18 AM, ashimbose <ashimb...@gmail.com> wrote: > Hi, > > Can anyone have any idea how to write a patch in java which will support > for > complex join query in solr. I have the solr source code. If you have any > sample code for the same, please share with me. > > Thanks > Ashim > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-make-Solr-complex-Join-Query-patch-in-java-tp4090314.html > Sent from the Solr - User mailing list archive at Nabble.com. >