Yes the db filter is accecpting only database elements which can be deployed - **tables only, no views**,  The script will be executed with the -d pattern db filter from the database deploy hook. the whole query from the source section in sphinx config will be analyzed in postgres with 
```
EXPLAIN VEBOSE <<SQLQUERY>>>
```
The result os this process is always a list of tables from the database.
I have added an index filter in the latest release, so you can update certain indexes with an index pattern.

in that case the following command would update this index:
```
 python pg2sphinx_trigger.py -i ch_swisstopo_pixelkarte-pk100 -c update
```