Sas, I have no idea why it might not work, perhaps debugging DIH in Solr Admin or just via request param might answer this question. 09 июня 2016 г. 19:43 пользователь "Jamal, Sarfaraz" <sarfaraz.ja...@verizonwireless.com.invalid> написал:
> I am on SOLR6 =) > > Thanks, > > Sas > > -----Original Message----- > From: Mikhail Khludnev [mailto:mkhlud...@griddynamics.com] > Sent: Thursday, June 9, 2016 12:42 PM > To: solr-user <solr-user@lucene.apache.org> > Subject: [E] Re: Question about Data Import Handler > > which version of Solr do you run? > > On Thu, Jun 9, 2016 at 6:23 PM, Jamal, Sarfaraz < > sarfaraz.ja...@verizonwireless.com.invalid> wrote: > > > Hi Guys, > > > > I have a question about the data import handler and its configuration > > file > > > > This is what a part of my data-config looks like: > > > > > > ============================================ > > <field column="TASKS" name="TASKS" /> > > > > <entity name="tasks" child="true" query="select name, description from > > *** where project_id='${project.PROJECT_ID_ORIGINAL}'"> > > <field column="NAME" name="name" /> > > <field column="DESCRIPTION" name="description" /> </entity> > > =============================================== > > > > I would like it so that when its indexed, it returns in xml the > > following when on that doc. > > > > -<arr name="tasks"> > > <str name=name>This Is my name</str> > > <str name=description>This is my description</str> </arr> > > > > The best I have gotten it to do so far is to add to the values in name > > and description, which are fields on the doc. > > > > Thanks for any help - > > > > P.S. I shall be replying to the other threads as well, I Just took a > > break from it to come work on another part of SOLR. > > > > Sas > > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> >