You use go_query
to trigger the search process.
To do so, you have to specify a field with fld_Fieldname=Value
(or multiple fields) and/or a full text query with fulltext=value
.
You use searchmode=xxx
to determine the type of query. You have the following options for this:
searchmode=new
for a completely new query
searchmode=or
for extending the search query (or)
searchmode=and
for extending the search query (and)
Throughout the entire query, you can specify whether you want the system to use wildcards for the search or not. If you use jokerstart=1
, a wildcard is used at the start of the field and if you use jokerend=1
, a wildcard is used at the end of the field. The required values merely have to be somewhere within the field you require for both of these options.
The following example illustrates the search process:
http://localhost/perl/avclient/index.pl? go_query&searchmode=new& fld_title=Meier&fulltext=vacuumcleaner& jokerstart=1&jokerend=1
When you start a new search query, this query searches the title field for 'Meier' with the additional prerequisite that the word 'vacuumcleaner' also has to occur in the full text. Wildcards are used at the start and end of fields meaning that all 'Meierhans' and 'Hansmeier' entries are also found.