projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a41d7a
)
Introduced new prefix query features.
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Mar 1996 16:10:53 +0000
(16:10 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Mar 1996 16:10:53 +0000
(16:10 +0000)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index
47bf2a4
..
5079588
100644
(file)
--- a/
README
+++ b/
README
@@
-35,13
+35,14
@@
Use '?' to get a list of the available commands.
The current query language is a bit awkward, but functional:
The current query language is a bit awkward, but functional:
-query ::= complex | simple | attr query.
-complex ::= operator query query.
+query ::= ['@attrset' <attribute-set>] rpn
+rpn ::= complex | simple | attr rpn
+complex ::= operator rpn rpn
operator ::= '@and' | '@or' | '@not'.
simple ::= term | set.
term ::= <word> | '"' <term> ... '"'.
set ::= '@set' <setname>.
operator ::= '@and' | '@or' | '@not'.
simple ::= term | set.
term ::= <word> | '"' <term> ... '"'.
set ::= '@set' <setname>.
-attr ::= '@attr' <number> '=' <number>.
+attr ::= '@attr' [<attribute-set>] <number> '=' <number>.
Eg.:
Eg.:
@@
-51,6
+52,8
@@
Andersen
@and @attr 1=1 andersen @attr 1=4 @attr 4=2 duckling
@and @attr 1=1 andersen @attr 1=4 @attr 4=2 duckling
+@attrset Bib-1 @and @attr GILS 2=2008 Washington @attr 1=21 weather
+
The directories:
doc - Documentation.
The directories:
doc - Documentation.