Search allows you to find objects on the basis of search keyword. An advance search option provided by Bucket Explorer to search Google Storage objects makes your search more specific and accurate. By providing only few keywords (prefix or delimiter or both), you can search for a particular object in long object listing.
You can view searched objects list in
Full Path View
by clicking on toggle button in object toolbar. You can view your searched information below the object toolbar in this format "
Searched for prefix:
". Search session continues till you refresh object/bucket list or click on
"Switch to object list"
If you search with option
Search By Prefix
, you will see the details in searched results like last modified date, etc. On the other hand, searching with option Prefix and Delimiter will not show you such object details like last modified date, etc.
Steps for searching files in the bucket
Run Bucket Explorer.
button in object table toolbar.
You will find two ways to search objects. These are
Search By Prefix
Search By Prefix and Delimiter
A dialog box for search will appear according to the selected search option.
If you are at any directory level and you click on
button, then directory name is shown as non-editable text with suffix
in prefix text box.
Now give some value in
(starting character sequence of file or folder) text field OR in
(Ending character sequence of file or folder) text field OR in both and click on
This will only give those folders and files that start with the given Prefix and end by Delimiter at root level. If any files and folders are in any folder, then search result will only show folders.
On search result, if you explore any folder or directory OR back from any directory level up, then object list table will show objects according to your search criteria.
Any starting sequences of the character for searching file is called Prefix text. You can give prefix a single char to full file name. Search result will only show files which starts with the given prefix. If object keys are divided into logical "directories" in your Google storage account using forward-slashes (/), or indeed any character, only the contents of a "directory" can be displayed by using the directory name and the slash (e.g. "MyDocument/").
Any ending sequences of the character for searching file is called Delimiter. You can give delimiter a single char to full file name. Search result will only show files which end with the given delimiter. The delimiter is most useful when your object keys are divided into logical "directories" separated by a character, such as a forward-slash (/). In this case, specifying "/" as the delimiter will limit the object listing to only the top-level items or directories.
If you have a bucket that contains the following:
A list of query with Prefix="images/2011/" and Delimiter=".png" will return the keys and "subdirectories" at images/2011 level which starts with “images/2011/” and ends with “.png” (img1001.png, 001, 002….are subdirectories that contains .png file(s)).
A list of query with Prefix="images/2011/" and Delimiter="/" will return the keys and "subdirectories" at images/2011 level which starts with ="images/2011/” and ends with “/” (as 001, … are folders) but will not include any of the .png keys at deeper levels.
A list of query with Prefix="images/2011/" and Delimiter=".xml" will return the keys and "subdirectories" at images/2011 level which starts with “images/2011/” and ends with “.xml” (index.xml & , 005…..are subdirectories containing .xml file(s)).
: As we search some objects, this will list the searched object in object table and a button "Switch to object list" will appear in object toolbar. Clicking on this button switches you to Google storage object list from searched object list.