Windows Desktop Search via C#

别等时光非礼了梦想. 提交于 2019-11-27 03:41:28

问题


Where can I find documentation about WDS, specifically, using SQL queries from C# to query WDS? Are there any resources listing the columns that can be queried from the SystemIndex? Additionally, I want the query to return the "context" i.e. just like the WDS client does with a few lines from the document where the search terms are found. I am using WDS 4.0 although I believe that the API for 3+ is the same. I have checked MSDN and other sites with no luck.


回答1:


Heres is the resource i've used... http://msdn.microsoft.com/en-us/library/aa965362(VS.85).aspx

Also it says this:

"Does Windows Search 4.0 have a new SDK?

The platform for Windows Search 4.0 is unchanged from previous versions of Windows Search. The samples for Windows Search are included in the Windows Vista SP1 SDK. Documentation for developing applications that work with Windows Search can be found on MSDN."

Hope this helps.




回答2:


Posted on MSDN forums and got the answer: Columns or properties that can be searched for: http://msdn.microsoft.com/en-us/library/dd561977(VS.85).aspx and "Summary" information - not context http://msdn.microsoft.com/en-us/library/bb760163(VS.85).aspx

This has answered my initial question. Thanks for your responses anyway.




回答3:


In the Windows Search SDK, you will find a sample called WSSQL that enables you to do SQL queries against WDS.



来源:https://stackoverflow.com/questions/870101/windows-desktop-search-via-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!