You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@manifoldcf.apache.org by Basso Luca <LB...@Regione.Emilia-Romagna.it> on 2014/09/04 16:09:17 UTC
User Mapping Connection
Hi Karl,
we are running ManifoldCF 1.6.1 with the Web Repository connector and the Solr Output connector.
Our goal now is to remap crawled urls using the "User Mapping Connection" utility.
To achieve this result we tried the following steps:
1. define a User Mapping Connection with these fields:
User name regular expression: (.+)(/)$
User expression: $(1)
in order to remove a possible slash at the end of any url
2. define an Authority Group
3. define an Authority Connection, belonging to our Authority Group and containing our User Mapping Connection
4. connect our Repository Connection to the Authority Group
Unfortunately this procedure is not working.
What is going wrong?
Thank you.
Best regards,
Luca
R: User Mapping Connection
Posted by Basso Luca <LB...@Regione.Emilia-Romagna.it>.
Hi Karl,
we really need such URL Mapping facility.
We also strongly believe that it could be very useful for the whole community,
so we are going to create a ticket for that.
Nevertheless our main concern is about the timeline: which is your estimate about
a possible release date for the facility at issue?
Thank,
Luca
Da: Karl Wright [mailto:daddywri@gmail.com]
Inviato: giovedì 4 settembre 2014 16:20
A: user@manifoldcf.apache.org
Oggetto: Re: User Mapping Connection
Hi Luca,
User name mapping is useful only in the context of document authorization. From your description of the problem, that has nothing to do at all with the actual problem you have, which, if I may restate, is to map the URL of a crawled Web document from its original form to a new form, where there are no trailing "/" characters.
To do what you are looking to do, you do not need any authority groups or authorities. But you do need some facility for mapping URLs, either in the web connector itself, or in the solr connector, or possibly in a transformation connector. Unfortunately, no such support exists in ManifoldCF at this time; something would need to be developed. You are free to create a ticket for this work, which I think would best be modeled as a transformation connector.
Thanks,
Karl
On Thu, Sep 4, 2014 at 10:09 AM, Basso Luca <LB...@regione.emilia-romagna.it>> wrote:
Hi Karl,
we are running ManifoldCF 1.6.1 with the Web Repository connector and the Solr Output connector.
Our goal now is to remap crawled urls using the “User Mapping Connection” utility.
To achieve this result we tried the following steps:
1. define a User Mapping Connection with these fields:
User name regular expression: (.+)(/)$
User expression: $(1)
in order to remove a possible slash at the end of any url
2. define an Authority Group
3. define an Authority Connection, belonging to our Authority Group and containing our User Mapping Connection
4. connect our Repository Connection to the Authority Group
Unfortunately this procedure is not working.
What is going wrong?
Thank you.
Best regards,
Luca
Re: User Mapping Connection
Posted by Karl Wright <da...@gmail.com>.
Hi Luca,
User name mapping is useful only in the context of document authorization.
>From your description of the problem, that has nothing to do at all with
the actual problem you have, which, if I may restate, is to map the URL of
a crawled Web document from its original form to a new form, where there
are no trailing "/" characters.
To do what you are looking to do, you do not need any authority groups or
authorities. But you do need some facility for mapping URLs, either in the
web connector itself, or in the solr connector, or possibly in a
transformation connector. Unfortunately, no such support exists in
ManifoldCF at this time; something would need to be developed. You are
free to create a ticket for this work, which I think would best be modeled
as a transformation connector.
Thanks,
Karl
On Thu, Sep 4, 2014 at 10:09 AM, Basso Luca <
LBasso@regione.emilia-romagna.it> wrote:
> Hi Karl,
>
> we are running ManifoldCF 1.6.1 with the Web Repository connector and the
> Solr Output connector.
>
> Our goal now is to remap crawled urls using the “User Mapping Connection”
> utility.
>
> To achieve this result we tried the following steps:
>
>
>
> 1. define a User Mapping Connection with these fields:
>
> User name regular expression: (.+)(/)$
>
> User expression: $(1)
>
> in order to remove a possible slash at the end of any url
>
> 2. define an Authority Group
>
> 3. define an Authority Connection, belonging to our Authority Group
> and containing our User Mapping Connection
>
> 4. connect our Repository Connection to the Authority Group
>
>
>
> Unfortunately this procedure is not working.
>
> What is going wrong?
>
>
>
> Thank you.
>
>
>
> Best regards,
>
> Luca
>
>
>