download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

How to perform Search on Objects in Bucket?

Search provides the facility to find objects on the basis of keyword. This is an advance search option provided on object Table. So by providing only few key words (prefix or delimiter or both) we can search for particular object in long object listing. These key words make your search more specific and accurate.
You can view search objects list in Full Path View as well as in Folder View by clicking on show full path button on object tool bar. You can view your searched information below object tool bar in this format " Searched for prefix: photos/2006/ Delimiter: / Item Found: 3 ". Search session continues till you refresh object list or bucket list.

Follow the steps to search objects in bucket
  1. Run Bucket Explorer.
  2. Click on Search button from object table toolbar.
  3. A dialog box for search appears having Prefix, Delimiter, Search and Cancel button.
  4. If you are at any directory level and click on Search button then directory name is shown as non-editable text with suffix “/” in prefix text box.
  5. Now give some value in Prefix (starting char sequence of file or folder) text field OR in Delimiter (Ending char sequence of file or folder) text field OR in both and click on Search button.
  6. This will give only that folder and files which are started from given prefix and ended by delimiter at root level, if any files and folder are in any folder then search result shows only folders.
  7. On search result if you explore any folder or directory OR back from any directory level to up then object list table show objects according to your search criteria.

Prefix- The prefix can be anything from a partial string or single character, up to the entire name of an object. Only objects with keys that start with the prefix will be listed. If object keys are divided into logical "directories" in your S3 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. "Documents/").

Delimiter- Only objects with keys that match the prefix (if it is set) and that end with the delimiter will be displayed. 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 keys

photos/2006/index.html
Photos/2006/ img1001.jpg
photos/2006/January/img0001.jpg
...
photos/2006/January/img0999.jpg
photos/2006/February/img1000.jpg
photos/2006/March/img0001.html
...

Results:
  • A list query with Prefix="photos/2006/" and Delimiter="/" would return the keys and "subdirectories" at the photos/2006 level which are started with ="photos/2006/” and ended with “/” (as January, February,… are folders) but would not include any of the .jpg keys at deeper levels.
  • A list query with Prefix="photos/2006/" and Delimiter=".html" would return the keys and "subdirectories" at the photos/2006 level which are started with “photos/2006/” and ended with “.html” (index.html & March, April…..are subdirectories containing .html file(s)).
  • A list query with Prefix="photos/2006/" and Delimiter=".jpg" would return the keys and "subdirectories" at the photos/2006 level which are started with “photos/2006/” and ended with “.jpg” (img1001.jpg, January, February….are subdirectories contains .jpg 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 s3 object list from searched object list.

Related Topics :


 

Give us your feedback