通过 C# 进行 Windows 桌面搜索

发布于 2024-07-21 08:30:56 字数 196 浏览 2 评论 0原文

在哪里可以找到有关 WDS 的文档,特别是使用 C# 中的 SQL 查询来查询 WDS 的文档? 是否有任何资源列出了可以从 SystemIndex 查询的列? 此外,我希望查询返回“上下文”,即就像 WDS 客户端对找到搜索词的文档中的几行所做的那样。 我正在使用 WDS 4.0,尽管我相信 3+ 的 API 是相同的。 我检查了 MSDN 和其他网站,但没有成功。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

記憶穿過時間隧道 2024-07-28 08:30:56

这是我使用过的资源... http: //msdn.microsoft.com/en-us/library/aa965362(VS.85).aspx

它还说:

“Windows Search 4.0 有新的 SDK 吗?

Windows Search 4.0 的平台与Windows Search 的早期版本包含在 Windows Vista SP1 SDK 中,可在 MSDN 上找到有关开发与 Windows Search 配合使用的应用程序的文档。

希望这可以帮助。

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.

战皆罪 2024-07-28 08:30:56

在MSDN论坛上发帖,得到了答案:
可搜索的列或属性: http:// msdn.microsoft.com/en-us/library/dd561977(VS.85).aspx

“摘要”信息 - 而非上下文
http://msdn.microsoft.com/en-us /library/bb760163(VS.85).aspx

这回答了我最初的问题。 不管怎样,谢谢你的回复。

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.

童话 2024-07-28 08:30:56

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文