Thanks a lot Karl, I updated CMISRepositoryConnector.java class to add custom properties such as parent folder etc. and then used same to create RepositoryDocumentobject.
Thanks again for help. Regards. On Wed, May 21, 2014 at 9:26 PM, Karl Wright <[email protected]> wrote: > Hi Lalit, > > All you have to do is populate the RepositoryDocument object with your > metadata fields within whatever connector you are using. You can give them > whatever name you like; mapping to solr fields can be configured in the > Solr connector's job tabs. > > Karl > > > > On Wed, May 21, 2014 at 3:01 PM, lalit jangra <[email protected]>wrote: > >> Hi, >> >> I am working on integrating alfresco using cmis to solr using manifoldcf >> 1.5. I come across a requirement where i want to have content folder name & >> link as well as content download link indexed in solr. >> >> As i am using mcf cmis connector, i could see a number of content >> properties getting indexed such as name, objectId, modified date, modifier >> etc. but apart form these i need content download url & details of parent >> folder of content where it is stored such as parent folder name & link. >> These extra properties will be stored into solr index against mapped >> properties & will be used for search. >> >> I was going through mcf code & from there i assumed that all properties >> assignment to solr index happens at the time of job run where documents are >> taken from source & indexed into output i.e. solr. >> >> Can anyone help me as where can i set these values against solr schema >> fields which are already available to me? Also i assume at time of job run >> i will get all properties of a document using cmis. >> >> Regards, >> Lalit Jangra. >> > > -- Regards, Lalit Jangra.
