Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Smart Search ContentDocument field View modes: 
User avatar
Member
Member
robert-tailor.co - 10/2/2012 10:50:11 PM
   
Smart Search ContentDocument field
Hi,

I have a document type with multiple fields. I have set each of these fields to be searchable by Smart Search.

When I do a search, the 'Content' field (i.e. the excerpt of text showing the matching keyword) in the search results is blank.

The Search Fields tab on the Document Type allows me to select a 'Content Field'. It is currently set to 'DocumentContent'.

What is 'DocumentContent'? According to the API documentation, DocumentContent is "Document content", which isn't very helpful.

I can set the Content Field to one of my document's many fields, but then it means the contents of the other fields will not be displayed in the search results.

Is that how it's supposed to work?
Can I select a field that contains the combined content of all searchable fields?
What do all the other Document* fields mean?

Thanks.

(Sorry - duplicated in http://devnet.kentico.com/Forums/f57/t31876/Smart-Search-ContentDocument-field.aspx. Please close that one.)

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 10/9/2012 3:46:57 AM
   
RE:Smart Search ContentDocument field
Hi,

When the fields of a document type are marked as "Searchable", it can be also said that you can filter the documents with those values.

If you wish to get the content of some fields to the Content field of a search result, such fields should be marked as "Content" (first checkboxes column).

The DocumentContent is actually an XML structure, where the content of Editable regions (editable text, image, etc...) for a given document is stored.

Which Document* fields in particular do you mean?

Should you need any additional details, please feel free to ask.

Regards,
Zdenek

User avatar
Member
Member
robert-tailor.co - 10/9/2012 3:53:38 PM
   
RE:Smart Search ContentDocument field
kentico_zdenekc wrote: Which Document* fields in particular do you mean?

Should you need any additional details, please feel free to ask.

Regards,
Zdenek

Thanks Zdenek,

There's also the 'DocumentCustomData' field. What does that do?

Rob.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/9/2012 10:47:34 PM
   
RE:Smart Search ContentDocument field
Hi,

It is a content for a custom data - it is a system field and it is not used in the UI anywhere unless you set so. You do not need to worry about it - as well as for the other system fields.

Best regards,
Juraj Ondrus