You can use addField method.

On 02 Jul 2014, at 21:07, Ameya Aware <ameya.aware@gmail.com> wrote:


I am using latest Apache manifoldCF version 1.6.1

When i connect to my local file system using 'File System' connector to send the documents to solr, i see metadata sent to solr in default setting is 'id, content_type, content, resoursename, version'.

I have changed code in file system connector to add more metadata to RepositoryDocument object. How can i send that added extra metadata to Solr?

Thanks in advance,

Ameya Aware