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.
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.
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.
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