Show TOC

Procedure documentationCreating Search Object Connectors for the File Search Locate this document in the navigation structure

Procedure

  1. Launch the administration cockpit.

  2. Choose   Create  .

  3. Choose SAP File Search as the search object connector type.

  4. Choose Next.

  5. Enter a description for the search object connector that you want to create.

    The description can have a maximum length of 60 characters. It is used as the display name for the search object connector in the administration cockpit.

  6. Choose Add to create crawls for the search object connector:

    1. Specify in Repository Type whether your file repository is a file server, Web server, or WebDAV repository.

    2. Enter the corresponding seed URL. This is the URL of the file share, Web server, or WEBDAV repository where the crawl is to start.

      Example Example

      \\abc12345\docs or http://de.wikipedia.org

      End of the example.
    3. Enter the following settings for the seed URL:

      Screen Element

      Value

      User

      Enter one of the following:

      • The user name of a technical user with sufficient access rights to crawl the file share and extract the authorization data from the LDAP directory

      • The user of a Web site if basic authentication is enabled

      Password

      Enter the password for the technical user.

      Domain

      Enter the domain that the user belongs to.

      Algorithm

      Down the Tree:

      Choose this value if you want the crawl to include only the files located below the node of the seed URL you have specified above (without referenced files).

      Same Server:

      Choose this value if you want the crawl to include referenced files that reside on this server.

      Same Domain:

      Choose this value if you want the crawl to include referenced files that reside in the same domain.

      Top-Level Domain:

      Choose this value if you want the crawl to include referenced files that reside within the top-level domain.

      Free:

      Choose this value if you want the crawl to include all referenced files, irrespective of their location.

      Index Directories

      Activate this option to include directory names (and attributes) in the index.

      This means that the index contains not only the files in a directory but also the data of the directory itself.

      Use of Crawler Rules

      Select whether you want robot rules to be observed or not.

      Web server administrators can use crawler rules (robots.txt files or meta-tags in HTML files) to restrict access to the homepages.

      Set this flag to have the system exclude directories or files that are subject to crawler rules.

      Get Access Rights

      Set this flag to have the system perform authorization checks during the file search. If you select this option, the crawl also includes file attributes defining access rights. More information: Authorization Checking for File Search

  7. To add another crawl, choose Add and repeat the previous step. Otherwise, choose Next.

    Note Note

    You can also add more authorization checks to the index later in the administration cockpit.

    End of the note.
  8. An overview of the search object connector and the crawls defined is displayed.

  9. Choose Finish.

Result

The system creates the following elements:

  • A search object connector with a display name based on your description and a connector ID in the format FILE_<ten-digit number>

  • An index in TREX with an ID in the following format:

    efs:<system_number>_<client>_<connector_ID>

    In this case,

    efs is the prefix used to identify the file search in SAP NetWeaver Enterprise Search.

    <system_number> is the eight-character system name

    _<client> is the three-digit client number preceded by a _ separator

    <connector_ID> is the ID generated for the connector in the format file_<nnnnnnnnnn> preceded by a _ separator

  • A crawl (or more than one crawl) in TREX with an ID in the format <index_ID>_<nnn>, where <nnn> is a three-digit number identifying the crawls, starting with 001.

In the administration cockpit, you can check the status of the search object connector that you created.

Then start the crawl you created to fill the index. More information: Starting a Crawl