开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜