【发布时间】:2016-10-02 14:15:47
【问题描述】:
如何从 Sitecore Lucene 搜索中获取格式化的 url?我创建了一个自定义索引,并在根目录下将其更新为 /sitecore/content/websitename/home。
检索到搜索结果时,URL 会附加https://hostname/websitename/home/sample.aspx。我希望网址为https://hostname/sample.aspx。索引配置中是否有任何设置需要更新?
在 sites.config 中我已经有了 rootPath="/sitecore/content/websitename" startItem="/home"
【问题讨论】:
标签: search lucene sitecore sitecore8