【发布时间】:2013-11-04 12:23:18
【问题描述】:
我创建了一个索引字段来从 Sitecore 中的项目获取/索引图像字段。 但是,索引返回图像的替代文本,但这不是很有用..
我已经尝试在 Lucene 索引配置中添加这一行
<field fieldName="restaurant_image" storageType="YES" indexType="TOKENIZED" vectorType="NO" boost="1f" type="System.String" settingType="Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider" />
我需要获取图像路径、图像 ID 或图像标签,但我不知道如何执行此操作..
任何帮助将不胜感激。
【问题讨论】:
-
什么版本的 Sitecore?这将定义它是动态字段还是计算字段。
标签: image indexing lucene sitecore sitecore7