Note: This documentation is for an old version of Webinator. The latest documentaion is here.

Additional Fields

 

Syntax: Name, Type, Searchable, Sortable, Output

The additional fields allow you to add up to three additional fields to the index. These fields can be included in the output if you use the XSL or XML output, sorted on, and searched on. They are populated with the Data from Field (p.  here) settings.

Additional Fields are supported in the full Texis product, but not Webinator-only.

Name - specifies the name of the additional field. It also specifies element that will hold the field contents if it is output in XML. The name must be a valid XML element name (may contain only alnum or -_ and must start with a letter or _)

Type - specifies the internal storage type for the additional field. Anything can be stored as Text, but if you want to do numeric or date comparisons (such as sorting), you have to use an appropriate data type.

Searchable - specifies whether this additional field is directly searchable. This is done with an additional URL parameter that is separate from the normal query. Please see the Additional Fields section of Procedures and Examples, here, for more details.

Sortable - specifies whether you allow sorting by this additional field. This is done with the order search parameter. Please see the Additional Fields section of Procedures and Examples, here, for more details.

Output - specifies whether this field should be included with the output for XML results. Note that this ONLY refers to XML output, none of the 'stock' result styles will include additional fields. If you want an additional field to show up in your search results, you must set Output to Y for the field, use XSL Stylesheet result style, and customize the stylesheet to display the element for the Additional Field.


Copyright © Thunderstone Software     Last updated: Thu Dec 22 14:38:01 EST 2011
Copyright © 2024 Thunderstone Software LLC. All rights reserved.