Changed header.
[yaz-moved-to-github.git] / README
diff --git a/README b/README
index 47bf2a4..42da23a 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
- * Copyright (C) 1995, Index Data.
+ * Copyright (C) 1995-1997, Index Data.
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
 
@@ -35,13 +35,21 @@ Use '?' to get a list of the available commands.
 
 The current query language is a bit awkward, but functional:
 
-query    ::= complex | simple | attr query.
-complex  ::= operator query query.
-operator ::= '@and' | '@or' | '@not'.
-simple   ::= term | set.
-term     ::= <word> | '"' <term> ... '"'.
-set      ::= '@set' <setname>.
-attr     ::= '@attr' <number> '=' <number>.
+query     ::= ['@attrset' <attribute-set>] rpn
+rpn       ::= complex | simple | attr rpn
+complex   ::= operator rpn rpn
+operator  ::= '@and' | '@or' | '@not' | '@prox' proximity
+simple    ::= term | set.
+term      ::= <word> | '"' <term> ... '"'.
+set       ::= '@set' <setname>.
+attr      ::= '@attr' [<attribute-set>] <number> '=' <number>.
+proximity ::= exclusion distance ordered relation which unit
+exclusion ::= '1' | '0' | 'void'
+distance  ::= <number>
+ordered   ::= '1' | '0'
+relation  ::= <number>
+which     ::= 'known' | 'private'
+unit      ::= <number>
 
 Eg.:
 
@@ -51,6 +59,8 @@ Andersen
 
 @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.