WSS 搜索 - Web 部件内的内容
您将如何让 WSS 搜索索引内容位于 Web 部件内/从外部源提取并呈现在 SPGridView 中?
How would you go about having WSS search index content that's inside a webpart/pulled from an external source and presented in a SPGridView?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能已经知道这一点,但是如果您转到“站点设置”->“搜索可见性您将看到一个部分说明:
如果您选择“始终索引此网站上的所有 ASPX 页面”,它应该对 Web 部件中的内容建立索引,但仅限于爬网程序看到的内容,因此安全调整不适用。它基本上是网络爬网,而不是 SharePoint 内容爬网。
我知道您说的是 WSS,但在 MOSS 中,如果上述方法不起作用,您可以更进一步,并在您的 SharePoint 网站上使用网站搜索。我已经进行了大量的网站搜索(它不能完美地工作),但没有尝试在 SharePoint 网站上明确地进行网站搜索,因此我不确定这是否有效。
Lars(《索引和搜索引擎内部:MOSS 2007》的合著者)在 StackOverflow 上非常活跃,所以也许他会插话。
You probably already know this, but if you go to Site Settings -> Search Visibility you will see a section stating:
If you choose "Always index all ASPX pages on this site" it should index the content in your web part, but only as the crawler sees it, so security trimming would not apply. It is basically a web crawl and not a SharePoint content crawl.
I know you said WSS, but in MOSS you might be able to take this one step further if the above did not work out and use a web site search on your SharePoint site. I have done plenty of web site searches (it does not work perfectly), but have not tried to explicitly do a web site search on a SharePoint site so I'm not certain this will work.
Lars (who co-wrote "Inside the Index and Search Engines: MOSS 2007") is pretty active on StackOverflow so maybe he'll chime in.
同样在 MOSS 中:让您显示的数据也可以作为其他站点中的 Web 服务/页面使用。在 Moss 中,您可以添加要包含在搜索结果中的联合搜索位置。
Also in MOSS: Have the data you are displaying available as for instance a web service / page in a different site also. In Moss you can add Federated Search locations to be included in the Search results.