Re: Attribute Resolver

On Wed, Oct 17, 2001 at 12:13:09PM +0100, Robert Sanderson wrote:
> 
> Is there a program, or preferably an accessable CGI script, that takes a
> description of an index and turns it into the appropriate attributes?
> 
> For example, you feed in:
>     'Exact Full Title'
> and get back:
>     '1=4 5=100 6=3'
> 
> Obviously this is pretty dependent on how the index is described, but with
> a guide to terminology I think this would be useful?  Has anyone done
> something like this already?
> 
> Rob

Its probably not that useful to you, but we have a CCL to RPN conversion
library in C++. The reason its probably not useful is that its a part
of a commercial package and I am afraid we are not in the habit of
giving our software source code away for free :-)

But I am curious about where you intend to get the information from
which relates 'Exact Full Title' to '1=4 5=100 6=3'. Using Explain?
Using a local hard coded table? We had so much trouble with the
existing Explain categories that we introduced a new private
Explain category to do it properly (hence my interest).

For example, you could use Explain attribute sets and look for a name
in the USE attributes, but this would not give you a combination
(it would give you 1=4 but not the others). You could instead look
in the term list info which is better. It will give you attribute
lists. However, some systems support 'exact match' and 'right truncate'
using the same term list. So you wont find names of 'Exact Full Title'
and 'Right Truncate Full Title'. You would probably only find the
first as a term list. (This was the main reason we introduced a
new explain category).

Of course, using explain, you need to be connected to a Z39.50 server!

Anyway, I hope this is what you were asking about! :-)

Alan

Received on Wednesday, 17 October 2001 20:29:09 UTC