Print

Print


Thanks for the pointer Ralph. Just as an aside, I was trying to use the OCLC
CVS repository to check out the SRW/U code...but I wasn't able to figure out
what the project name was. I was able to checkout 'pears' fine like this.

        % cvs -d:pserver:[log in to unmask]:/home/CVS/pears/cvsroot
login
        % cvs -d:pserver:[log in to unmask]:/home/CVS/pears/cvsroot
co pears

//Ed

-----Original Message-----
From: Z39.50 Next-Generation Initiative [mailto:[log in to unmask]] On Behalf Of
LeVan,Ralph
Sent: Thursday, July 08, 2004 9:00 AM
To: [log in to unmask]
Subject: Re: cql => lucene

All the Lucene code is centralized in
ORG.oclc.os.SRW.SRWLuceneDatabase.java.

It is VERY hard-coded for the DSpace indexes.  If you figure out how to get
that information dynamically, I'd love to hear about it.

Let me know if I can do anything to help.

Ralph

> -----Original Message-----
> From: Summers, Ed (FSC) [mailto:[log in to unmask]]
> Sent: Thursday, July 08, 2004 10:23 AM
> To: [log in to unmask]
> Subject: cql => lucene
>
> After a bit of googling I ran across some DSpace meeting notes [1] which
> mention that OCLC has some code to map CQL queries to Lucene queries. I
> downloaded srw-1.1.1 [2] but haven't dug into it yet and was wondering if
> I
> could get some guidance about where I could find the relevant code, and
> the
> difficulties (if any) in doing the mapping.
>
> I see on the CQL-Java page that Ralph is singing the praises of Mike's CQL
> parser, so I'm guessing this has something to do with it :-) Any guidance
> would be appreciated.
>
> Just as some background, I'm working on a single component in the Ockham
> Project which aims to provide an alerting service for OAI-PMH accessible
> repositories. At Eric Morgan's suggestion we're looking at using SRU
> (hence
> CQL) as one of the core protocols.
>
> //Ed
>
> [1] http://wiki.dspace.org/index.php/MikeSimpsonNotesDuringConference
> [2] http://www.oclc.org/research/software/srw/default.htm