Hi Licinio,

You can use ClientUtils.toSolrInputDocument(...), that converts a
SolrDocument to a SolrInputDocument.

Martijn

2009/9/16 Licinio Fernández Maurelo <licinio.fernan...@gmail.com>:
> Hi there,
>
> currently i'm working on a small app which creates an Embedded Solr Server,
> reads all documents from one core and puts these docs into another one.
>
> The purpose of this app is to apply (small) changes on schema.xml to indexed
> data (offline) resulting a new index with documents updated to schema.xml
> changes.
>
> What i want to know is if there is an easy way to map SolrDoc  to
> SolrInputDoc.
>
> Any help would be much appreciated
>
> --
> Lici
>



-- 
Met vriendelijke groet,

Martijn van Groningen

Reply via email to