Configure Attachment Search

You can enable or disable the file and content search for specific content types of attachments.

You can also set the maximum file size and content size so that your users can't search the file or content if the sizes exceed the specified limits. If enabled, the searched attachments are available for download.

Before you start, ensure that the Enable Search Attachment (ORA_FND_SEARCH_ATTACH_ENABLED) profile option is enabled.

Here's how you can configure the attachment search.

  1. In the Setup and Maintenance work area, go to the Manage Applications Core Global Search Configurations task in the Application Extensions functional area.

  2. On the Manage Applications Core Global Search Configurations page, click Configure Attachment Search.

  3. On the Configure Attachment Search page, click the Create icon, and then specify the values in these fields.

    Tip: Alternatively, click Create from Sample to get the sample values, such as index names, content type, and maximum file size. Also, to view values for specific index names, you can select the index name from the Index Name list, and click Create from Sample.

    Field

    What You Do

    Index Name

    Select the index name specific to your product.

    Content Type

    Enter the content type.

    You specify the content type with a specific hierarchical structure, and based on that structure, you get the match of the attachments. Let's look at some examples.

    • If you specify the content type as application/vnd.ms-excel (for example, type/subtype), you get the exact match of the attachments.

      Note: The subtype in this example doesn't have a fixed structure. That means you can use either a dot or a hyphen to get the exact match of attachments for specified content type.
    • If you specify application/vnd.ms-*, you get the match of attachments, which are of different types, such as Microsoft Word or Microsoft Excel.

    • If you specify application/vnd.*, you get the match of the attachments, which are applicable to all suppliers.

    • If you specify */*, you get all the possible matches.

    Enable File Search

    Determine whether users can search the attachment.

    Enable Content Search

    Determine whether users can search the content in the attachment. For example, suppose you set this value as Yes for a specific type of attachment. Then, if a user searches for a keyword that's available in an enabled attachment, that attachment will appear in the search results.

    Maximum File Size

    Specify the maximum file size of the attachments that users can search content for. If the file size of an attachment is greater than the specified size, the content of the file won't appear in the search results at all. Only the metadata, such as file name, will be searchable.

    Maximum Content Size

    Specify the maximum content size of the attachments that users can search content for. Suppose you set this value as 200KB, users get the content in the attachments pertaining to this size in the search results. Make sure that this size is less than or equal to the maximum file size.

  4. Click Save and Close.