freeWAIS-sf Query Syntax

How can you make a search query ?
---------------------------------
QUERY SYNTAX:
------------
query -> expression
expression -> term
expression OR term
expression term # OR may be ommited
term -> factor
term AND factor
term NOT factor # NOT really means
# AND NOT
factor -> word
( expression )
field = ( s_expression )
field = word
field = phonix|soundex word # phonix or soundex search
field == word # for numeric fields
field < word
field > word
# same as above, but no field spec is allowed, since one is
# given already
s_expression -> s_term
s_expression OR s_term
s_expression s_term
s_term -> s_factor
s_term AND s_factor
s_term NOT s_factor
s_factor -> WORD
( s_expression )
QUERY EXAMPLES:
----------------
factorization regression # free text queries
factorization OR regression # same as above
factorization AND regression # both words present
title=(factorization regression) # one of them in the title field
title=(factorization AND regression) # both of them in the title field
for=(regression NOT factorization) # "regression" in for field
# and "factorization" not in
# for field
'singular value decomposition' # literal search
eigen* # partial searches
gams=d4c*