|
Search provides the facility to find objects on the basis of search keyword. An advance search option provided by Bucket Explorer to search Google Storage objects, make your search more specific and accurate. By providing only few key words (prefix or delimiter or both) you can search for particular object in long object listing.
You can view searched objects list in
Full Path View
or in
Folder View
by clicking on toggle button on object tool bar. You can view your searched information below object tool bar in this format "
Searched for prefix:
image/2006/
Delimiter:
/
Item Found:
15
". Search session continues till you refresh object/bucket list or click on
"Switch to object list"
button.
|
|
Steps for searching files in the bucket
-
Connect to Google Storage Using Bucket Explorer.
-
Click
Search
tool button exist on object toolbar.
-
A panel for search appears having
Prefix and Delimiter
two fields
-
If you want to search under the particular folder then list that folder and then click search tool button so that remote path as uneditable with suffix
“/”
in prefix text box.
-
Enter string in
Prefix
(starting sequence of char of file or folder)
OR
in
Delimiter
(Ending sequence of char of file or folder)
OR
in both and click on
Search
button. For searching the folders you can give "/" in delimiter.
-
The resultant result will be some folder and files which match with search criteria, if any files and folder are in any folder then search result shows only folders.
-
Explorering any searched folder will list only files and folder which are machted with search criteria under explorered folder
|
Prefix-
Any strating sequences of the character for searching file is called Prefix text. You can give prefix as single char to full file name. Search will result only files which are start with 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/").
Delimiter-
Any ending sequeces of the character for searching file is called Delimiter. You can give delimiter as single char to full file name. Search will result only file which are end with 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 top-level items or directories.
Example:
If you have a bucket that contained the following
images/2011/index.xml
images/2006/img1001.png
images/2011/001/img0001.png
...
images/2011/001/img0999.png
images/2011/002/img1000.jpg
images/2011/003/img0001.html
...
Results:
-
A list query with Prefix="images/2011/" and Delimiter=".png" would return the keys and "subdirectories" at the images/2011 level which are started with “images/2011/” and ended with “.png” (img1001.png, 001, 002….are subdirectories contains .png file(s)).
-
A list query with Prefix="images/2011/" and Delimiter="/" would return the keys and "subdirectories" at the images/2011 level which are started with ="images/2011/” and ended with “/” (as 001, … are folders) but would not include any of the .png keys at deeper levels.
-
A list query with Prefix="images/2011/" and Delimiter=".xml" would return the keys and "subdirectories" at the images/2011 level which are started with “images/2011/” and ended with “.xml” (index.xml & , 005…..are subdirectories containing .xml file(s)).
Note
: As we search some objects,this will list searched object at object table and a button "Switch to object list" appears on the object tool bar.Clicking on this button switches you to google storage object list from searched object list.
Related Topics :
|
|