Can I create a query with multiple filter?

Hi all!

Can I create a query with multiple filter?

In my documents i have 2 fields: switch-host and port

I want get result with multiple filter. Like:

  1. switch-host = host1 and ports = port1,port2,port3
  2. switch-host = host8 and ports = port56,port32, port14

Can i do this?

Help me please

Thank you advance!