Infix Notation Queries
- An Infix-notations sentence is constructed as
- ( <Infix-Term1> <Op1> <Infix-Term2> )
Infix Notation Terms are
- Terms with an optional postfix unary operator and/or
an
optional field specification prefix:
[<Field
Name>/]<Term>[<PostfixTermOp>][:<Weight>]
- Valid Infix sentences, grouped with ( and ).
A Term is
- A word
- A literal phrase enclosed in " marks.
Postfix TermOps currently supported are:
- * := Right Truncated match.
- ~ := Phoenetic match.
- = := Case Dependant match.
- *= := Case Dependant Right Truncated match.
A weight is a non-zero integer value
- Positive := the larger, the more relevant.
- Negative := the larger, the less relevant.
Binary Operators currently supported are:
- Or := Union (alternatively specified as ||)
- And := Intersection (alternatively specified as
&&)
- AndNot := Complement (alternatively specified as
!!)
- Xor := Exclusive Union (alternatively specified as
^^)
- Near:= Proximity (alternatively specified as .#.)
- Before:= Ordered Proximity (alternatively specified as
.#)
- After:= Ordered Proximity (alternatively specified as
#.)
- Adj:= Adjacent Proximity (alternatively specified as
##)
- The following special operators:
- A Nor B:= NOT (A OR B)
- A Xnor B:= NOT (A XOR B)
- A Nand B:= NOT (A AND B)
Examples:
- (dog and cat) := Search for records containing both
"dog" and "cat"
- (dog:3 or cat) := Search for records containing either
"dog" or "cat"
but consider the term "dog" to be 3 times as relevant to the search
as the term "cat".
- (title/dog and subject/cat)
:= Search for records containing both "dog" within the title field
and "cat" within the subject field.
- (subject/molecular near biology)
:= Search for records containing "molecular" within the subject
field in the proximity of "biology".
- (abstract/"short subject" and title/"In the hotel")
:= Search for records containing the both the phrase "short subject"
within the
abstract field and the phrase "In the hotel" in the title
field.
See also: RPN Queries
© Copyright 1995,1996 BSn Basis Systeme
netzwerk, Brecherspitzstr. 8, 81541 München, Germany