Catmandu::Store::Solr::CQL3pm
Converts a cql query string to a solr query string
Usage
$solr_query_string = Catmandu::Store::Solr::CQL->parse($cql_query_string);
Overview
This package currently parses most of CQL 1.1:
andornotproxprox/distance<$nsrw.allRecordssrw.serverChoicesrw.anywherecql.allRecordscql.serverChoicecql.anywhere=scr=/fuzzyscr/fuzzy<><=>=<>exactallanywithin
Methods
parse
Parses the given CQL query string with CQL::Parser and converts it to a Solr query string.
visit
Converts the given CQL::Node to a Solr query string.
Todo
support cql 1.2, more modifiers (esp. masked), sortBy, encloses
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).