Nothing in Solr handles maps, it's a flat field:value structure. You have to decide on a serializable form for the map and put _that_ in the index, deciding along the way how you want it to be searched and defining your fields appropriately.
Best, Erick On Sun, Apr 13, 2014 at 10:35 AM, sachin.jain <ersachinjai...@gmail.com> wrote: > I have map in my SolrDocument class: > > @Field("sim_txt") > private Map<String, String> simDetails; > > and in my schema.xml i have : > > <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100"> > <analyzer type="index"> > <tokenizer > class="solr.StandardTokenizerFactory"/> > </analyzer> > </fieldType> > > <dynamicField name="*_txt" type="text_en" indexed="true" stored="true" > multiValued="true" /> > > When i try to save the document the map is not saved in Solr. > > Can you please help > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Can-not-save-maps-in-solr-tp4130890.html > Sent from the Solr - User mailing list archive at Nabble.com.