Hello,

I'd like to know the fastest way (code lines) to update a field of a
document.
So my idea was:
1) Get a SolrDocument
2) Add all fields of the SolrDocument to a new SolrInputDocument
3) Update the field in SolrInputDocument
4) Add SolrInputDocument to the server and commit it

Is there a fastest way to do that? I mean transforming a SolrDocument into a
SolrInputDocument?

Thanks in advance,
Regards,
Marc.

Reply via email to