Elastic Search Autocomplete with filtering

I am trying to combine it with the query or a filter with suggester, so
that suggestions are returned only for the hits. Is it possible to
constraint autcomplete (or any suggester for that matter) to work on a
subset of data. E.g. I've got some users with associated documents and I
want to serve them document title suggestions but only for the documents
they can access. I have been searching for this in google and i only see
an option of category filtering which is not helpful in my case. If i have to
use category, then i have to add lots of categories for each document which
is not possible. Please let me know if it is possible to achieve this.