Hi Kambiz,

What version of MCF are you using?  In 1.7, the file system connector sets
the RepositoryDocument's modifiedDate field, which the solr output
connector formats as iso 8601 format:

      if ( modifiedDateAttributeName != null )
      {
        Date date = document.getModifiedDate();
        if ( date != null )
        {
          outputDoc.addField( modifiedDateAttributeName,
DateParser.formatISO8601Date( date ) );
        }
      }


As for mapping urls in the file system connector, it does not at this time
have that kind of feature.  This is something you will need to request if
you need it.  Where are you seeing a URL mapping tab in either Solr or File
system connectors?

Karl


On Tue, Nov 18, 2014 at 9:01 AM, Kambiz Niktabar <nikta...@yahoo.com> wrote:

> Hello,
>
> Actually I have two questions this time:
>
>    1. Is there any way to handle date normalization as part of document
>    processing in Manifold CF? I tried running file system connector and want
>    to map last modified field to a field in Solr but looking at the Solr log
>    it looks like this lastModified=Fri+Sep+26+05:51:08+BRT+2014 which is not
>    acceptable by Solr. How can I normalize date and time to an acceptable
>    format for Solr?
>    2. How can I use that URL mapping tab to replace part of URL with
>    something else like below:
>
> e.g. \\server1\shared\test\file.doc  -> H:\test\file.doc
>
> Regards
> Kambiz Niktabar
>

Reply via email to