Setting up the File import

OnePart handles many types of CAD files, but also Office, PDF and image files.

For more details, see the Supported file formats in the OnePart Reference Guide.

This task shows you how to:

Add a Files connector

Before you begin: The procedures below use the OnePart Console. We recommend using a Chrome or Firefox browser for this procedure. Internet Explorer is currently not supported by the OnePart Console. For more details on configuring the connector in the Exalead CloudView Administration Console, see About the Files Connector in the OnePart Connectors Guide.
  1. Open OnePart.
    1. Open your web browser at http://<ONEPART_SERVERNAME>:<BASEPORT>
      For example, http://host:10000
    2. Enter the administrator’s Login / Password: app-admin / exalead (by default)
  2. Select OnePart Console from the user menu.



  3. In the Sources tab, click and select the source from the menu.

    For example, select Files to add a filesystems source.



  4. Complete the fields as follows:
    1. For Name, enter, for example, Design_team

      Note: Choose this name carefully as it cannot be changed after. You should always use an intuitive name since it appears as a navigation facet in the OnePart UI.

    2. For Paths, enter the file system path to crawl. Click ‘...’ to choose a path from the file browser.
    3. Click ‘+’ to create additional paths.
    4. Click OK.
  5. You must import the files before being able to search within their content.

Exclude files from being indexed

You can set the filter rules for each connector. For more help, see the online tooltips '?'

  1. In the OnePart Console, click the Sources tab.
  2. Click Filter Rules beside the connector you want.
  3. Set the filter rules:
    1. The maximum file size allowed
    2. Exclude file types from being indexed; To exclude all LOG, TMP and PDF files, enter a space separated list in Extensions, for example, " log tmp pdf"
    3. Ignore rules that allow you to filter based on the source system paths. They are applied according to the file_path meta of documents; for example, */tmp/* filters any document which path contains "/tmp/" in it.
  4. Click OK.

Import your files

  1. In the OnePart Console Sources tab, click the Import button beside the Files connector.
    1. This triggers the import process. You can abort the process if you need to do so.
  2. Verify that your content has been imported correctly. Check the number of documents in the Items column.

    For more details, see Importing your data in the OnePart Connectors Guide.

All connectors only guarantee that the initial import copies the source to the index in the state of the source at the beginning of the initial import. This means that any data added or modified or deleted during the initial import may or may not be taken into account by the initial import. This is especially true for long initial imports (several days). Therefore, it’s a good practice to perform an incremental scan right after the initial import is over.

Secure your data

Before you begin: OnePart uses a Storage Service, an in-memory lightweight database, to store the user’s Preferences, selections, etc. For recommendations on how to secure your OnePart data, see Storage Service Administration in the OnePart Administration Guide.