I have not specified the multivalued attribute. <dynamicField name="*_i" type="integer" indexed="true" stored="true"/>
I have different integer properties in my java class, some are single integer values, some are integer arrays. What I want is if the setter method is expecting an integer then the field stored must be single valued. But all integer dynamic fields are being indexed as multivalued. Please not that this happens only when I use addBeans method. If I construct a SolrDocument then indexing works as expected. On Wed, Feb 1, 2012 at 3:43 PM, darul <daru...@gmail.com> wrote: > remove multivalue="true" in your schema.xml file ? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/addBean-method-inserting-multivalued-values-tp3692511p3706126.html > Sent from the Solr - User mailing list archive at Nabble.com. >