Hi Karl,

I have created the livelink authority, installed manifold solr plugin.

I can do  http://localhost:8080/mcf-authority-service/UserACLs?username=IXB

I do not know which param to add into the solr query to filter the search result.

Below is what i have added into solr

<!-- ManifoldCF document security enforcement component -->
  <queryParser name="manifoldCFSecurity"
    <str name="AuthorityServiceBaseURL">http://localhost:8080/mcf-authority-service</str>
    <int name="ConnectionPoolSize">50</int>

  <requestHandler name="search" class="solr.SearchHandler">
  <lst name="appends">
    <str name="fq">{!manifoldCFSecurity}</str>
 <lst name="defaults">
 <str name="echoParams">explicit</str>
 <int name="rows">10</int>
 <str name="df">content</str>

This is one example of solr query :


Thank you for your help.


On Nov 9, 2013, at 2:23 AM, Karl Wright <daddywri@gmail.com> wrote:

Hi Ibrahim,

Yes, manifoldcf handles deletions.

As for how to set up solr to enforce document security, you will need to install the manifoldcf solr plugin and configure it appropriately, and also create a livelink authority.


Sent from my Windows Phone

From: Ibrahim Bakayoko
Sent: 11/8/2013 3:19 PM
To: user@manifoldcf.apache.org
Subject: Re: Livelink connector

Hi Karl,

Thank you for your help.

I was finally able to index the livelink content. I used solr dynamic fields to discover the livelink fields name and specify the name of the fields i want into my solr schema.

<dynamicField indexed="true" multiValued="true" name="*" stored="true" type="text"/>

1 - Will manifoldCF delete from solr deleted livelink doc?
2 - How to query the data in solr to take into account the Livelink permission?

Thank you,

2013/11/5 Karl Wright <daddywri@gmail.com>
Hi Ibrahim,

Please check out http://manifoldcf.apache.org/release/trunk/en_US/end-user-documentation.html#livelinkrepository for a detailed description of how to select all metadata.

As for how you configure Solr to index it all, you will need to learn more about Solr.  Solr has "dynamic" fields, which get created when something needs to be indexed, which might meet your needs.  See http://wiki.apache.org/solr/SchemaXml#Dynamic_fields .  But, in general, you will need to familiarize yourself with Solr before you will be able to configure it properly.


On Tue, Nov 5, 2013 at 3:07 PM, Ibrahim Bakayoko <ib.bakayoko@gmail.com> wrote:

Need some help on Apache manifoldCF <=> Livelink.

Would like to know what are the fields i need to add into solr to make sure i am indexing all livelink fields.

What should i put into the Field Mappings, Metadata on Apache ManifoldCF.

Best Regards,