Re: QUIPU search at root base level

Andrew.Findlay@brunel.ac.uk Tue, 26 September 1995 15:53 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa11310; 26 Sep 95 11:53 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa11306; 26 Sep 95 11:53 EDT
Received: from haig.cs.ucl.ac.uk by CNRI.Reston.VA.US id aa13272; 26 Sep 95 11:53 EDT
Received: from bells.cs.ucl.ac.uk by haig.cs.ucl.ac.uk with local SMTP id <g.01733-0@haig.cs.ucl.ac.uk>; Tue, 26 Sep 1995 09:18:42 +0100
Received: from 134.83.128.62 by bells.cs.ucl.ac.uk with Internet SMTP id <g.04878-0@bells.cs.ucl.ac.uk>; Tue, 26 Sep 1995 09:18:36 +0100
Received: from babbage.brunel.ac.uk by sirius.brunel.ac.uk with SMTP (PP) id <06045-0@sirius.brunel.ac.uk>; Tue, 26 Sep 1995 09:17:12 +0100
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Andrew.Findlay@brunel.ac.uk
Message-Id: <24753.9509260817@babbage.brunel.ac.uk>
Subject: Re: QUIPU search at root base level
To: Stefan Thatcher <jst10@octacon.co.uk>
Date: Tue, 26 Sep 1995 09:17:05 +0100 (BST)
Cc: osi-ds@cs.ucl.ac.uk
In-Reply-To: <Pine.3.07:930517.9509251003.A1550-a100000@potato> from "Stefan Thatcher" at Sep 25, 95 10:50:03 am
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

>	I'm running an isolated development DIT consisting of root and half a
>dozen countries.  I can search below individual country levels OK :-) but
>occasionally I need to search all countries, ie below root, and I can't figure
>out how to do this :-(	 Any guidance on this would be greatly appreciated.

Depends on just what you want to do. A simple search *of* countries
might look like this (dish syntax):

search @ -filter c=no

Remember that `c=' values are always ISO 3166 two-letter country codes
so `c=england' will never match. Another attribute is available for
that sort of search, but it is not part of the base standard:

search @ -filter friendlyCountryName=england

If on the other hand you wanted to do a *subtree* search of the whole
world then Quipu would rather you stopped and thought about what this
might do! In your current case where you have the `world' in one DSA
it could be done, but in the general case it is completely
unreasonable to impose your search on every DSA in the world. A DSA
manager can do such a search anyway, but other users are constrained
by the Quipu tailoring variable `searchlevel' which is normally set to 2
- indicating that no subtree searches are permitted in the top two
levels of the DIT (normally root and countries).

It is possible to give a user the impression of a global tree search
provided you have enough input data to narrow the search down by a
series of DAP operations, using the output of each to guide the next.
See Steve Kille's RFC on User-Friendly Naming for some ideas, and
point your favourite Web browser at our gateway to try an
implementation:

	http://http1.brunel.ac.uk:8080/wlu.html

Andrew

----------------------------------------------------------------------------
|      From Andrew Findlay at Brunel University, Uxbridge, UB8 3PH, UK     |
| Andrew.Findlay@brunel.ac.uk     +44 1895 203066 or +44 1895 274000 x2512 |
----------------------------------------------------------------------------