Can those modifications be made on the server side? If so, you could create an UpdateRequestProcessor. See http://wiki.apache.org/solr/UpdateRequestProcessor
On Thu, Jan 12, 2012 at 5:19 PM, jmuguruza <jmugur...@gmail.com> wrote: > If I have individual files in the expected Solr format (having just ONE doc > per file): > > <add> > <doc> > <field name="id">GB18030TEST</field> > <field name="name">Test with some GB18030 encoded characters</field> > <field name="features">No accents here</field> > <field name="features">ÕâÊÇÒ»¸ö¹¦ÄÜ</field> > <field name="price">0</field> > </doc> > </add> > > Is not there a way to easily marshal that file into a SolrInputDocument? Do > I have to do the parsing myself? > > I need them in java pojo cause I want to modify some fields before > indexing. > I would think that is possible with built in methods in Solr but cannot > find > a way. > > thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/a-way-to-marshall-xml-doc-into-a-SolrInputDocument-tp3654777p3654777.html > Sent from the Solr - User mailing list archive at Nabble.com. >