There are three required fields: title, summary, and contents.
Here are the required fields for the solution document specification:
<title xml:space="preserve"><path>title</path></title>
<summary xml:space="preserve"><path>description</path></summary>
<contents>
<path>id_number</path>
<path>title</path>
<path>description</path>
<path>probdesc2workaround:description</path>
</contents>
The title and summary fields will always be returned with search results. Depending on how you are displaying search results the formatting of the title and summary fields may be important. Notice the xml:space attribute which tells the XML parser to preserve the whitespace of the title and summary field specifications.
The content field is very important as it is the default field used when searching your index. The contents field should contain all details about an entity that you wish to be searchable by default. The data indexed for the content field is not stored in your search index as it can get quite large and is not intended to be displayed to the search user.
Note: When using a Clarify view as the basis of a document specification field paths cannot traverse relations.
See Also |
Next |