: Anyway thanks, seems I'll have to code it myself, not hard, just tedious.
you could probably re-use a *log* of what's in XMLLoader -- certinaly
easier then starting from scratch -- i just don't know if you'll be able
to drop it in and use the API as is.
-Hoss
Chris Hostetter-3 wrote
>
> but you're the first person i've ever seen ask about
> serializng to Solr's XML format on the client, then parse it again, then
> send the SolrInputDocument to Solr (seems like a lot of
> gratuitious serialize/desrialze/serialise/etc...)
> -Hoss
>
Yes, , but I am
: 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.
the class tha
even if they could (not sure if they could be done there, as they involve
properly formatting some fields so dates are in correct format etc, and
maybe the format is checked first) I would prefer to do it in the solrj side
as the code will be much simpler for me.
thanks
--
View this message in co
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 wrote:
> If I have individual files in the expected Solr format (having just ONE doc
> per file