Hi Tacno,

Sounds like material for block join : 
https://cwiki.apache.org/confluence/display/solr/Other+Parsers
 
Ahmet

On Monday, March 2, 2015 9:05 PM, tacno <renatocass...@gmail.com> wrote:



Hello guys.

I'm indexing any fields in solr without any problems.
Ex:

<doc>
<field name="identifier">http://192.168.1.27:8000/event/xml/2/solr</field>
<field name="pk_i">2</field>
<field name="title">Title</field>
<field name="type">text</field>
<field name="created">2015-03-02T15:53:01.435232Z</field>
<field name="creator">user that create</field>
........
</doc>

But now, i have pictures in this data, and I want to put an "array" of
fields with different values.

Example:

<photos>
<element>
<field name="path_s">http://localhost:8000/images/first_file.jpg</field>
<field name="caption_pt">Minha foto</field>
<field name="caption_en">My Picture</field>
</element>
<element>
<field name="path_s">http://localhost:8000/images/second_file.png</field>
<field name="caption_pt">Minha foto</field>
<field name="caption_en">My Picture</field>
</element>
......
</photos>

But this doesn't insert in my solr. How can I do to index this data?

Thanks!!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-can-I-index-a-dictionary-tp4190433.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to