HOME

TheInfoList



OR:

Windows Search (also known as Instant Search) is a content index
desktop search Desktop search tools search within a user's own computer files as opposed to searching the Internet. These tools are designed to find information on the user's PC, including web browser history, e-mail archives, text documents, sound files, images ...
platform by
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washi ...
introduced in
Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
as a replacement for both the previous Indexing Service of
Windows 2000 Windows 2000 is a major release of the Windows NT operating system developed by Microsoft and oriented towards businesses. It was the direct successor to Windows NT 4.0, and was released to manufacturing on December 15, 1999, and was offici ...
and the optional MSN Desktop Search for
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was release to manufacturing, released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Wind ...
and
Windows Server 2003 Windows Server 2003 is the sixth version of Windows Server operating system produced by Microsoft. It is part of the Windows NT family of operating systems and was released to manufacturing on March 28, 2003 and generally available on April 24, 2 ...
, designed to facilitate local and remote queries for files and non-file items in compatible applications including
Windows Explorer File Explorer, previously known as Windows Explorer, is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file ...
. It was developed after the postponement of
WinFS WinFS (short for Windows Future Storage) was the code name for a canceled data storage and management system project based on relational databases, developed by Microsoft and first demonstrated in 2003 as an advanced storage subsystem for the Micro ...
and introduced to Windows constituents originally touted as benefits of that platform. Windows Search creates a locally managed Index of files — documents, emails, folders, programs, photos, tracks, and videos — and file contents, as well as of non-file items including those of
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
for which users can perform
incremental search In computing, incremental search, hot search, incremental find or real-time suggestions is a user interface interaction method to progressively search for and filter through text. As the user types text, one or more possible matches for the text ...
es based on details such as authors, contents, dates, file names, file types, people, and sizes; the Index stores actual prose from inside documents and
metadata Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive metadata – the descriptive ...
properties from other content. Control Panel and Settings can also be searched. Windows Search was introduced in Windows Vista as a replacement for the previous Indexing Service to facilitate data discovery and management, promote greater rapidity of search results, and to unify desktop search platforms across
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
; it was also available as an optional download for Windows XP. There have been several updates to its functionality since its introduction, and it is also included in
Windows 7 Windows 7 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on July 22, 2009, and became generally available on October 22, ...
,
Windows 8 Windows 8 is a major release of the Windows NT operating system developed by Microsoft. It was released to manufacturing on August 1, 2012; it was subsequently made available for download via MSDN and TechNet on August 15, 2012, and later to ...
,
Windows 8.1 Windows 8.1 is a release of the Windows NT operating system developed by Microsoft. It was released to manufacturing on August 27, 2013, and broadly released for retail sale on October 17, 2013, about a year after the retail release of its pre ...
,
Windows 10 Windows 10 is a major release of Microsoft's Windows NT operating system. It is the direct successor to Windows 8.1, which was released nearly two years earlier. It was released to manufacturing on July 15, 2015, and later to retail on ...
, and
Windows 11 Windows 11 is the latest major release of Microsoft's Windows NT operating system, released in October 2021. It is a free upgrade to its predecessor, Windows 10 (2015), and is available for any Windows 10 devices that meet the new Windows 11 ...
.


History

Windows Search is the successor of the Indexing Service, a remnant of the ''Object File System'' feature of the Cairo project which never materialized. Microsoft began development of Windows Search after the postponement of WinFS; it introduces features originally touted as benefits of that platform, such as content indexing, incremental searching, and property stacking.


Overview

Windows Search creates a locally stored index of files and non-file items stored on a computer. The time required for the initial creation of this index depends on the amount and type of data to be indexed, and can take up to several hours, but this is a one-time event. Once a file's contents have been added to this index, Windows Search is able to use the index to search results more rapidly than it would take to search through all the files on the computer. Searches are performed not only on file names, but also on the contents of the file (provided a proper handler for the file type is installed such as a PDF reader) as well as the keywords, comments and all other forms of
metadata Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive metadata – the descriptive ...
that Windows Search recognizes. For instance, searching the computer for "The Beatles" returns a list of music files on the computer which have "The Beatles" in their song titles, artists or album names, as well as any e-mails and documents that include the phrase "The Beatles" in their titles or contents. Windows Search features ''
incremental search In computing, incremental search, hot search, incremental find or real-time suggestions is a user interface interaction method to progressively search for and filter through text. As the user types text, one or more possible matches for the text ...
'' (also known as "search as you type"). It begins searching as soon as characters are entered in the search box, and keeps on refining and filtering the search results as more characters are typed in. This results in finding the required files even before the full search text is entered. Windows Search supports IFilters, components that enable search programs to scan files for their contents and metadata. Once an appropriate IFilter has been installed for a particular file format, the IFilter is used to extract the text from files which were saved in that format. By default, Windows Search includes IFilters for common filetypes, including Word documents, Excel spreadsheets, PowerPoint presentations,
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaS ...
files,
text file A text file (sometimes spelled textfile; an old alternative name is flatfile) is a kind of computer file that is structured as a sequence of lines of electronic text. A text file exists stored as data within a computer file system. In operat ...
s,
MP3 MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio developed largely by the Fraunhofer Society in Germany, with support from other digital scientists in the United States and elsewhere. Origin ...
and WMA music files,
WMV Windows Media Video (WMV) is a series of video codecs and their corresponding video coding formats developed by Microsoft. It is part of the Windows Media framework. WMV consists of three distinct codecs: The original video compression technology ...
, ASF and
AVI Avi is a given name, usually masculine, often a diminutive of Avram, Avraham, etc. It is sometimes feminine and a diminutive of the Hebrew spelling of Abigail. People with the given name include: * Avi (born 1937), Newbery award-winning Americ ...
video files and
JPEG JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and imag ...
, BMP and PNG images. Windows Search uses ''property handlers'' to handle metadata from file formats. A property handler needs a property description and a schema for the property for Windows Search to index the metadata. ''Protocol handlers'' are used for indexing specific data stores. For example, files are accessed using ''File System Protocol Handler'',
Microsoft Office Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as cale ...
data stores using the ''Outlook Protocol Handler'' and
Internet Explorer Internet Explorer (formerly Microsoft Internet Explorer and Windows Internet Explorer, commonly abbreviated IE or MSIE) is a series of graphical web browsers developed by Microsoft which was used in the Windows line of operating systems (in ...
cache using the ''IE History/Cache Protocol Handler''.


Architecture

Windows Search is implemented as a
Windows Service In Windows NT operating systems, a Windows service is a computer program that operates in the background. It is similar in concept to a Unix daemon. A Windows service must conform to the interface rules and protocols of the Service Control Manag ...
. The search service implements the Windows Search configuration and query APIs and also controls, as well as all indexing and query components. The most important component of Windows Search is the Indexer, which crawls the file system on initial setup, and then listens for file system notifications to pick up changed files in order to create and maintain the index of data. It achieves this using three processes: #SearchIndexer.exe, which hosts the indexes and the list of URIs that require indexing, as well as exposes the external configuration and query APIs that other applications use to leverage the Windows Search features. #SearchProtocolHost.exe, which hosts the protocol handlers. It runs with the least permission required for the protocol handler. For example, when accessing filesystem, it runs with the credentials of the system account, but on accessing network shares, it runs with the credentials of the user. #SearchFilterHost.exe, which hosts the IFilters and property handlers to extract metadata and textual content. It is a low integrity process, which means that it does not have any permission to change the system settings, so even if it encounters files with malicious content, and by any chance if they manage to take over the process, they will not be able to change any system settings. The search service consists of several components, including the ''Gatherer'', the ''Merger'', the Backoff Controller, and the Query Processor, among others. The ''Gatherer'' retrieves the list of URIs that need to be crawled and invokes proper protocol handler to access the store that hosts the URI, and then the proper property-handler (to extract metadata) and IFilter to extract the document text. Different indices are created during different runs; it is the job of the ''Merger'' to periodically merge the indices. While indexing, the indices are generally maintained in-memory and then flushed to disk after a merge to reduce disk I/O. The metadata is stored in property store, which is a database maintained by the ESE database engine. The text is tokenized and the tokens are stored in a custom database built using Inverted Indices. Apart from the indices and property store, another persistent data structure is maintained: the ''Gather Queue''. The ''Gather Queue'' maintains a prioritized queue of URIs that needs indexing. The Backoff Controller mentioned above monitors the available system resources, and controls the rate at which the indexer runs. It has three states: #Running: In this state, the indexer runs without any restrictions. The indexer runs in this state only when there is no contention for resources. #Throttled: In this state, the crawling of URIs and extraction of text and metadata is deliberately throttled, so that the number of operations per minute is kept under tight control. The indexer is in this state when there is contention for resources, for example, when other applications are running. By throttling the operations, it is ensured that the other operations are not starved of resources they might need. #Backed off: In this state, no indexing is done. Only the ''Gather Queues'' are kept active so that items do not go unindexed. This state is activated on extreme resource shortage (less than 5 MB of RAM or 200 MB of disk space), or if indexing is configured to be disabled when the computer is on battery power, or if the indexer is manually paused by the user.


Advanced Query Syntax

Windows Search queries are specified in ''Advanced Query Syntax'' (AQS) which supports not only simple text searches but provides advanced property-based query operations as well. AQS defines certain keywords which can be used to refine the search query, such as specifying boolean operations on searched terms (AND, OR, NOT) as well as to specify further filters based on file
metadata Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive metadata – the descriptive ...
or file type. It can also be used to limit results from specific information stores like regular files, offline files cache, or email stores. File type specific operators are available as well. Windows Desktop Search also supports
wildcard Wild card most commonly refers to: * Wild card (cards), a playing card that substitutes for any other card in card games * Wild card (sports), a tournament or playoff place awarded to an individual or team that has not qualified through normal pla ...
prefix matching searches. It also includes several SQL-like operators like ''GROUP BY''. AQS is locale dependent and uses different keywords in international versions of Windows 7.


Programmability

Users can access the Windows Search index programmatically using managed as well as
native Native may refer to: People * Jus soli, citizenship by right of birth * Indigenous peoples, peoples with a set of specific rights based on their historical ties to a particular territory ** Native Americans (disambiguation) In arts and entert ...
code. Native code connects to the index catalog by using a ''Data Source Object'' retrieved from the Indexing Service OLE DB provider. Managed code use the ''MSIDXS'' ADO.NET provider. One can query a catalog on a remote machine by specifying a
UNC UNC is a three-letter abbreviation that may refer to: Education * University of Northern California (disambiguation), which may refer to: ** University of Northern California (Santa Rosa), in Petaluma, California, United States ** University of No ...
path. Programmers specify the criteria for searches using SQL-like syntax. The SQL query can either be created by hand, or by using an implementation of the ISearchQueryHelper
interface Interface or interfacing may refer to: Academic journals * ''Interface'' (journal), by the Electrochemical Society * '' Interface, Journal of Applied Linguistics'', now merged with ''ITL International Journal of Applied Linguistics'' * '' Int ...
. Windows Search provides implementations of the interface to convert an AQS or NQS queries to their SQL counterpart. The OLE DB/SQL API implements the functionality for searching and querying across the indices and property stores. It uses a variant of SQL in which to represent the query (regular SQL with certain restrictions) and returns results as OLE DB ''Rowsets''. Whenever a query executes, the parts of the index it used are temporarily cached so that further searches filtering the result set need not access the disk again, in order to improve performance. Windows Search stores its index in an
Extensible Storage Engine Extensible Storage Engine (ESE), also known as JET Blue, is an ISAM (indexed sequential access method) data storage technology from Microsoft. ESE is the core of Microsoft Exchange Server, Active Directory, and Windows Search. It's also used by ...
file named Windows.edb that exists, by default, in the \ProgramData\Microsoft\Search\Data\Applications\Windows\ folder at the root of the system drive in Windows Vista or in later versions of Windows. (The corresponding location in Windows XP is \All Users\Application Data\Microsoft\Search\Data\Applications\Windows\ inside the Documents and Settings folder.) The index store, called ''SystemIndex'', contains all retrievable Windows IPropertyStore values for indexed items. Within the SystemIndex folder lurk and files. The names and locations of documents in the system are exposed as a table with the column names ''System. ItemName'' and ''System. ItemURL'' respectively. A SQL query can directly reference these tables and index catalogues and use the ''MSIDXS'' provider to run queries against them. The search index can also be used via OLE DB, using the ''CollatorDSO'' provider. However, the OLE DB provider is read-only, supporting only ''SELECT'' and ''GROUP ON'' SQL statements. Windows Search also registers a search-ms application protocol, which can be used to represent searches as URIs. The search parameters and filters are encoded in the URI using AQS or its natural language counterpart, NQS. When invokes the URI, Windows Search (which is the default registered handler for the protocol) launches the ''Search Explorer'' with the results of the search. In Windows Vista SP1 or later, third-party handlers can also register themselves as the application protocol handler, so that searches can be performed using any search engine which the user has set as default, and not just Windows Search. The Windows Search service provides the ''Notifications'' API component to allow applications to "push" changed items that need indexing to the Windows Search indexer. Applications use the component to supply the URIs of the items that need to be indexed, and the URIs are written to the Gather Queue, where they are read off by the indexer.
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
and
Microsoft OneNote Microsoft OneNote is a note-taking software developed by Microsoft. It is available as part of the Microsoft Office suite and since 2014 has been free on all platforms outside the suite. OneNote is designed for free-form information gathering ...
use this ability to index the items managed by them and use Windows Search queries to provide the in-application searching features. The internal ''
USN Journal The USN Journal (Update Sequence Number Journal), or Change Journal, is a feature of the Windows NT file system ( NTFS) which maintains a record of changes made to the volume. It is not to be confused with the journal used for the NTFS file syste ...
Notifier'' component of Windows Search also uses the Notifications API, monitoring the Change Journal in an
NTFS New Technology File System (NTFS) is a proprietary journaling file system developed by Microsoft. Starting with Windows NT 3.1, it is the default file system of the Windows NT family. It superseded File Allocation Table (FAT) as the preferred fil ...
volume to keep track of files that have changed on the volume. If the file is in a location indexed by Windows Search and does not have the FANCI (''File Attribute Not Content Indexed'') attribute set, the Windows Search service is notified of its path via the Notification API. Windows Search ''Configuration'' APIs are used to specify the configuration settings, such as the root of the URIs that needs to be monitored, setting the frequency of crawling or viewing status information like number of items indexed or length of the gather queue or the reason for throttling the indexer. It also exposes APIs to register protocol handlers (via the ISearchProtocol()
interface Interface or interfacing may refer to: Academic journals * ''Interface'' (journal), by the Electrochemical Society * '' Interface, Journal of Applied Linguistics'', now merged with ''ITL International Journal of Applied Linguistics'' * '' Int ...
, property handlers (via the IPropertyStore() interface) or IFilter implementations (via the IFilter() interface). IFilter implementations allow only read-only extraction of text and properties, whereas IPropertyStore allows writing properties as well.


Windows Desktop Search

Windows Desktop Search, a standalone add-on made available as freeware, is the implementation of Windows Search for
Windows 2000 Windows 2000 is a major release of the Windows NT operating system developed by Microsoft and oriented towards businesses. It was the direct successor to Windows NT 4.0, and was released to manufacturing on December 15, 1999, and was offici ...
,
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was release to manufacturing, released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Wind ...
and
Windows Server 2003 Windows Server 2003 is the sixth version of Windows Server operating system produced by Microsoft. It is part of the Windows NT family of operating systems and was released to manufacturing on March 28, 2003 and generally available on April 24, 2 ...
. Windows Desktop Search and Windows Search share a common architecture and indexing technology and use a compatible
application programming interface An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how ...
(API). Searches are specified using the Advanced Query Syntax and are executed while the user types (
incremental find In computing, incremental search, hot search, incremental find or real-time suggestions is a user interface interaction method to progressively search for and filter through text. As the user types text, one or more possible matches for the tex ...
). By default, it comes with a number of IFilters for the most common file types—documents, audio, video as well as protocol handlers for
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
e-mails. Other protocol handlers and IFilters can be installed as needed. Windows Desktop Search allows network shares to be added to the index.


User interface

The Windows Desktop Search functionality is exposed via a Windows Taskbar mounted deskbar, accessible via a ++
keyboard shortcut computing, a keyboard shortcut also known as hotkey is a series of one or several keys to quickly invoke a software program or perform a preprogrammed action. This action may be part of the standard functionality of the operating system or ...
. It provides a text field to type the query and the results are presented in a flyout pane. It also integrates as a
Windows Explorer File Explorer, previously known as Windows Explorer, is a file manager application that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file ...
window. On selecting a file in the Explorer window, a preview of the file is shown in the right hand side of the window, without opening the application which created the file. Web searches can be initiated from both interfaces, but that will open the browser to search the terms using the default search engine. The deskbar also has the capability to create application aliases, which are short strings which can be set to open different applications. This functionality is accessed by prefixing the ! character to the predefined string. For example, ''"!calc"'' opens the
Windows Calculator Windows Calculator is a software calculator developed by Microsoft and included in Windows. In its Windows 10 incarnation it has four modes: standard, scientific, programmer, and a graphing mode. The standard mode includes a number pad and but ...
. The help documentation includes syntax for creating application aliases out of any text string, regardless of prefix. This feature can also be used to create shortcut for URLs, which when entered, will open the specified URL in browser. It can also be used to send parametrized information over the URL, which are used to create search aliases. For example, ''"w text"'' can be configured to search ''"text"'' in Wikipedia.


Releases

Windows Desktop Search was initially released as MSN Desktop Search, as a part of the
MSN Toolbar Microsoft Bing (commonly known as Bing) is a web search engine owned and operated by Microsoft. The service has its origins in Microsoft's previous search engines: MSN Search, Windows Live Search and later Live Search. Bing provides a variety ...
suite. It was re-introduced as Windows Desktop Search with version 2, while still being distributed with MSN Toolbar Suite. For Windows 2000, Windows XP and Windows Server 2003, it came in two flavors, one for home users and the other for enterprise use. The only difference between the two was that the latter could be configured via group policy. The home edition was bundled with MSN Toolbar, while the other was available as a standalone application. Later, when MSN Toolbar was discontinued in favor of
Windows Live Toolbar Windows Live Toolbar was a browser extension toolbar for Internet Explorer. It superseded MSN Search Toolbar. Windows Live Toolbar provided a simple search interface that starts to list results as the user types in a search query, and uses Bing ...
, the home edition of Windows Desktop Search was discontinued as well. The last version available for Windows 2000 is Windows Desktop Search 2.66. For Windows XP and Windows Server 2003, version 3.0 of Windows Desktop Search was provided as a standalone release – separate from Windows Live Toolbar. One of the significant new features is Windows Desktop Search 3.0 also installs the ''Property System'' on Windows XP introduced in Windows Vista. Windows Desktop Search 3.0 is geared for pre-Windows Vista users, hence the indexer was implemented as a
Windows Service In Windows NT operating systems, a Windows service is a computer program that operates in the background. It is similar in concept to a Unix daemon. A Windows service must conform to the interface rules and protocols of the Service Control Manag ...
, rather than as a per-user application, so that the same index as well as a single instance of the service can be shared across all users – thereby improving performance. Windows Desktop Search found itself in the midst of a controversy on October 25, 2007, when Windows Desktop Search 3.01 was automatically pushed out and installed on Windows when updated via
Windows Server Update Services Windows Server Update Services (WSUS), previously known as Software Update Services (SUS), is a computer program and network service developed by Microsoft Corporation that enables administrators to manage the distribution of updates and h ...
(WSUS). Microsoft responded with two posts on the WSUS Product Team Blog.


Windows Vista

Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
and
Windows Server 2008 Windows Server 2008 is the fourth release of the Windows Server operating system produced by Microsoft as part of the Windows NT family of the operating systems. It was released to manufacturing on February 4, 2008, and generally to retail on F ...
introduced Instant Search in the Start menu and in Windows Explorer. It offers a superset of the features provided by Windows Desktop Search (WDS), while being API compatible with it. Unlike WDS, it can seamlessly search indexed as well as non-indexed locations – for indexed locations the index is used and for non-indexed locations, the property handlers and IFilters are invoked on the fly as the search is being performed. This allows for more consistent results, though at the cost of searching speed over non-indexed locations. Windows Search uses
Group Policy Group Policy is a feature of the Microsoft Windows NT family of operating systems (including Windows 7, Windows 8.1, Windows 10, Windows 11, and Windows Server 2003+) that controls the working environment of user accounts and computer accounts. G ...
for centralized management. Windows Search also supports queries against a remote index. Windows Search indexes offline caches of network shares, in addition to the local file systems. This means if the file server, on which a network file share is hosted, is running either Windows Vista or a later version of Windows or Windows Search 4.0 on Windows XP, any searches against the share will be queried against the server's index and present the results to the client system, filtering out the files the user does not have access to. This procedure is transparent to the user.
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
e-mail stores starting with Outlook 2007, though Outlook 2002 and Outlook 2003 and
Microsoft OneNote Microsoft OneNote is a note-taking software developed by Microsoft. It is available as part of the Microsoft Office suite and since 2014 has been free on all platforms outside the suite. OneNote is designed for free-form information gathering ...
stores are also indexed if installed alongside Windows Search. Unlike Windows Desktop Search on Windows XP, the Windows Search indexer performs the I/O operations with low priority, the process also runs with low CPU priority. As a result, whenever other processes require the I/O bandwidth or processor time, it is able to pre-empt the indexer, thereby significantly reducing the performance hit associated with the indexer running in the background. Windows Search supports natural language searches; so the user can search for things like "photo taken last week" or "email sent from Dave". However, this is disabled by default. Natural language search expresses the queries in ''Natural Query Syntax'' (NQS), which is the natural language equivalent of AQS.


User interface

The search functionality is exposed using the search bars in the
Start menu The Start menu is a graphical user interface element used in Microsoft Windows since Windows 95 and in other operating systems. It provides a central launching point for computer programs and performing other tasks in the Windows shell. It is name ...
and the upper right hand corner of Windows Explorer windows, as well as Open/Save dialog boxes. When searching from the Start menu, the results are shown in the Start menu itself, overlapping the recently used programs. From the Start menu, it is also possible to launch an application by searching for its executable image name or display name. Searching from the search bars in Explorer windows replaces the content of the current folder with the search results. The Explorer windows can also render thumbnails in the search results if a ''Thumbnail Handler'' is registered for a particular file type. It can also render enhanced previews of items in a ''Preview Pane'' without launching the default application, if the application has registered a ''Preview Handler''. This can provide functionality such as file type-specific navigation (such a browsing a presentation using next/previous controls, or seeking inside a media file). Preview handlers can also allow certain kind of selections (such as highlighting a text snippet) to be performed from the preview pane itself. In the Control Panel, the search bar in the window can also search for Control Panel options. However, unlike WDS, Windows Search does not support creating aliases. There is also a ''Search Explorer'', which is an integrated Windows Explorer window that is used for searches. It presents the user interface to specify the search parameters, including locations and file types that should be searched, and certain operators, without crafting the AQS queries by hand. With Windows Vista SP1, third-party applications will be able to override the Search Explorer as the default search interface so that the registered third-party application will be launched, instead of bringing up the Search Explorer, when invoked by any means. It is also possible to save a search query as a
Virtual Folder In computing, a virtual folder generally denotes an organizing principle for files that is not dependent on location in a hierarchical directory tree. Instead, it consists of software that coalesces results from a data store, which may be a databa ...
, called a Saved Search or Search Folder which, when accessed, runs the search with the saved query and returns the results as a folder listing. Physically, a search folder is just an XML file (with a .search-ms extension) which stores the search query (in either AQS or NQS), including the search operators as well. Windows Vista also supports query composition, where a saved search (called a ''scope'') can be nested within the query string of another search. ''Search Folders'' are also distributable via RSS. By default, Windows references the profile of the user who originally created a Search Folder as part of the query's scope. This design choice does not prevent saved searches from being shared with other users, but it prevents them from operating on different user profiles. While users can manually modify the contents of a saved search so that the scope references the %USERPROFILE%
environment variable An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs. For example, a running process can query the value of the TEMP envi ...
, which will enable it to operate on other machines or profiles regardless of the original author, Microsoft has released a ''SearchMelt Creator'' utility that automates this process for the user.


Windows Search 4.0

Windows Search 4.0 (also previously referred to as ''Windows Live Search'', codenamed ''Casino'' or ''OneView'') is the successor to the Windows Search platform for both Windows Desktop Search 3.0 on Windows XP as well as Instant Search on Windows Vista. It is mainly an update to the indexing components, with few changes to the Windows XP user interface and none on Windows Vista. It added remote query support to Windows XP and Windows Server 2003 based systems, which used to be a Vista-only feature. This allows a user with a Vista client (or an XP client with Windows Search 4.0) to search the index of networked machines which are also running a supported operating system. Windows Search 4.0 was originally proposed by Microsoft's
Windows Live Windows Live is a discontinued brand name for a set of web services and software products developed by Microsoft as part of its software-as-a-service platform. Chief components under the brand name included web services (all of which were expose ...
division as an application that would unify local and remote indexed search in a new interface. Early screenshots of the program featured the new "flair" interface design seen in other Windows Live client applications of the time such as
Windows Live Messenger MSN Messenger (also known colloquially simply as "Messenger"), later rebranded as Windows Live Messenger, was a cross-platform instant-messaging client developed by Microsoft. It connected to the Microsoft Messenger service and, in later versio ...
and
Windows Live Mail Windows Live Mail (formerly named Windows Live Mail Desktop, code-named Elroy) was a freeware email client from Microsoft. It is the successor to Windows Mail in Windows Vista, which was the successor to Outlook Express in Windows XP and Windows ...
. Windows Live Search Center could search web services which used the
OpenSearch OpenSearch is a collection of technologies that allow the publishing of search results in a format suitable for syndication and aggregation. Introduced in 2005, it is a way for websites and search engines to publish search results in a standard ...
specification to make search results available as
web feed On the World Wide Web, a web feed (or news feed) is a data format used for providing users with frequently updated content. Content distributors '' syndicate'' a web feed, thereby allowing users to ''subscribe'' a channel to it by adding the fe ...
s. It could aggregate searches from various indexes including the Windows Desktop Search index,
Windows RSS Platform Windows RSS Platform, included in Internet Explorer 7 and later and Windows Vista and later is a platform that exposes feed handling and management to Windows applications. The RSS support in Internet Explorer is built on the Windows RSS Platform. ...
common feed store, and Microsoft Exchange and
Microsoft SharePoint SharePoint is a web-based collaborative platform that integrates natively with Microsoft Office. Launched in 2001, SharePoint is primarily sold as a document management and storage system, but the product is highly configurable and its usage ...
indexes, among others. The first beta of Windows Search 4.0 was released on March 27, 2008. It included numerous performance improvements to the indexer and brought new features, including previously Vista-exclusive ones, to XP, including
Group Policy Group Policy is a feature of the Microsoft Windows NT family of operating systems (including Windows 7, Windows 8.1, Windows 10, Windows 11, and Windows Server 2003+) that controls the working environment of user accounts and computer accounts. G ...
integration, federation of searches to remote indexes, support for EFS-encrypted files and Vista-style ''preview handlers'' that allow document-type specific browsing of documents in the preview pane. Windows Search 4.0 was released on June 3, 2008, and is supported on XP, Windows Server 2003, Vista, Windows Server 2008 and
Windows Home Server Windows Home Server (code-named Quattro) is a home server operating system from Microsoft. It was announced on 7 January 2007 at the Consumer Electronics Show by Bill Gates, released to manufacturing on 16 July 2007 and officially released o ...
.


Windows 10

In Windows 10, Windows Search was added to the taskbar in place of the Start menu in earlier versions of Windows. A new landing page was added showing users their top apps and recent activities on their computer. The landing page also provides quick searches provided from Bing for the weather, top news stories, today in history and new movies. The landing page also serves as a space that Microsoft can advertise in, such as with the new Chromium-based version of Microsoft Edge. A preview pane from within the Search UI was added that supports apps and documents. When searching for a program, the taskbar jumplists for each program are shown in the preview pane and when searching for documents, file metadata such as file location, date last modified and the document author was also added. The landing page allows the user to filter searches depending on whether the user looking for documents, pictures or settings. Spell-correction was also added to Windows Search when searching for Apps & Settings to ensure a wider range of results were shown. The search box in File Explorer now opens as soon as you click in the box and provides a dropdown of recent searches. Microsoft OneDrive content is also now integrated in addition the indexed results. When clicking on the search result, the file will open immediately. Each search result also has a right click menu allowing the user to open the file's location.


Privacy Concerns

The Windows Search index is built locally on the PC and no information is sent to Microsoft.


See also

*
Enterprise search Enterprise search is the practice of making content from multiple enterprise-type sources, such as databases and intranets, searchable to a defined audience. "Enterprise search" is used to describe the software of search information within an ente ...
* List of desktop search engines *
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
* Microsoft Search Server


References


Further reading

# # #


External links


iFilter.org
{{Windows Components Microsoft software Desktop search engines Windows components Search Center Windows Vista