indexer, rest: allow to filter on any resource attribute

Change-Id: I5b0a12e15df29a9824a5e0a94f7e2f0d05da1a5e
Merge "indexer, rest: allow to filter on any resource attribute"