Input forms have a double role. They determine what fields are displayed to the user (what HTML form is presented), and they determine how the parameters entered by the user have to be interpreted.
Consequently, when using query-meta, there are two important variables regarding the forms:
It is important to understand the rationale behind these two variables. When a user switches from an advanced form to a simple form, the form used to interpret the query (the advanced form) is different from the form displayed to the user. In particular, Watson Explorer Engine will need to properly convert the query from one form to the other if possible.
Elements that you can add to an input form are the following:
Note that from Watson Explorer Engine's standpoint, radio buttons and check boxes (represented in HTML as input tags) are considered to be select elements because they have the same functionality.
<input name="query" word-chars="'" syntax="AND and () CONTAINING CONTENT %field%: + NEAR - NOT NOTCONTAINING NOTWITHIN OR0 quotes regex stem THRU BEFORE FOLLOWEDBY weight wildcard WITHIN WORDS site less-than less-than-or-equal greater-than greater-than-or-equal equal range" field="query" size="50" />
See the schema for a complete specification of forms. For information on fields, click Fields.