---
name: "Catmandu::CQLSearchable"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::CQLSearchable"
---

# Catmandu::CQLSearchable(3pm)

Optional role for CQL searchable stores

## NAME

Catmandu::CQLSearchable - Optional role for CQL searchable stores

## SYNOPSIS

```
    my $hits  = $store->bag->search(
           cql_query => 'keyword any dna',
           sru_sortkeys  => 'title,,0',
           limit => 100,
    );
```

## METHODS

### search(cql\_query =\> $cql, sru\_sortkeys =\> $sort, ...)

This method behaves exactly like the `"search"` method in Catmandu::Searchable but with extra `"cql_query"` and `"sru_sortkeys"` arguments.

### searcher(cql\_query =\> $cql, sru\_sortkeys =\> $sort, ...)

This method behaves exactly like the `"searcher"` method in Catmandu::Searchable but with extra `"cql_query"` and `"sru_sortkeys"` arguments.

### delete\_by\_query(cql\_query =\> $cql, ...)

This method behaves exactly like the `"delete_by_query"` method in Catmandu::Searchable but with an extra `"cql_query"` argument.

## SEE ALSO

Catmandu::Searchable
