X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=README;h=42da23a57570b8bfaeec1185b3f91d16b18c7521;hp=47bf2a4d5716ba7fe9ff81756ed47a42d813a221;hb=e8ed2e5014d3ed2970406747c7913aa5438972db;hpb=77fe8ea4a114c45e899a63ccfe767ce0dff722a0 diff --git a/README b/README index 47bf2a4..42da23a 100644 --- 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 ::= | '"' ... '"'. -set ::= '@set' . -attr ::= '@attr' '=' . +query ::= ['@attrset' ] rpn +rpn ::= complex | simple | attr rpn +complex ::= operator rpn rpn +operator ::= '@and' | '@or' | '@not' | '@prox' proximity +simple ::= term | set. +term ::= | '"' ... '"'. +set ::= '@set' . +attr ::= '@attr' [] '=' . +proximity ::= exclusion distance ordered relation which unit +exclusion ::= '1' | '0' | 'void' +distance ::= +ordered ::= '1' | '0' +relation ::= +which ::= 'known' | 'private' +unit ::= 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.