new version of cql-ruby

cql-ruby is a ruby gem for parsing CQL, and serializing parse trees back to CQL, to xCQL, or to a solr query.

A new version has been released, 0.8.0, available from gem update/install. “gem install cql-ruby”.

The new version improves greatly on the #to_solr serialization as a solr query, providing support for translation from more CQL relations than
previously, fixing a couple bugs, and making #to_solr raise appropriate exceptions if you try to convert CQL that is not supported for
#to_solr. See:

That’s the only change from the previous version, improved #to_solr.

I wrote the improved #to_solr, Chick Markley wrote the original cql-ruby gem, which was a port of the Java CQL parsing code by Mike Taylor. Ain’t open source grand?

The reason I’m working on this is to provide cql query input to Blacklight, so I can have an “api” to Blacklight (cql in, atom out) that can be used by Umlaut. Making that work well in Blacklight takes a few steps beyond what cql-ruby to_solr does, but I’m nearly done with that too, more news as warranted.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s