Web file browser Free Installation assistance Manual Home page

Integration with Windows Search Service

Windows Search Service provides fast file searches on a server.
See Windows Search Overview, Wiki: Windows Search

Windows Search Service provides a faster way to search files and folders and support of full-text search1 in files,
To make HTTP Commander use Windows Search service to search files and folder, follow steps below.


Main UI

If you enable the ability to search for files/folders (the parameter SearchMethodOfFiles is not equal to Disabled), then on the main page at the top right of the file list will be available quick search fields to search files by name (and, if available, by contents).
If you enter the value in the field and press ENTER (or the search button), it will automatically open a search box, fill the required fields, and will search for files.
Also you can add a toolbar button Search (parameter ToolbarButtons1 or ToolbarButtons2; by defualt, Search button is included) to be able to open the search window from toolbar.
Screenshot

Advanced settings

Additionally, apart from the search by the filename, you can include a search by other file properties: the contents, dates of creation, modification. See parameter SearchCriterionsOfFiles.
If the search criteria contain multiple properties (eg by name and by content), then all the conditions are united with 'AND' union, ie searched the files (and/or folders) that simultaneously satisfy all of the conditions (the name corresponds to the template and the content contains the specified string). There is one exception: when the user has selected to search BOTH of files and folders at the same time, and specified condition to search by content - in this case a folders will be searched ONLY by the specified template name and files by the specified name and content. It may result, for example, to that ALL subfolders will be listed in search result, if the filename pattern is empty.

It is recommended to check that the for required types of files (for example, Office documents: docx, xlsx, pptx or text files) content indexing is enabled. To do this open the Control Panel, navigate to Indexing Options, and then click the Advanced button. In the Advanced Options window, go to the File Types tab. In the list, select and enable needed extension, and mark option Index Properties and File Contents in the How should this file be indexed? box. If desired extension is not available, you can add it using the field below - Add new extension to list:. By default, this list of extensions already includes all registered extension, and content indexing is enabled for file types which is possible to index by content.
Screenshot

Additionally, you can customize how the search the results will be shown on the page. You can change the value of hidden parameter MaxSearchResultsPerPage, specifying a value from 1 to 500 (default 20).

To test and validate SQL queries to the Windows Search Service (for example, caught in the error log), you can enable the hidden option EnableWindowsSearchQueryBuilder (only applies if used Windows Search in HTTP Commander). If this option is enabled, in the Folders tab of the admin panel, will be available button "Windows Search Query Builder" to call the Query Builder window.
Screenshot

Noise Words

If you configured HTTP Commander to use Windows Search Service, and enabled search by content (Content in SearchCriterionsOfFiles), then the string used in search criteria should not contain the only the so-called noise words (for example, only one punctuation marks and special symbols). In this case, a warning is given:
The search query by content, contained only ignored words.

Indexing of XLSX, PPTX files

After successfull configuration of Windows Search Service and HTTP Commander you may notice that file of certain types are still not indexed, therefore it is not possible to perform full text search on them. These files types are XLSX, PPTX , OneNote and Publisher.
To make Windows Search Servcie index them you will need to install Office Filter Pack and its servce packs from links below:
Microsoft Office 2010 Filter Packs
Office 2010 Filter Pack SP1
Office 2010 Filter Pack SP2