indexer: allow to filter by user_id

Change-Id: Ib8163c3dc3d28e8cd0217efd2277a51bb763e1fa