From c6860bd2b0d52f5f53dd01f0f1857f5d310108ba Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 11 Nov 1996 13:14:15 +0000 Subject: [PATCH] Added doc about proximity in PQF. --- CHANGELOG | 2 ++ README | 23 +++++++++++++++-------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 77f398d..e34f2d9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ Possible compatibility problems with earlier versions marked with '*'. +Proximity operator added to Prefix Query Format (PQF). + In test client command "base" accepts multiple databases. Fixed bug in cs_close stack that caused trouble with WINSOCK. diff --git a/README b/README index 8096b34..d144894 100644 --- a/README +++ b/README @@ -35,14 +35,21 @@ Use '?' to get a list of the available commands. The current query language is a bit awkward, but functional: -query ::= ['@attrset' ] rpn -rpn ::= complex | simple | attr rpn -complex ::= operator rpn rpn -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.: -- 1.7.10.4