开发者

Windows Desktop Search - Force re-index / index now from command line

开发者 https://www.devze.com 2022-12-30 13:04 出处:网络
I\'m working on a project where we\'re using Windows Desktop Search (WDS) to index files on a web share and then later allow the user to search via a website for documents in the share.

I'm working on a project where we're using Windows Desktop Search (WDS) to index files on a web share and then later allow the user to search via a website for documents in the share.

These documents are transferred to the share via FTP, however it would seem that eith开发者_C百科er the computer never goes idle to index or at some point the indexing stops.

Is there a way from the command line or within the program itself to force this to happen without having to re-invent the wheel?

Using .NET 3.5 and C#.


Check out Windows Search Code Samples. They seem to have several examples on how to programatically work with Windows Search. Download the samples from http://code.msdn.microsoft.com/windowssearch. (This is for Vista and Windows 7)

If you are using Windows XP, check out the docs on MSDN

0

精彩评论

暂无评论...
验证码 换一张
取 消