开发者

Including an Item's Fields in Sitecore Search

I have a (Lucene) search control which retrieves items from Sitecore's master database if the item's name matches a term passed in.

However I also want the search to include the item's fields, such that if the search term matches 开发者_如何学Gowithin the item's field, the item is returned. How can this be done?

N.B. The item and its fields are displayed on a page within the site, however the search does not match this either.


If the text you are searching for is held in a Single-Line Text field, it may be necessary to add the following into your web.config file under configuration\sitecore\indexes\index\fields :

<type storage="unstored" stripTags="true">single-line text</type>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜