[ https://issues.apache.org/jira/browse/SOLR-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch closed SOLR-2478. --------------------------------------- Resolution: Incomplete A clarification question about ancient functionality. No next action. > DocumentObjectBinder.toSolrInputDocument not processing the dynamic field > values. > --------------------------------------------------------------------------------- > > Key: SOLR-2478 > URL: https://issues.apache.org/jira/browse/SOLR-2478 > Project: Solr > Issue Type: Bug > Components: clients - java > Affects Versions: 1.4.1 > Environment: solr 1.4.1 > Reporter: Nagarajan Shanmugam > > When i tried to add a bean using SolrServer.addBean(). It is actually not > processing the dynamic fileds. > If I look the index file using lucene luke under the dynamic field name it > creating the field. > Example > Class Bean { > @Field("oem_*") > public Map<String,String> oems; > } > schema.xml > <dynamicField name="oem_*" type="textgen" indexed="true" stored="true" > multiValued="false"/> > Bean bean = new Bean(); > bean.oems.put("oem_1","OEM1"); > solrServer.addBean(bean) > When i call this method its adding the document in index. > Using lucene luke I open the index and look for the field oem_1. But it not > found. Instead it has created the field oem_* and add the map value > {oem_1:OEM1} > Is this the way dynamic fields works? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org