Advanced Operation

AFSearch has many advanced features to help you customize your searches to best suit your needs.  These features are broken down into Advanced Search Options and Advanced Index Options. 

Advanced Search Options

You will need to click on the Advanced Options menu in order to use some of the commands described in this section. To access advanced search options, click the underlined Advanced Options button located under File Type.

Search Type:  You may choose to search for all the words (AND) or any the words (OR) in the Keyword(s) text box.

Search In:  You may choose to perform the search across files in all indexed directories, or only within selected directories. You can use Index->[Set Directory Description] to associate a full description with the directory path for easier understanding. You many then use Index->[Directory View] to set the display format of searchable directories in the [Search In] filed.

Whole Words:  If checked, then the search keywords will be counted as the entire word; otherwise, the results will show all words that contain the keyword within them. 

As Phrase:  If checked, all keywords in the text box will be treated as a single phrase.

You can also delimit your searches based on how you enter them.  Entering words separately (i.e. red blue black) will search for instances where those word are found in any order (the program searches for “red”, “blue”, and “black”).  If you specify quotations around your query (i.e. “red blue” black), the program will search for instances where ‘red blue’ and black are found.  You can also use commas to separate search phrases (i.e. red blue, black will search for “red blue” and “black”).

Wild Cards:  You may also use standard wildcard characters, such as * and ?. The asterisk (*) will allow you to search for any combination of characters either as suffix or prefix of the keyword; The question mark (?) will allow you to search for the keyword plus a specific number of character as suffix or prefix of the keyword.

Examples:
abc??? will search for abc123, abc32F, abcde6, etc.
*abc will search for 123abc, afd-abc, applegardenabc, etc.

File Type:  You may search for the keyword in all indexed files ending in either 1) .htm, .txt, and .doc, 2) AFSearch files only or 3) just .txt and .doc.  This is a useful feature to limit your search to specific file types. You can define your own file types via Index->[File Extensions]

Generate Summary:  When checked, the descriptions, keywords, parts of .images/ and .txt files will be combined in a summary.

File Size:  This allows you to narrow your search to files greater than or less than a certain size.

File Age:  You may also refine your search by finding files created before or after a certain number of days from the current date.

Sort By:  You may sort files by their images/ Title, File Name, File Date, or File Size.

Reverse Order:  When checked, the order the files are listed in is reversed.

Result Link Options

Result Link: Controls the 'target window' of the browser when a link is clicked from the result page. Leave blank to display all documents in the same browser window. Or specify the window name. Or type in '_blank' for opening a new window everytime a result link is clicked.

Frame: Define the frame where search results from AFSearch will be displayed. This works with MSIE only. Please find details in Displaying Results in HTML Frames section.

Advanced Index Options

Add To Index:  This option is used to select the directory for indexing.  All files within this directory (unless limited by the [File Type] option or otherwise specified by the user) and its subdirectories will be indexed.  A pop-up panel will allow you to follow this process.  Descriptions may then be added in the “Set Directory Description” window once the indexing is complete, as described above.  You may also specify which file extensions you wish to allow AFSearch to index via the Index menu and selecting File Extensions.

Delete From Index:  If you wish to remove directories from the index, you may delete them using this option.  A pop-up window will allow you to select the directory you wish to remove.

Update Index:  If you have added, changed, or deleted the files within the indexed directories, use this option to refresh your index. This is a good option to use if you are having difficulty searching files within an indexed directory.

Destroy Index:  This operation will delete all index files.  A new index must be built before further searches can take place.