Reputation: 2047
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 within 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.
Upvotes: 2
Views: 454
Reputation: 11442
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>
Upvotes: 1