Windows Search 相当于索引服务“vpath”和“特征”

发布于 2024-10-25 16:31:23 字数 550 浏览 3 评论 0原文

上的网站移动

  • 我正在尝试将Windows 2003
  • IIS 6
  • 索引服务

到:

  • Windows 2008< /strong>、
  • IIS 7
  • Windows 搜索

Windows 搜索给我带来了问题。我已经设置了 Windows 搜索来索引包含该站点的物理文件夹,并且可以查询文件名,但是 vpathcharacteristic 的新等效项是什么?

这些似乎都不是答案。

I'm trying to move a website that was on:

  • Windows 2003,
  • IIS 6, and
  • Indexing Services

to:

  • Windows 2008,
  • IIS 7, and
  • Windows Search

It's Windows Search that's giving me a problem. I've set up a Windows Search to index the physical folder that contains the site, and I can query for file names, but what is the new equivalent of vpath and characterization?

None of these seem to be the answer.

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

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

发布评论

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

评论(2

倒带 2024-11-01 16:31:24

从索引服务查询“目录”、“文件名”属性。然后,使用 ASP Classic / VbScript,用 RS 表示记录集:

Function MapURL( Path )
' opposite of server.mappath - takes a filesystem path and turns it into a url
     Dim AppPath
     AppPath = Server.MapPath("/")
     path =  Replace(path,apppath,"",1,-1,1)
     path =  Replace(path,"\","/",1,-1,1)
     MapURL = path
End Function

Dim vpath
do while not rs.EOF
   vpath = rs("directory")  & "/" &  rs("filename")
   response.write MapURL(vpath)
   rs.movenext
loop

基于 http://geekswithblogs.net/AlsLog/archive/2006/08/03/87032.aspx

Query the "directory","filename" properties from the Indexing Service. Then, using ASP Classic / VbScript, with RS representing a recordset:

Function MapURL( Path )
' opposite of server.mappath - takes a filesystem path and turns it into a url
     Dim AppPath
     AppPath = Server.MapPath("/")
     path =  Replace(path,apppath,"",1,-1,1)
     path =  Replace(path,"\","/",1,-1,1)
     MapURL = path
End Function

Dim vpath
do while not rs.EOF
   vpath = rs("directory")  & "/" &  rs("filename")
   response.write MapURL(vpath)
   rs.movenext
loop

Based on ASP.NET code from http://geekswithblogs.net/AlsLog/archive/2006/08/03/87032.aspx

樱花坊 2024-11-01 16:31:23

描述 = System.Search.AutoSummary

参考

characterization = System.Search.AutoSummary

Reference

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