Sample Query 4

Query:
Max hits:
Sort Results By:
Show:


Notes

  1. Note the hidden field, which restricts the searches to a single subdirectory tree. To the user, it looks like a general query, and the user doesn't get asked if he wants this restriction or not.
  2. The variable s_maxhits is set in a select box. This sets the maximum number of returned hits.
  3. The variable s_sortby is set in a select box. This determines the ordering of the returned hits. As of this writing, the only three possible values are as show, ALPHA, DATE, and SCORE. If nothing is specified, SCORE is used.
  4. The variable s_resultsby is set in a select box. This determins what information (i.e. search fields) are displayed for each returned hit. The special value ALL can be used, or the actual fields can be listed in a comma-delimited list, such as "title,last-modified" If you do list the fields, it is obviously important to know the actual names of the fields. If you do a s_resultsby=ALL, then you will see the names of all the fields displayed for each returned hit.