> -----Original Message-----
> From: Z39.50 Next-Generation Initiative [mailto:[log in to unmask]] On Behalf
Of
> Dr Robert Sanderson
> Sent: Thursday, March 10, 2005 3:45 PM
>
> But when we went to search for the title index from the
> DC context set, we ran into trouble.
>
> One way to do this is:
>
> zeerex.set exact "info:srw/context-set/1/dc-v1.1"
> prox/distance=0/unit=element
> zeerex.index exact "title"
Ick.
That is exactly the right way to do it. With some work, I might even be
able to support it, assuming the CQL parser can handle it.
The way I typically handle this is to create an artificial index that
combines the two fields so you could do a search like:
Ralph.setAndIndex exact "info:srw/context-set/1/dc-v1.1:title"
That's because it is trivial for me to combine fields in my indexing
rules. I don't expect anyone else to do it and only mention it in case
it stimulates a better idea from someone else.
Ralph
|