All the Lucene code is centralized in
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.
> -----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  which
> mention that OCLC has some code to map CQL queries to Lucene queries. I
> downloaded srw-1.1.1  but haven't dug into it yet and was wondering if
> could get some guidance about where I could find the relevant code, and
> 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
> CQL) as one of the core protocols.
>  http://wiki.dspace.org/index.php/MikeSimpsonNotesDuringConference
>  http://www.oclc.org/research/software/srw/default.htm