Basic Metadata Query

The section describes how to search for files or objects whose metadata contains both the specified system metadata fields and custom metadata fields.

Procedure

  1. Choose Monitor > Data Pilot > SmartIndexing.
  2. Click Query.

    The Query Metadata page is displayed.

  3. Click the Basic Query tab and set basic query parameters. Table 1 describes related parameters.

    Table 1 Basic metadata query parameters

    Parameter

    Description

    Owning Account

    Name of the account to which a file or object belongs. You can select multiple accounts. The relationship between the accounts is OR.

    Namespace

    Namespace to which a file or object belongs. You can select multiple namespaces. The relationship between the namespaces is OR.

    Path

    Path of a file, object, or directory.

    The system performs prefix-based fuzzy query according to the entered path.

    Type

    Type of a file or directory.

    • When you query metadata by file type, enter the suffix corresponds to a file type, for example, pdf.
    • When you query metadata by directory, enter directory.

    Name

    Name of a file or object.

    The system performs prefix-based fuzzy search according to the entered name. For example, if you enter abc, the system queries all files or objects whose names start with abc.

    ID of Owning UNIX User

    UNIX user ID when the NFS protocol is used.

    Last Modified

    Time when a file, object, or directory is last modified.

    Size

    Size of a file or object.

    Unit: byte

    Custom Metadata

    In addition to the preceding system metadata, you can also query metadata by custom metadata field. Click or to add or remove a custom metadata field.

    When uploading a file, metadata of the file is recorded in the format of Key-Value. Therefore, enter a key and its corresponding value in this parameter.

    [Example]

    Key = owner, Value = Zhang San

    Configure at least one of the preceding parameters. The relationship between the preceding parameters is AND. That is, the filtered metadata is the intersection of the specified conditions.

    For example, if Owning Account is test and Type is txt, the filtered files or objects must meet the two conditions.

  4. (Optional) Click Reset to clear all configured parameters.
  5. Click OK.

    A maximum of 10,000 results can be queried.