# jina.drivers.querylang.filter¶

class jina.drivers.querylang.filter.FilterQL(lookups, *args, **kwargs)[source]

Filters incoming docs by evaluating a series of lookup rules.

This is often useful when the proceeding Pods require only a signal, not the full message.

Example :: - !FilterQL

with:

lookups: {modality: mode2}

• !EncodeDriver
with:

method: encode

ensures that the EncodeDriver will only get documents which modality field value is mode2 by filtering those documents at the specific levels that do not comply with this condition