Thanks Alexey. That solved the issue. I am now able to get all images information in the index.
On Thu, Aug 12, 2010 at 12:47 AM, Alexey Serba <ase...@gmail.com> wrote: > Try to define image solr fields <-> db columns mapping explicitly in > "image" entity, i.e. > > <entity name="image" query="select filename, filepath, type from > images where story_id='${story.story_id}'" > > <field column="filename" name="filename" /> > <field column="filepath" name="filepath" /> > <field column="type" name="type" /> > </entity> > > See > http://www.lucidimagination.com/search/document/c8f2ed065ee75651/dih_and_multivariable_fields_problems > > On Thu, Aug 12, 2010 at 2:30 AM, Manali Joshi <joshi.man...@gmail.com> > wrote: > > I tried making the schema fields that get the image data to > > multiValued="true". But it still gets only the first image data. It > doesn't > > have information about all the images. > > > > > > > > > > On Wed, Aug 11, 2010 at 1:15 PM, kenf_nc <ken.fos...@realestate.com> > wrote: > > > >> > >> It may not be the data config. Do you have the fields in the schema.xml > >> that > >> the image data is going to set to be multiValued="true"? > >> > >> Although, I would think the last image would be stored, not the first, > but > >> haven't really tested this. > >> -- > >> View this message in context: > >> > http://lucene.472066.n3.nabble.com/Data-Import-Handler-Query-tp1092010p1092917.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > >> > > >