Search directories and objects
Last updated
Last updated
Address
VNG CorporationAfter creating a container and uploading files to that container, you can search for objects/directories through:
Login into https://vstorage.console.vngcloud.vn
Select the project and container for which you want to search the object/ directory.
In the Search directories and objects box, you can search for objects/ directories in the following ways:
Search by Name match by prefix:
Choose Search by Name match by prefix.
Enter the character string that is the prefix you want to search for.
Press Enter or click the icon
Search by Name match phrase:
Choose Search by Name match phrase.
Enter the character string that is part of the name you want to search for.
Press Enter or click the icon
Search by Name match all:
Choose Search by Name match all.
Enter the character string that is the full name you want to search for.
Press Enter or click the icon
Search by Tags:
Choose Search by Tags.
Enter the character string related to tags you want to search for.
Press Enter or click the icon
You can learn more about how we search for results using each method in the table below:
Number
Search by
Example syntax
Search result
Description
1
Name match all
Name match all abc.txt (object in the container)
Name match all directoryA/abc.txt (object in the directoryA)
abc.txt distinguish between lower case and lower case.
Search by comparing the input string with the entire object name.
2
Name match by prefix
Name match by prefix abc (object in the container)
Name match by prefix directoryA/abc (object in the directoryA)
abc1, abc2,…distinguish between lower case and lower case.
Search by comparing the input string with the prefix of the object name.
3
Name match phase
Name match phase abc (object in the container)
Name match phase directoryA/abc (object in the directoryA)
abc1.exe, xabce.ill, 1abc.gif,…distinguish between lower case and lower case.
Search by comparing whether the input string is contained in the object name.
4
Name match by wildcard
(Comming soon)
Name match by wildcard abc (object in the container)
Name match by wildcard ?abc? (object in the container)
Name match by wildcard abc.?xt (object in the container)
Name match by wildcard ab*c.txt (object in the container)
Name match by wildcard directoryA/abc (object in the directoryA)
Name match by wildcard directoryA/?abc? (object in the directoryA)
Name match by wildcard directoryA/abc.?xt (object in the directoryA)
Name match by wildcard directoryA/ab*c.txt (object in the directoryA)
abc, abdc, ab)c, abUUc, ab&-Bc…distinguish between lower case and lower case.
1abcx, -abc*, 1abcD,… distinguish between lower case and lower case.
abc.txt, abc123.^xt,… distinguish between lower case and lower case.
ab*c.txt distinguish between lower case and lower case.
: Matches any characters.
?: Match one character.
</strong>, </strong>?: characters *, ? are considered as a normal character, not a wildcard operator used to search.
5
Name match by regex
(Comming soon)
Name match by regex ab. (object in the container)
Name match by regex directoryA/ab. (object in the directoryA)
ab1,ab2,ab3, abx, ab*,… distinguish between lower case and lower case.
.: Matches any character
Name match by regex abc? (object in the container)
Name match by regex directoryA/abc? (object in the directoryA)
ab, abc distinguish between lower case and lower case.
?: Repeat the preceding character zero or one times. Often used to make the preceding character optional.
Name match by regex ab+ (object in the container)
Name match by regex directoryA/ab+ (object in the directoryA)
ab, abb, abbb,… distinguish between lower case and lower case.
+: Repeat the preceding character one or more times.
Name match by regex ab* (object in the container)
Name match by regex directoryA/ab* (object in the directoryA)
a, ab, abb, abbb,… distinguish between lower case and lower case.
*: Repeat the preceding character zero or more times.
Name match by regex a{2} (object in the container)
Name match by regex directoryA/a{2} (object in the directoryA)
Name match by regex a{2,4} (object in the container)
Name match by regex directoryA/a{2,4} (object in the directoryA)
Name match by regex a{2,} (object in the container)
Name match by regex directoryA/a{2,} (object in the directoryA)
aa distinguish between lower case and lower case.
aa, aaa, aaaa distinguish between lower case and lower case.
aa, aaa, aaaa, aaaaa,… distinguish between lower case and lower case.
{}: Minimum and maximum number of times the preceding character can repeat.
Name match by regex abc
xyz (object in the container)
Name match by regex directoryA/abc
xyz (object in the directoryA)
abc, xyz distinguish between lower case and lower case.
|: OR operator. The match will succeed if the longest pattern on either the left side OR the right side matches.
Name match by regex
Name match by regex abc(xyz) (object in the container)
Name match by regex directoryA/abc(xyz) (object in the directoryA)
abc, abcxyz distinguish between lower case and lower case.
(): Forms a group. You can use a group to treat part of the expression as a single character.
Name match by regex [abc] (object in the container)
Name match by regex directoryA/ [abc] (object in the directoryA)
Name match by regex [a-d] (object in the container)
Name match by regex directoryA/ [a-d] (object in the directoryA)
Name match by regex [^abc-] (object in the container)
Name match by regex directoryA/ [^abc-] (object in the directoryA)
a, b, c distinguish between lower case and lower case.
a, b, c, d distinguish between lower case and lower case.
khác a, b, c, hoặc - distinguish between lower case and lower case.
[ ]: Match one of the characters in the brackets.
A ^
before a character in the brackets negates the character or range
: OR
Name match by regex a{2,6}+d?
Name match by regex directoryA/ a{2,6}+d?
Name match by regex directoryA{2,6}+d?/ a{2,6}+d?/ a{2,6}+d?*
aaaaaaa, aaaaaaaaaaaaddddd,… distinguish between lower case and lower case.
Use nested operators within a regex search syntax.
6
Tags
Tags abc
Object, directory has the exact tags abc.
Search by tags set on the object.
In addition to the traditional management interface, we also provide an API that allows you to integrate with your user-facing applications and tools with vStorage for data storage.
To search for objects/directories via the vStorage API, please refer to the API developers.
vStorage is also compatible with user-facing tools that use the S3 protocol. You can easily use familiar tools such as Rclone, s3cmd, Cyberduck, and more.
To search for objects/directories via the 3rd party software, please refer to the 3rd Party Softwares.
\
Example: If you want to search for objects with the common prefix file in the object name: - Choose Search by Name match by prefix. - Enter the prefix file. - Press Enter or click the icon