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
|