Thanks for the revert Noble. A few questions are still open: 1. Can I pass parameters to DIH and be able to use them inside the "query" attribute of an entity inside the data-config file? 2. Can I use the same data-import-handler in someway so that indexing can be carried out in parallel?
Cheers Avlesh 2009/7/31 Noble Paul നോബിള് नोब्ळ् <noble.p...@corp.aol.com> > On Fri, Jul 31, 2009 at 11:11 AM, Avlesh Singh<avl...@gmail.com> wrote: > > I am using Solr 1.3 and have a few questions regarding DIH: > > > > 1. Can I pass parameters to DIH and be able to use them inside the > > "query" attribute of an entity inside the data-config file? > > 2. I am indexing some 2 million database records using DIH with 4-5 > > nested entities (just one level). These subqueries are highly optimized > > cannot be avoided. Since, DIH processes records sequentially, it takes > a lot > > of time (approximately 3 hours) to re-build the indexes. My question is > - > > Can I use DIH in someway so that indexing can be carried out in > parallel? > > 3. What happens if I "register" multiple DIH's (like dih1, dih2, dih3 > > ...) with different data-config files inside the same core and run > > full-import on each of them at the same time? Are the indexes created > by > > each of these (inside the same data directory) merged? > yes it is possible to create muiltiple instances of DIH as you > mentioned. The only drawback is it would result in multiple commits. > > All the data will be written to the same index together > > > > Due to my lack of knowledge on Lucene/Solr internals, some of these > > questions might be funny. > > > > Cheers > > Avlesh > > > > > > -- > ----------------------------------------------------- > Noble Paul | Principal Engineer| AOL | http://aol.com >