SOLR-262 -- Added toObject( Fieldable ) to FieldType. This lets the DocumentBuilder convert lucene Document to a SolrDocument. This patch also lets the DocumentBuilder convert a SolrInputDocument to a lucene Document.
The semantics of document conversion is not totally agreed upon yet. This is commited so we have something to work with for other patches.
|