Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The ReindexMatchingUrls code sample demonstrates how to provide three ways to specify the files to re-index: URLs that match a file type, mime type, or a specified WHERE clause.
This topic contains the following sections.
Product | Product Version |
---|---|
Windows | Windows 7, 8.1, or 10 |
Windows SDK | 7.0 or greater |
This sample is available in the following location.
Location | Path URL |
---|---|
GitHub | ReindexMatchingUrls sample |
Note
For all versions of Windows, including Windows 7, it is recommended to download the samples directly from GitHub for the most up to date version.
Open Windows Explorer and navigate to the ReindexMatchingUrls project directory. For example, the full default installation path is C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\WinUI\WindowsSearch\ReindexMatchingUrls
.
Double-click the icon for the Reindex.sln file to open the project in Visual Studio.
Note
The sln file was created under an older version of Visual Studio, thus upgrading it will be required if you are running Visual Studio 2012 or newer. This will not impact the sample's behavior.
From the Build menu, select Build Solution.
Reindex.exe
, or from Windows Explorer, double-click the icon for Reindex.exe.Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now